Traffic API

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 Formats JSON, XML
Authentication Yes (Requires Key)
Rate Limited Yes

Request Parameters

  • key required

    The API Key, which is needed to make requests to MapQuest services.

  • outFormat optional, defaults to json

    Specifies the format of the response. Must be one of the following, if supplied:

    • json
    • xml
    Example: XML response


  • callback optional

    A 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": "© 2024 MapQuest, Inc.",
      "imageUrl": "",
      "imageAltText": "© 2024 MapQuest, Inc."
    "statuscode": 0,
    "messages": []
            <city>Akron / Canton</city>
            <imageAltText>© 2024 MapQuest, Inc.</imageAltText>
            <text>© 2024 MapQuest, Inc.</text>