Skip to content

Traffic API

GET Traffic Markets

The Traffic Markets Request returns a structured list of regions, or "markets", for which MapQuest provides Traffic data. The list is available in JSON or XML formats.

Resource URL

Resource Information

Response FormatsJSON, XML
AuthenticationYes (Requires Key)
Rate LimitedYes

Request Parameters

Request ParameterDescriptionRequired
keyThe API Key, which is needed to make requests to MapQuest services.yes
outFormatSpecifies the format of the response. Must be one of the following, if supplied:
  • json
  • xml
Example: XML response
no, defaults to json
callbackA JavaScript function name. The JSON-formatted response will be wrapped in a call to the supplied callback function name to provide JSONP functionality. This functionality might be needed to do cross-site scripting. See the entry for JSON for more details.

Example: Callback

Example Request


Example Response

  "markets": [
      "boundingBox": {
        "ul": {
          "lng": -82.110762,
          "lat": 41.359286
        "lr": {
          "lng": -80.926346,
          "lat": 40.803517
      "mqURL": "",
      "zoom": 7,
      "state": "OH",
      "lng": -81.519202,
      "lat": 41.081401,
      "iconURL": "",
      "city": "Akron / Canton"
  "info": {
    "copyright": {
      "text": "© 2023 MapQuest, Inc.",
      "imageUrl": "",
      "imageAltText": "© 2023 MapQuest, Inc."
    "statuscode": 0,
    "messages": []
            <city>Akron / Canton</city>
            <imageAltText>© 2023 MapQuest, Inc.</imageAltText>
            <text>© 2023 MapQuest, Inc.</text>