MapQuest Traffic API

What is the Traffic API?

The Traffic API allows you to easily retrieve and display traffic flow and incidents for a given map area, including construction zones.

Get Started

What it can do for you

Route Knowledge

Let your users alter and choose routes based on current traffic conditions.

Keep Drivers in the Know

Quickly and easily retrieve and display traffic flow and incidents on a given map area.

Key Features

Traffic Overlay

Retrieve a transparent raster image of color-coded traffic flow to overlay on top of the road network to provide a color-coded visualization of current traffic speed conditions.

Incidents by Type

Filter incident by type (e.g. "Construction"), and receive type and location details, along with the appropriate icons.

Multiple Markets

Receive a list of our markets which have Traffic available with a simple call.

How it Looks

{
  "incidents": [
    {
      "fullDesc": "One lane closed due to maintenance work on California Street Eastbound between 18th Street and 19th Street.",
      "lng": -104.9886,
      "severity": 2,
      "shortDesc": "California Street E/B : Lane closed between 18th Street and 19th Street ",
      "endTime": "2013-08-02T01:59:00",
      "type": 1,
      "id": "330627538",
      "startTime": "2013-02-04T19:00:00",
      "impacting": true,
      "tmcs": [],
      "eventCode": 0,
      "iconURL": "http://api.mqcdn.com/mqtraffic/const_mod.png",
      "lat": 39.7481
    }
  ],
  "mqURL": "http://www.mapquest.com/maps?traffic=1&latitude=39.73976&longitude=-104.9848",
  "info": {
    "copyright": {
      "text": "2017 MapQuest, Inc.",
      "imageUrl": "http://api.mqcdn.com/res/mqlogo.gif",
      "imageAltText": "2017 MapQuest, Inc."
    },
    "statuscode": 0,
    "messages": []
  }
}

Try it before you buy it. See our APIs in action and get a better understanding of what they can do for you.

Try It Out

Access everything you need to know about each of our APIs and SDKs. From response codes to release notes, it’s all here.

Documentation

Connect and collaborate with a community of developers who are all on the same topic.

Forum

One subscription for all your geospatial needs