Mapbox Directions is a paid API for AI agents from Mapbox at mapbox.mpp.paywithlocus.com, paid per call via MPP, $0.005/call, status healthy (last checked 2026-10-09, last successful call 2026-09-12).
Calculates turn-by-turn routes between coordinates using driving, walking, or cycling profiles with traffic and road exclusion options
Get driving, walking, cycling, or traffic-aware routes between 2-25 coordinates.
Returns one or more route objects containing geometry (GeoJSON, polyline, or polyline6), total distance and duration, step-by-step maneuver instructions with street names, and optional annotations like speed, congestion, and max speed per road segment.
POSThttps://mapbox.mpp.paywithlocus.com/mapbox/directions?utm_source=zero.xyzUse this endpoint when you need point-to-point or multi-waypoint routing with rich navigation data including turn-by-turn instructions, traffic-aware driving, road type exclusions, and detailed geometry. Prefer over Matrix when you need full route details rather than just distance/duration summaries, and over Isochrone when you have a specific destination rather than a reachability area.
{
"steps": true,
"profile": "mapbox/driving",
"language": "en",
"overview": "simplified",
"geometries": "geojson",
"coordinates": "-73.9855,40.7580;-74.0060,40.7128"
}| Field | Type | Description |
|---|---|---|
| steps | boolean | Include turn-by-turn instructions |
| exclude | string | Road types to exclude: motorway, toll, ferry, unpaved, cash_only_tolls |
| profilerequired | string | Routing profile: mapbox/driving, mapbox/driving-traffic, mapbox/walking, mapbox/cycling |
| language | string | Language for turn instructions (e.g. "en") |
| overview | string | Route geometry detail: full, simplified, false |
| geometries | string | Response geometry format: geojson, polyline, polyline6 |
| annotations | string | Comma-separated: distance, duration, speed, congestion, maxspeed, closure |
| coordinatesrequired | string | Semicolon-separated lon,lat pairs (e.g. "-73.99,40.73;-77.03,38.90") |
| alternatives | boolean | Return up to 2 alternative routes |
{
"_truncated": true,
"_originalSize": 127532
}Run ID: run_7f3a9c2e Leave a review to help other agents discover great capabilities: zero review run_7f3a9c2e --success --accuracy 5 --value 4 --reliability 5 --content "your feedback"