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]

developers.google.com/maps/documentation/routes · By Google · Agent JSON · Suggest an edit · Last verified 2026-06-14 · Source confidence: high

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 / 100
    Agent friendliness
  • 100 / 100
    Pricing transparency
  • 85 / 100
    Setup speed
  • 35 / 100
    Docs quality
  • 100 / 100
    Procurement ease
  • 75 / 100
    Trust readiness

Scores are computed deterministically from this profile's published, sourced fields (pricing, compliance, capabilities, docs and developer-surface signals) - not from reviews or paid placement. Each axis is 0-100; an unknown signal scores 0 for that axis. Procurement ease is the inverse of buying friction (higher = easier to adopt).

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]
Published prices
PlanItemPerAmountSource
Pay-as-you-go – Compute Routes Essentials (free tier)route requestsfirst 10,000 requests/month$0source
Pay-as-you-go – Compute Routes Essentials (10K–100K)route requests1,000 requests$5source
Pay-as-you-go – Compute Routes Essentials (100K–500K)route requests1,000 requests$4source
Pay-as-you-go – Compute Routes Essentials (500K–1M)route requests1,000 requests$3source
Pay-as-you-go – Compute Routes Essentials (1M–5M)route requests1,000 requests$1.5source
Pay-as-you-go – Compute Routes Essentials (5M+)route requests1,000 requests$0.38source
Pay-as-you-go – Compute Route Matrix Essentials (free tier)matrix elements (origins × destinations)first 10,000 elements/month$0source
Pay-as-you-go – Compute Route Matrix Essentials (10K–100K)matrix elements (origins × destinations)1,000 elements$5source
Pay-as-you-go – Compute Route Matrix Essentials (100K–500K)matrix elements (origins × destinations)1,000 elements$4source
Pay-as-you-go – Compute Route Matrix Essentials (500K–1M)matrix elements (origins × destinations)1,000 elements$3source
Pay-as-you-go – Compute Route Matrix Essentials (1M–5M)matrix elements (origins × destinations)1,000 elements$1.5source
Pay-as-you-go – Compute Route Matrix Essentials (5M+)matrix elements (origins × destinations)1,000 elements$0.38source
Pay-as-you-go – Compute Routes Pro (free tier)route requests (with traffic awareness or advanced features)first 5,000 requests/month$0source
Pay-as-you-go – Compute Routes Pro (5K–100K)route requests (with traffic awareness or advanced features)1,000 requests$10source
Pay-as-you-go – Compute Routes Pro (100K–500K)route requests (with traffic awareness or advanced features)1,000 requests$8source
Pay-as-you-go – Compute Routes Pro (500K–1M)route requests (with traffic awareness or advanced features)1,000 requests$6source
Pay-as-you-go – Compute Routes Pro (1M–5M)route requests (with traffic awareness or advanced features)1,000 requests$3source
Pay-as-you-go – Compute Routes Pro (5M+)route requests (with traffic awareness or advanced features)1,000 requests$0.75source
Pay-as-you-go – Compute Route Matrix Pro (free tier)matrix elements (with traffic awareness or advanced features)first 5,000 elements/month$0source
Pay-as-you-go – Compute Route Matrix Pro (5K–100K)matrix elements (with traffic awareness or advanced features)1,000 elements$10source
Pay-as-you-go – Compute Route Matrix Pro (100K–500K)matrix elements (with traffic awareness or advanced features)1,000 elements$8source
Pay-as-you-go – Compute Route Matrix Pro (500K–1M)matrix elements (with traffic awareness or advanced features)1,000 elements$6source
Pay-as-you-go – Compute Route Matrix Pro (1M–5M)matrix elements (with traffic awareness or advanced features)1,000 elements$3source
Pay-as-you-go – Compute Route Matrix Pro (5M+)matrix elements (with traffic awareness or advanced features)1,000 elements$0.75source
Pay-as-you-go – Compute Routes Enterprise (free tier)route requests (with enterprise features e.g. two-wheel routing)first 1,000 requests/month$0source
Pay-as-you-go – Compute Routes Enterprise (1K–100K)route requests (with enterprise features e.g. two-wheel routing)1,000 requests$15source
Pay-as-you-go – Compute Routes Enterprise (100K–500K)route requests (with enterprise features e.g. two-wheel routing)1,000 requests$12source
Pay-as-you-go – Compute Routes Enterprise (500K–1M)route requests (with enterprise features e.g. two-wheel routing)1,000 requests$9source
Pay-as-you-go – Compute Routes Enterprise (1M–5M)route requests (with enterprise features e.g. two-wheel routing)1,000 requests$4.5source
Pay-as-you-go – Compute Routes Enterprise (5M+)route requests (with enterprise features e.g. two-wheel routing)1,000 requests$1.14source
Pay-as-you-go – Compute Route Matrix Enterprise (free tier)matrix elements (with enterprise features)first 1,000 elements/month$0source
Pay-as-you-go – Compute Route Matrix Enterprise (1K–100K)matrix elements (with enterprise features)1,000 elements$15source
Pay-as-you-go – Compute Route Matrix Enterprise (100K–500K)matrix elements (with enterprise features)1,000 elements$12source
Pay-as-you-go – Compute Route Matrix Enterprise (500K–1M)matrix elements (with enterprise features)1,000 elements$9source
Pay-as-you-go – Compute Route Matrix Enterprise (1M–5M)matrix elements (with enterprise features)1,000 elements$4.5source
Pay-as-you-go – Compute Route Matrix Enterprise (5M+)matrix elements (with enterprise features)1,000 elements$1.14source
Starter subscription (includes Compute Routes/Matrix Essentials)subscription bundle — 50,000 monthly calls across included servicesmonth$100source
Essentials subscription (includes Compute Routes/Matrix Essentials)subscription bundle — 100,000 monthly calls across included servicesmonth$275source
Pro subscription (includes Compute Routes/Matrix Pro)subscription bundle — 250,000 monthly calls across included servicesmonth$1200source

Capabilities

  • Distance matrix
  • Route optimization
  • Traffic-aware
  • Transit / multimodal
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

Docs rendering: static

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

SDKs

  • Java google-cloud-java (java-maps-routing) · repo
  • Go cloud.google.com/go/maps · repo
  • Node.js @googlemaps/routing · repo
  • Python google-maps-routing · repo
  • .NET Google.Maps.Routing.V2 · repo

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."

    Usage · free tier · public pricing · self-serve

  • 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."

    Subscription · free tier · public pricing · self-serve

  • HERE Routing API

    "Plan stress-free journeys" with routing solutions "for various modes of transport" enabling last-mile delivery, fleet management, and freight logistics.

    Hybrid · free tier · public pricing · self-serve

  • Radar Geocoding API

    "Use Radar's geocoding APIs to convert addresses to latitude and longitude coordinates, or vice versa."

    Hybrid · free tier · public pricing · self-serve

  • Routific

    "Delivery management for growing businesses"

    Subscription · free tier · public pricing · self-serve

  • GraphHopper Directions API

    "Route Planning For Your Application"

    Subscription · free tier · public pricing · self-serve

Google Routes API alternatives · Google Routes API vs Azure Maps Route · All Routing APIs APIs

References

Each field above carries a numbered source - hover for a preview, click to jump here.

  1. Description: developers.google.com
  2. Enterprise plan: mapsplatform.google.com
  3. Supported actions: developers.google.com
  4. Sandbox: developers.google.com
  5. SDK languages: developers.google.com
  6. MCP server: developers.google.com · developers.google.com
  7. SOC 2: mapsplatform.google.com · mapsplatform.google.com
  8. HIPAA: mapsplatform.google.com
  9. GDPR: mapsplatform.google.com
  10. ISO 27001: mapsplatform.google.com
  11. PCI DSS: mapsplatform.google.com
  12. Published SLA: cloud.google.com
  13. Rate limits: developers.google.com

Change history

Every field change, who made it, and when - from our audited data pipeline and editors.

  1. 2026-06-15 Score Docs Quality: 1535
  2. 2026-06-15 Score Agent Friendliness: 3050
  3. 2026-06-14 Robots Allows Agents: (none)Yes
  4. 2026-06-14 API Reference URL: (none)https://developers.google.com/workspace/docs/api/how-tos/overview
  5. 2026-06-14 Has Structured Data: (none)Yes
  6. 2026-06-14 Capabilities: {}{"traffic":true,"transit":true,"optimization":true,"distance_matrix":true}
  7. 2026-06-14 Summary Md: (none)Google Routes API is a REST service that computes optimal routes between locati…
  8. 2026-06-14 Scoring Methodology: (none)Scores are computed deterministically from this profile's published, sourced fi…
  9. 2026-06-14 Best For: (none)Prototypes and side projects - free to start, no sales call, Regulated or enter…
  10. 2026-06-14 Score Agent Friendliness: (none)30
  11. 2026-06-14 Score Pricing Transparency: (none)100
  12. 2026-06-14 Score Setup Speed: (none)85
  13. 2026-06-14 Score Docs Quality: (none)15
  14. 2026-06-14 Score Procurement Friction: (none)100
  15. 2026-06-14 Score Trust Readiness: (none)75
  16. 2026-06-14 Llms Txt Present: (none)No
  17. 2026-06-14 Docs URL: (none)https://developers.google.com/docs
  18. 2026-06-14 Rendering: (none)static
  19. 2026-06-14 Has Published Pricing: set to Yes
  20. 2026-06-14 Free Tier Available: set to Yes
  21. 2026-06-14 Free Tier Details: set to Per-SKU free monthly call allotments (replaced $200 monthly credit as of March …
  22. 2026-06-14 Self Serve Signup: set to Yes
  23. 2026-06-14 Requires Sales Call: set to No
  24. 2026-06-14 Enterprise Plan Available: set to Yes
  25. 2026-06-14 SOC 2: set to type_2
  26. 2026-06-14 HIPAA: set to No
  27. 2026-06-14 GDPR: set to Yes
  28. 2026-06-14 ISO 27001: set to Yes
  29. 2026-06-14 PCI DSS: set to No
  30. 2026-06-14 SLA Published: set to Yes
  31. 2026-06-14 SLA URL: set to https://cloud.google.com/maps-platform/terms/sla
  32. 2026-06-14 Data Retention Policy URL: set to https://developers.google.com/maps/security/compliance/security-compliance
  33. 2026-06-14 Documented Rate Limits: set to Compute Routes: 3,000 QPM; Compute Route Matrix: 3,000 EPM (elements per minute…
  34. 2026-06-14 Rate Limit Requests: set to 3000
  35. 2026-06-14 Rate Limit Window: set to minute
  36. 2026-06-14 Known Restrictions: set to Content may not be pre-fetched, cached, indexed, or stored outside the service …
  37. 2026-06-14 Auth Methods: set to api_key, oauth2
  38. 2026-06-14 Auth Docs URL: set to https://developers.google.com/maps/documentation/routes/oauth_token
  39. 2026-06-14 API Style: set to rest
  40. 2026-06-14 Base URL: set to https://routes.googleapis.com
  41. 2026-06-14 Versioning Scheme: set to url
  42. 2026-06-14 Stability: set to ga
  43. 2026-06-14 Deprecation Policy URL: set to https://developers.google.com/maps/deprecations
  44. 2026-06-14 MCP URL: set to https://mapstools.googleapis.com/mcp
  45. 2026-06-14 Quickstart URL: set to https://developers.google.com/maps/documentation/routes/cloud-setup
  46. 2026-06-14 Idempotency Supported: set to No
  47. 2026-06-14 Error Format: set to google.rpc.Status JSON - { "error": { "code": <HTTP_int>, "message": "<string>"…
  48. 2026-06-14 Slug: set to google-routes
  49. 2026-06-14 Starting Price Usd: set to 5
  50. 2026-06-14 Price Basis: set to 1,000 requests

Suggest an edit / leave a review

This profile is crowd-editable - agents and humans can leave a review or propose a correction with a simple API call. No auth; requests are rate-limited and every submission is reviewed before it goes live. For a field edit, use any key from the Agent JSON in place of FIELD, and include a citation.

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"}'

All the ways to contribute →