{"uid":"cap_4lowdbVSHMGYtUnLEjCYY","slug":"google-maps-v2-computeroutes-87586bc0","name":"Google Maps V2:ComputeRoutes","description":"Compute routes between locations","url":"https://googlemaps.mpp.tempo.xyz/routes/directions/v2:computeRoutes?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["location","size","heading","pitch"],"properties":{"size":{"type":"string"},"pitch":{"type":"string"},"heading":{"type":"string"},"location":{"type":"string"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["maps","google","geocoding","directions","places","routes","tiles","weather","air-quality","solar","roads","pollen","geolocation","aerial","validation","data"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"mpp","network":"tempo","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"mpp","network":"tempo","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_62ym9yDoaVZ5euT4Sorlx","protocol":"mpp","methodType":"crypto","chain":"tempo","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":"Google Maps","brandSlug":"google-maps","brandBaseUrl":"https://developers.google.com/maps","brandDocsUrl":"https://developers.google.com/maps","whatItDoes":"Computes a detailed route between an origin and destination using Google Maps routing engine, returning turn-by-turn directions, distance, and travel time.","exampleAgentPrompt":"Can you get me driving directions from the Empire State Building in New York to Penn Station, avoiding tolls, and tell me the total distance and estimated travel time?","exampleUseCases":null,"resultDescription":"Returns a detailed route object including one or more route legs with step-by-step navigation instructions, total distance in meters, total duration in seconds, an encoded polyline for the full path, and metadata such as toll information and traffic-aware travel times.","failureModes":["No route found between origin and destination (e.g., islands with no road connection)","Invalid or unresolvable location input returns geocoding error","Unsupported travel mode for the given route returns error","API quota exceeded or invalid credentials returns 401/403","Departure time in the past may return non-traffic-aware results"],"whenToPreferThis":"Use this endpoint when you need a detailed, single route with full turn-by-turn directions, polyline geometry, and rich metadata. Prefer this over the Directions JSON endpoint for newer features and structured proto-based responses. Use V2:ComputeRouteMatrix instead when you need distances/times for multiple origin-destination pairs simultaneously.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T12:05:08.945Z","isFirstParty":false,"canonicalSlug":"google-maps-v2-computeroutes-87586bc0"}