Directions Web Service
The MapQuest Platform: Directions Web Service allows you to access MapQuest direction data directly over HTTP without having to go through a language-specific SDK. Requests can be submitted as Key-Value pairs, JSON, XML and more. Responses do not have to match the request-type; mix-and-match to fit your development needs.
Directions Web Service Resources
- Directions Web Service Documentation
- Instructions, code samples, and demos all combined in easy-to-follow, easy-to-use documentation.
- Directions Web Service Forums
- Discuss and collaborate with other Directions Web Service developers.
Features
- Routing
- Using single-line addresses or lat/lngs, request a multi-point route for up to 50 locations. receive maneuver narratives, road shield images, turn direction images, street names, static maneuver maps, route shapes in raw or compressed lat/lng formats, set options to avoid ferries, highways, toll roads, or even down to avoiding specific links in the road network. Ask for the route as shortest, fastest or pedestrian.
- Optimized Routing
- All the power of the routing function, plus we'll re-order the stops for you to provide the most efficient route to get to all your stops. Great for planning out the best way to get round multiple places you need to visit in a single journey.
- Route Matrix
- This function calculates the time and distance:
- From one point to a group of other points
- From all points in a group to all the other points in the group
The results include the time and distance going both ways along the route between each pair of points. - Route Shape
- Route Shape requests allow you to quickly retrieve the shape from a previous route request, without having to send another Route request.
- Drag Route
- Drag Route requests are variants of simple Route requests. Drag Route requests allow a route to be recalculated "on the fly," by quickly inserting a new Location into the list of existing Locations.