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." [1]
Google Routes API is a REST service that computes optimal routes between locations and generates distance/duration matrices for multi-origin logistics, supporting driving, walking, cycling, and transit across global coverage. Pricing is usage-based at $5.00 per 1,000 requests, with a free tier of 10,000 requests per month on the Essentials SKU, and self-serve signup requires no sales call. The API holds SOC 2 Type 2 and ISO 27001 certifications, supports API key and OAuth 2 authentication, and offers official SDKs for Java, Go, Node.js, Python, and .NET.
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
- 50 / 100Agent friendliness
- 100 / 100Pricing transparency
- 85 / 100Setup speed
- 35 / 100Docs quality
- 100 / 100Procurement ease
- 75 / 100Trust readiness
Pricing & procurement
- Pricing model
- Usage-based
- Published pricing
- ✓ Yes
- Free tier
- ✓ Yes
- Free tier details
- Per-SKU free monthly call allotments (replaced $200 monthly credit as of March 1, 2025): Compute Routes Essentials - 10,000 free requests/month; Compute Routes Pro - 5,000 free requests/month; Compute Routes Enterprise - 1,000 free requests/month. Same allotments apply to the corresponding Compute Route Matrix SKUs.
- Self-serve signup
- ✓ Yes
- Requires sales call
- ✗ No
- Enterprise plan
- ✓ Yes [2]
| Plan | Item | Per | Amount | Source |
|---|---|---|---|---|
| Pay-as-you-go – Compute Routes Essentials (free tier) | route requests | first 10,000 requests/month | $0 | source |
| Pay-as-you-go – Compute Routes Essentials (10K–100K) | route requests | 1,000 requests | $5 | source |
| Pay-as-you-go – Compute Routes Essentials (100K–500K) | route requests | 1,000 requests | $4 | source |
| Pay-as-you-go – Compute Routes Essentials (500K–1M) | route requests | 1,000 requests | $3 | source |
| Pay-as-you-go – Compute Routes Essentials (1M–5M) | route requests | 1,000 requests | $1.5 | source |
| Pay-as-you-go – Compute Routes Essentials (5M+) | route requests | 1,000 requests | $0.38 | source |
| Pay-as-you-go – Compute Route Matrix Essentials (free tier) | matrix elements (origins × destinations) | first 10,000 elements/month | $0 | source |
| Pay-as-you-go – Compute Route Matrix Essentials (10K–100K) | matrix elements (origins × destinations) | 1,000 elements | $5 | source |
| Pay-as-you-go – Compute Route Matrix Essentials (100K–500K) | matrix elements (origins × destinations) | 1,000 elements | $4 | source |
| Pay-as-you-go – Compute Route Matrix Essentials (500K–1M) | matrix elements (origins × destinations) | 1,000 elements | $3 | source |
| Pay-as-you-go – Compute Route Matrix Essentials (1M–5M) | matrix elements (origins × destinations) | 1,000 elements | $1.5 | source |
| Pay-as-you-go – Compute Route Matrix Essentials (5M+) | matrix elements (origins × destinations) | 1,000 elements | $0.38 | source |
| Pay-as-you-go – Compute Routes Pro (free tier) | route requests (with traffic awareness or advanced features) | first 5,000 requests/month | $0 | source |
| Pay-as-you-go – Compute Routes Pro (5K–100K) | route requests (with traffic awareness or advanced features) | 1,000 requests | $10 | source |
| Pay-as-you-go – Compute Routes Pro (100K–500K) | route requests (with traffic awareness or advanced features) | 1,000 requests | $8 | source |
| Pay-as-you-go – Compute Routes Pro (500K–1M) | route requests (with traffic awareness or advanced features) | 1,000 requests | $6 | source |
| Pay-as-you-go – Compute Routes Pro (1M–5M) | route requests (with traffic awareness or advanced features) | 1,000 requests | $3 | source |
| Pay-as-you-go – Compute Routes Pro (5M+) | route requests (with traffic awareness or advanced features) | 1,000 requests | $0.75 | source |
| Pay-as-you-go – Compute Route Matrix Pro (free tier) | matrix elements (with traffic awareness or advanced features) | first 5,000 elements/month | $0 | source |
| Pay-as-you-go – Compute Route Matrix Pro (5K–100K) | matrix elements (with traffic awareness or advanced features) | 1,000 elements | $10 | source |
| Pay-as-you-go – Compute Route Matrix Pro (100K–500K) | matrix elements (with traffic awareness or advanced features) | 1,000 elements | $8 | source |
| Pay-as-you-go – Compute Route Matrix Pro (500K–1M) | matrix elements (with traffic awareness or advanced features) | 1,000 elements | $6 | source |
| Pay-as-you-go – Compute Route Matrix Pro (1M–5M) | matrix elements (with traffic awareness or advanced features) | 1,000 elements | $3 | source |
| Pay-as-you-go – Compute Route Matrix Pro (5M+) | matrix elements (with traffic awareness or advanced features) | 1,000 elements | $0.75 | source |
| Pay-as-you-go – Compute Routes Enterprise (free tier) | route requests (with enterprise features e.g. two-wheel routing) | first 1,000 requests/month | $0 | source |
| Pay-as-you-go – Compute Routes Enterprise (1K–100K) | route requests (with enterprise features e.g. two-wheel routing) | 1,000 requests | $15 | source |
| Pay-as-you-go – Compute Routes Enterprise (100K–500K) | route requests (with enterprise features e.g. two-wheel routing) | 1,000 requests | $12 | source |
| Pay-as-you-go – Compute Routes Enterprise (500K–1M) | route requests (with enterprise features e.g. two-wheel routing) | 1,000 requests | $9 | source |
| Pay-as-you-go – Compute Routes Enterprise (1M–5M) | route requests (with enterprise features e.g. two-wheel routing) | 1,000 requests | $4.5 | source |
| Pay-as-you-go – Compute Routes Enterprise (5M+) | route requests (with enterprise features e.g. two-wheel routing) | 1,000 requests | $1.14 | source |
| Pay-as-you-go – Compute Route Matrix Enterprise (free tier) | matrix elements (with enterprise features) | first 1,000 elements/month | $0 | source |
| Pay-as-you-go – Compute Route Matrix Enterprise (1K–100K) | matrix elements (with enterprise features) | 1,000 elements | $15 | source |
| Pay-as-you-go – Compute Route Matrix Enterprise (100K–500K) | matrix elements (with enterprise features) | 1,000 elements | $12 | source |
| Pay-as-you-go – Compute Route Matrix Enterprise (500K–1M) | matrix elements (with enterprise features) | 1,000 elements | $9 | source |
| Pay-as-you-go – Compute Route Matrix Enterprise (1M–5M) | matrix elements (with enterprise features) | 1,000 elements | $4.5 | source |
| Pay-as-you-go – Compute Route Matrix Enterprise (5M+) | matrix elements (with enterprise features) | 1,000 elements | $1.14 | source |
| Starter subscription (includes Compute Routes/Matrix Essentials) | subscription bundle — 50,000 monthly calls across included services | month | $100 | source |
| Essentials subscription (includes Compute Routes/Matrix Essentials) | subscription bundle — 100,000 monthly calls across included services | month | $275 | source |
| Pro subscription (includes Compute Routes/Matrix Pro) | subscription bundle — 250,000 monthly calls across included services | month | $1200 | source |
Capabilities
- Supported actions
- computeRoutes, computeRouteMatrix [3]
- Regions
- Global coverage; travel modes vary by region, Driving (DRIVE) - global, Walking (WALKING) - global, Bicycling (BICYCLE) - global, Transit (TRANSIT) - select cities/regions, Two-wheeled motorized vehicles (TWO_WHEELER) - select countries/regions, Live traffic (TRAFFIC_AWARE, TRAFFIC_AWARE_OPTIMAL) for DRIVE and TWO_WHEELER only, Toll estimation - select cities only
- Languages
- BCP-47 language codes accepted via languageCode parameter; display language inferred from route location when not provided
- Input types
- origin/destination coordinates (lat/lng), place IDs, addresses, intermediate waypoints (up to 25), travel mode (DRIVE, WALKING, BICYCLE, TRANSIT, TWO_WHEELER), routing preference (TRAFFIC_UNAWARE, TRAFFIC_AWARE, TRAFFIC_AWARE_OPTIMAL), traffic model (BEST_GUESS, PESSIMISTIC, OPTIMISTIC), departure time, arrival time (TRANSIT only), route modifiers (avoidTolls, avoidHighways, avoidFerries), extra computations (TOLLS, FUEL_CONSUMPTION, TRAFFIC_ON_POLYLINE, HTML_FORMATTED_NAVIGATION_INSTRUCTIONS, FLYOVER_INFO_ON_POLYLINE, NARROW_ROAD_INFO_ON_POLYLINE), response field mask, language code (BCP-47), region code (ccTLD), units (METRIC/IMPERIAL), polyline quality (HIGH_QUALITY, OVERVIEW), polyline encoding (ENCODED_POLYLINE, GEO_JSON_LINESTRING), optimizeWaypointOrder boolean, computeAlternativeRoutes boolean
- Output types
- route geometry/polyline (encoded polyline or GeoJSON LineString), distance (distanceMeters), duration, staticDuration, turn-by-turn navigation instructions (maneuver + text), HTML-formatted navigation instructions, toll fees, fuel consumption, traffic conditions on polyline, route legs and steps, viewport, route token, route labels, geocoding results, fallback info, localized values (distance, duration, transit fare as text), optimized intermediate waypoint order, transit details (stops, lines, times), flyover info, narrow road info, origin/destination indices (matrix), element condition and status (matrix)
- Webhooks
- ✗ No
- Sandbox / test mode
- ✗ No [4]
- SDK languages
- Java, Go, Node.js, Python, .NET [5]
- MCP server
- ✓ Yes [6]
Trust & compliance
- SOC 2
- SOC 2 Type II [7]
- HIPAA
- ✗ No [8]
- GDPR
- ✓ Yes [9]
- ISO 27001
- ✓ Yes [10]
- PCI DSS
- ✗ No [11]
- Published SLA
- ✓ Yes [12]
- Rate limits
- Compute Routes: 3,000 QPM; Compute Route Matrix: 3,000 EPM (elements per minute = origins × destinations). No maximum daily request limits. [13]
- Known restrictions
- Content may not be pre-fetched, cached, indexed, or stored outside the service except temporarily (maximum 30 calendar days) for performance improvement only - storage must be secure and must not manipulate or aggregate content or modify attribution, Mass downloads or bulk feeds of any Content are prohibited, Real-time navigation or route guidance use requires appropriate licensing (prohibited under standard terms per Section 10.4(c)(iii)), Autonomous or automatic vehicle control use is prohibited, Must display 'powered by Google' attribution conspicuously on or near search boxes and results, routingPreference (TRAFFIC_AWARE, TRAFFIC_AWARE_OPTIMAL) only available for DRIVE and TWO_WHEELER travel modes, computeRouteMatrix: max 625 elements (origins × destinations); max 100 elements when TRAFFIC_AWARE_OPTIMAL or TRANSIT; max 50 total origins+destinations when specified as address or place ID, computeRoutes: max 25 intermediate waypoints; requests with 11–25 waypoints billed at higher (Pro) rate; 25-waypoint requests restricted to DRIVE mode with accumulated straight-line distance < 1,000 km, Waypoint optimization (optimizeWaypointOrder) cannot be used with via waypoints or TRAFFIC_AWARE_OPTIMAL, Route token feature available for caching route intent (not full response storage), Maps Platform Code Assist MCP server is experimental/pre-GA
Developer surface
Integration
- API style
- rest
- Base URL
- https://routes.googleapis.com
- Version
- v2
- Versioning
- url
- Stability
- ga
- Auth methods
- api_key, oauth2
- Idempotency keys
- ✗ No
- Error format
- google.rpc.Status JSON - { "error": { "code": <HTTP_int>, "message": "<string>", "status": "<google.rpc.Code>" } }
- Rate limit
- 3000 / minute
Adoption & maturity
- Launched
- 2022-09-28
- GA
- 2023-03-08
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"
GraphHopper Directions API
"Route Planning For Your Application"
References
- ↑Description: developers.google.com
- ↑Enterprise plan: mapsplatform.google.com
- ↑Supported actions: developers.google.com
- ↑Sandbox: developers.google.com
- ↑SDK languages: developers.google.com
- ↑MCP server: developers.google.com · developers.google.com
- ↑SOC 2: mapsplatform.google.com · mapsplatform.google.com
- ↑HIPAA: mapsplatform.google.com
- ↑GDPR: mapsplatform.google.com
- ↑ISO 27001: mapsplatform.google.com
- ↑PCI DSS: mapsplatform.google.com
- ↑Published SLA: cloud.google.com
- ↑Rate limits: developers.google.com
Change history
- 2026-06-15 Score Docs Quality: 15 → 35
- 2026-06-15 Score Agent Friendliness: 30 → 50
- 2026-06-14 Robots Allows Agents: (none) → Yes
- 2026-06-14 API Reference URL: (none) → https://developers.google.com/workspace/docs/api/how-tos/overview
- 2026-06-14 Has Structured Data: (none) → Yes
- 2026-06-14 Capabilities: {} → {"traffic":true,"transit":true,"optimization":true,"distance_matrix":true}
- 2026-06-14 Summary Md: (none) → Google Routes API is a REST service that computes optimal routes between locati…
- 2026-06-14 Scoring Methodology: (none) → Scores are computed deterministically from this profile's published, sourced fi…
- 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) → 30
- 2026-06-14 Score Pricing Transparency: (none) → 100
- 2026-06-14 Score Setup Speed: (none) → 85
- 2026-06-14 Score Docs Quality: (none) → 15
- 2026-06-14 Score Procurement Friction: (none) → 100
- 2026-06-14 Score Trust Readiness: (none) → 75
- 2026-06-14 Llms Txt Present: (none) → No
- 2026-06-14 Docs URL: (none) → https://developers.google.com/docs
- 2026-06-14 Rendering: (none) → static
- 2026-06-14 Has Published Pricing: set to Yes
- 2026-06-14 Free Tier Available: set to Yes
- 2026-06-14 Free Tier Details: set to Per-SKU free monthly call allotments (replaced $200 monthly credit as of March …
- 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 Yes
- 2026-06-14 PCI DSS: set to No
- 2026-06-14 SLA Published: set to Yes
- 2026-06-14 SLA URL: set to https://cloud.google.com/maps-platform/terms/sla
- 2026-06-14 Data Retention Policy URL: set to https://developers.google.com/maps/security/compliance/security-compliance
- 2026-06-14 Documented Rate Limits: set to Compute Routes: 3,000 QPM; Compute Route Matrix: 3,000 EPM (elements per minute…
- 2026-06-14 Rate Limit Requests: set to 3000
- 2026-06-14 Rate Limit Window: set to minute
- 2026-06-14 Known Restrictions: set to Content may not be pre-fetched, cached, indexed, or stored outside the service …
- 2026-06-14 Auth Methods: set to api_key, oauth2
- 2026-06-14 Auth Docs URL: set to https://developers.google.com/maps/documentation/routes/oauth_token
- 2026-06-14 API Style: set to rest
- 2026-06-14 Base URL: set to https://routes.googleapis.com
- 2026-06-14 Versioning Scheme: set to url
- 2026-06-14 Stability: set to ga
- 2026-06-14 Deprecation Policy URL: set to https://developers.google.com/maps/deprecations
- 2026-06-14 MCP URL: set to https://mapstools.googleapis.com/mcp
- 2026-06-14 Quickstart URL: set to https://developers.google.com/maps/documentation/routes/cloud-setup
- 2026-06-14 Idempotency Supported: set to No
- 2026-06-14 Error Format: set to google.rpc.Status JSON - { "error": { "code": <HTTP_int>, "message": "<string>"…
- 2026-06-14 Slug: set to google-routes
- 2026-06-14 Starting Price Usd: set to 5
- 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/google-routes \
-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/google-routes/FIELD \
-H 'Content-Type: application/json' \
-d '{"value":"corrected value","citations":[{"url":"https://source.example/page","excerpt":"supporting quote"}],"note":"what changed and why"}'