Hosted Data Object

The following table describes the parameters in a Hosted Data request. Mapquest hosts tables of points of interest for all over the world. To search these tables, use a Hosted Data request. Refer to the Data Sets section below. With a Mapquest account, you can also upload your custom data sets to your application key and search them using a Hosted Data request.

Name Description
name
String
The name of the data source to search
extraCriteria
String
The SQL Where clause to narrow down the data search
fields
String[]
The list of fields to return with each result, if the field list is blank then all fields are returned

Example

Examples of the Hosted Data Request which requests results with a city of Lancaster only. It will return the RecordId,Address1,Address2,City,State,Country, and Phone fields.

Type Example
Key/Value Pairs

hostedData=MQA.test,city='lancaster',RecordId,Address1,Address2,City,State,Country,Phone
JSON hostedDataList: [
   {
      name:"MQA.test",
      extraCiteria:"City like 'lancaster'",
      fields:[
         "Address1",
         "Address2",
         "City",
         "State",
         "Country",
         "Phone"
      ]
   }
]
XML <hostedDataList>
   <hostedData>
      <name>MQA.test</name>
      <extraCriteria>City like 'lancaster'</extraCriteria>
      <fields>
         <field>Address1</field>
         <field>Address2</field>
         <field>City</field>
         <field>State</field>
         <field>Country</field>
         <field>Phone</field>
      </fields>
   </hostedData>
</hostedDataList>

Data Sets

Name Description Developer Accounts Enterprise Accounts
MQA.test Small test database used for simple samples to help ensure we are getting correct responses. Free. Free.
MQA.NTPois Default dataset of around 2 million North American Points of Interest. Free. Free.
MQA.NTPoisCat This table has the category names for the NTPois table. It is used to look up category names, not to spatially search. For example, it could be used to create a drop-down list of POI categories to search on within the NTPois table. Free. Free.
MQA.NTEuPois Dataset containing European Points of Interest. Free. Free.
MQA.GeoTownsPois Database of city centers, used to find all the cities in a map area. Free. Free.
MQA.HotelFinder Database of FAKE hotels. Used in our HotelFinder application for demonstration of finding a large amount of hotels regardless of where you search. Free. Free.
MQA.NTAfrPois Dataset containing African Points of Interest. Free with request to support.
Contact Support
Free with request to support.
Contact Support
MQA.NTMexPois Dataset containing Mexican Points of Interest. Free with request to support.
Contact Support
Free with request to support.
Contact Support
MQA.NTMidEastPois Dataset containing Middle Eastern Points of Interest. Free with request to support.
Contact Support
Free with request to support.
Contact Support
MQA.NTPacPois Dataset containing Asian/Pacific Points of Interest. Free with request to support.
Contact Support
Free with request to support.
Contact Support
MQA.NTRusPois Dataset containing Russian Points of Interest. Free with request to support.
Contact Support
Free with request to support.
Contact Support
MQA.NTSAPois Dataset containing South American Points of Interest. Free with request to support.
Contact Support
Free with request to support.
Contact Support
MQA.PBLNA Premium Info USA Business Listings of North America. Free if moving to an Enterprise account.
Contact Support
Pay.
MQA.PBLNACat This table has the category names for the PBLNA table. It is used to look up category names, not to spatially search. For example, it could be used to create a drop-down list of POI categories to search on within the PBLNA table. Free. Free.
  © MapQuest, Inc. All rights reserved.    Privacy Policy | Terms of Use