Mapbox Directions API
"The Mapbox Directions API will show you how to get where you're going." [1]
Mapbox Directions API is a REST routing service covering a global road network, supporting turn-by-turn navigation, ETA prediction, fleet and delivery routing, and EV route planning with charging stops across 40-plus countries, for profiles including driving, cycling, and walking. Pricing is usage-based at $2.00 per 1,000 requests after a free tier of 100,000 requests per month, with self-serve signup and an enterprise plan available. The API offers SDKs for iOS, Android, and JavaScript, holds SOC 2 Type 2 and GDPR certifications, and publishes an SLA.
Best for / Avoid if
Best for: Prototypes and side projects - free to start, no sales call; Regulated or enterprise workloads - compliance attestations and an enterprise plan; AI agents and automation - an agent-ready surface (MCP / llms.txt)
Scores
- 55 / 100Agent friendliness
- 100 / 100Pricing transparency
- 85 / 100Setup speed
- 45 / 100Docs quality
- 100 / 100Procurement ease
- 60 / 100Trust readiness
Pricing & procurement
- Pricing model
- Usage-based [2]
- Published pricing
- ✓ Yes [3]
- Free tier
- ✓ Yes [4]
- Free tier details
- Up to 100,000 requests/month free for the Directions API. Recurring monthly allowance with no expiry.
- Self-serve signup
- ✓ Yes
- Requires sales call
- ✗ No
- Enterprise plan
- ✓ Yes
| Plan | Item | Per | Amount | Source |
|---|---|---|---|---|
| Free | route requests | 100,000 requests/month | $0 | source |
| Pay-as-you-go | route requests | 1,000 requests (100,001–500,000/month) | $2 | source |
| Pay-as-you-go | route requests | 1,000 requests (500,001–1,000,000/month) | $1.6 | source |
| Pay-as-you-go | route requests | 1,000 requests (1,000,001–4,999,999/month) | $1.2 | source |
| Enterprise | route requests | 1,000 requests (5,000,000+/month, contact sales for discount) | - | source |
Capabilities
- Supported actions
- directions, route, eta [5]
- Regions
- Global road network coverage; driving-traffic profile availability varies by country/region; traffic data limited to supported geographies; inter-continental routes and routes through water bodies not supported; EV routing covers 40+ countries including US, Canada, EU, UK, Australia, New Zealand, Japan; profiles: car (mapbox/driving, mapbox/driving-traffic), bicycle (mapbox/cycling), foot/pedestrian (mapbox/walking); live and historical traffic via driving-traffic profile; predictive routing via depart_at/arrive_by parameters
- Languages
- Arabic, Bengali, Burmese, Chinese (Mandarin), Czech, Danish, English, Esperanto, Finnish, French, Galician, German, Hebrew, Hungarian, Indonesian, Italian, Japanese, Korean, Norwegian, Polish, Portuguese, Romanian, Russian, Slovenian, Spanish, Swedish, Turkish, Ukrainian, Vietnamese, Yoruba
- Input types
- origin/destination coordinates, waypoints (up to 25; up to 12 for EV routing with automatic charging stops), routing profile (driving/driving-traffic/walking/cycling), departure time (depart_at), arrival time (arrive_by), avoid options (motorway/toll/ferry/unpaved/country_border/tunnel), vehicle dimensions (max_height/max_width/max_weight), language preference, EV parameters (battery capacity, connector type), bearing constraints, walking speed/walkway bias, alley bias
- Output types
- route geometry/polyline (GeoJSON LineString, Polyline 5-decimal, Polyline6 6-decimal), distance, duration, turn-by-turn steps, banner instructions, voice instructions (SSML format), lane guidance, traffic congestion annotations, speed annotations, closure annotations, maxspeed annotations (beta), alternative routes (up to 2), administrative boundary data (ISO 3166-1), incident reports, toll collection metadata, timezone information at waypoints, EV state-of-charge annotations, JSON
- Webhooks
- ✗ No [6]
- Sandbox / test mode
- ✗ No [7]
- SDK languages
- Swift/iOS/macOS, Java/Android, JavaScript [8]
- MCP server
- ✓ Yes [9]
Trust & compliance
- SOC 2
- SOC 2 Type II [10]
- HIPAA
- ✗ No [11]
- GDPR
- ✓ Yes [12]
- ISO 27001
- ✗ No [13]
- PCI DSS
- ✗ No
- Published SLA
- ✓ Yes [14]
- Rate limits
- Directions API: 300 requests/minute. Matrix API (standard profiles driving/walking/cycling): 60 requests/minute; Matrix API (driving-traffic): 30 requests/minute. Isochrone API: 300 requests/minute. Map Matching API: 300 requests/minute. Optimization API v2: 300 routing problems/minute, 60 list submissions/minute, 60 status requests/minute. [15]
- Known restrictions
- Directions API supports up to 25 waypoints per request; EV routing requests limited to 12 total waypoints when ev_add_charging_stops=true, Inter-continental routes and routes through water bodies are not supported, Traffic coverage for driving-traffic profile limited to supported geographies; reverts to driving profile outside coverage, Attribution required: proprietary notices and product identification labels must not be removed, IP addresses retained in CloudFront logs for 30 days for billing/usage reporting, Results of the Isochrone API and Map Matching API (separate Mapbox APIs) must be displayed on a Mapbox map using one of the Mapbox libraries or SDKs, GET request URL size limited to approximately 8100 bytes; use POST for longer coordinate lists [16]
Developer surface
Integration
- API style
- rest
- Base URL
- https://api.mapbox.com/directions/v5
- Version
- v5
- Versioning
- url
- Stability
- ga
- Auth methods
- api_key
- Idempotency keys
- ✗ No
- Error format
- vendor-specific (JSON with "code" field; success = "Ok")
- Rate limit
- 300 / minute
Adoption & maturity
- Launched
- 2010-01-01
- Notable customers
- AccuWeather, DoorDash, Booking.com, Skyscanner, Instacart, Adobe, BMW, Yahoo Japan, Rever
Other Routing APIs
Azure Maps Route
"Use to get the best route between an origin and destination for automobile, commercial trucks and walking routes."
Route4Me
"Industrial Grade Route Planning And Route Optimization Software" that "automates and integrates mission-critical last mile workflows, empowering route planners, dispatchers, drivers, and managers to take your business to the next level."
HERE Routing API
"Plan stress-free journeys" with routing solutions "for various modes of transport" enabling last-mile delivery, fleet management, and freight logistics.
Radar Geocoding API
"Use Radar's geocoding APIs to convert addresses to latitude and longitude coordinates, or vice versa."
Routific
"Delivery management for growing businesses"
Google Routes API
"Compute Routes returns the ideal route between two locations, and Compute Route Matrix returns distances and travel times for a matrix of routes between different origin and destination locations."
References
- ↑Description: mapbox.com · docs.mapbox.com
- ↑Pricing model: mapbox.com
- ↑Published pricing: mapbox.com
- ↑Free tier: mapbox.com · mapbox.com
- ↑Supported actions: docs.mapbox.com · docs.mapbox.com
- ↑Webhooks: docs.mapbox.com · docs.mapbox.com
- ↑Sandbox: mapbox.com
- ↑SDK languages: docs.mapbox.com
- ↑MCP server: docs.mapbox.com · mapbox.com
- ↑SOC 2: mapbox.com · mapbox.com
- ↑HIPAA: mapbox.com · mapbox.com
- ↑GDPR: mapbox.com · mapbox.com
- ↑ISO 27001: mapbox.com · mapbox.com
- ↑Published SLA: mapbox.com · mapbox.com
- ↑Rate limits: docs.mapbox.com · docs.mapbox.com · docs.mapbox.com
- ↑Known restrictions: docs.mapbox.com · docs.mapbox.com · docs.mapbox.com
Change history
- 2026-06-15 Score Docs Quality: 10 → 45
- 2026-06-15 Score Agent Friendliness: 45 → 55
- 2026-06-14 API Reference URL: (none) → https://docs.mapbox.com/api/
- 2026-06-14 Docs URL: (none) → https://docs.mapbox.com/api/
- 2026-06-14 Has Structured Data: (none) → No
- 2026-06-14 Robots Allows Agents: (none) → Yes
- 2026-06-14 Capabilities: {} → {"traffic":true}
- 2026-06-14 Summary Md: (none) → Mapbox Directions API is a REST routing service covering a global road network,…
- 2026-06-14 Best For: (none) → Prototypes and side projects - free to start, no sales call, Regulated or enter…
- 2026-06-14 Score Agent Friendliness: (none) → 45
- 2026-06-14 Score Pricing Transparency: (none) → 100
- 2026-06-14 Score Setup Speed: (none) → 85
- 2026-06-14 Score Docs Quality: (none) → 10
- 2026-06-14 Score Procurement Friction: (none) → 100
- 2026-06-14 Score Trust Readiness: (none) → 60
- 2026-06-14 Scoring Methodology: (none) → Scores are computed deterministically from this profile's published, sourced fi…
- 2026-06-14 Llms Txt Present: (none) → Yes
- 2026-06-14 Rendering: (none) → static
- 2026-06-14 Llms Txt URL: (none) → https://docs.mapbox.com/llms.txt
- 2026-06-14 Free Tier Details: set to Up to 100,000 requests/month free for the Directions API. Recurring monthly all…
- 2026-06-14 Self Serve Signup: set to Yes
- 2026-06-14 Requires Sales Call: set to No
- 2026-06-14 Enterprise Plan Available: set to Yes
- 2026-06-14 SOC 2: set to type_2
- 2026-06-14 HIPAA: set to No
- 2026-06-14 GDPR: set to Yes
- 2026-06-14 ISO 27001: set to No
- 2026-06-14 PCI DSS: set to No
- 2026-06-14 SLA Published: set to Yes
- 2026-06-14 SLA URL: set to https://www.mapbox.com/legal/sla
- 2026-06-14 Data Retention Policy URL: set to https://www.mapbox.com/legal/dpa
- 2026-06-14 Documented Rate Limits: set to Directions API: 300 requests/minute. Matrix API (standard profiles driving/walk…
- 2026-06-14 Rate Limit Requests: set to 300
- 2026-06-14 Rate Limit Window: set to minute
- 2026-06-14 Known Restrictions: set to Directions API supports up to 25 waypoints per request; EV routing requests lim…
- 2026-06-14 Auth Methods: set to api_key
- 2026-06-14 Auth Docs URL: set to https://docs.mapbox.com/accounts/guides/tokens/
- 2026-06-14 API Style: set to rest
- 2026-06-14 Base URL: set to https://api.mapbox.com/directions/v5
- 2026-06-14 API Version: set to v5
- 2026-06-14 Versioning Scheme: set to url
- 2026-06-14 Stability: set to ga
- 2026-06-14 Deprecation Policy URL: set to https://docs.mapbox.com/api/guides/
- 2026-06-14 MCP URL: set to https://mcp.mapbox.com/mcp
- 2026-06-14 Quickstart URL: set to https://docs.mapbox.com/help/tutorials/getting-started-directions-api/
- 2026-06-14 Idempotency Supported: set to No
- 2026-06-14 Error Format: set to vendor-specific (JSON with "code" field; success = "Ok")
- 2026-06-14 Slug: set to mapbox-directions
- 2026-06-14 Starting Price Usd: set to 2
- 2026-06-14 Price Basis: set to 1,000 requests
Suggest an edit / leave a review
Leave a review or comment
curl -X POST https://apio.sh/api/feedback/mapbox-directions \
-H 'Content-Type: application/json' \
-d '{"kind":"review","rating":5,"body":"Your experience with this API…"}'Suggest a correction to a field (cite a source)
curl -X POST https://apio.sh/api/suggest/mapbox-directions/FIELD \
-H 'Content-Type: application/json' \
-d '{"value":"corrected value","citations":[{"url":"https://source.example/page","excerpt":"supporting quote"}],"note":"what changed and why"}'