{"uid":"cap_KLDyR8aWWodfrY6JXB_u2","slug":"serp402-google-maps-directions-3201908d","name":"serp402 Google Maps Directions","description":"Google Maps Directions: Routes information is available. Structured JSON, USD 0.05 per call in USDC — no API key, no account, no subscription, no minimum. Not affiliated with, endorsed by or an official channel of any of the services the results come from. All trademarks and copyright remain the property of their respective owners.","url":"https://serp402.com/api/v1/google-maps-directions?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"gl":{"type":"string","description":"country to use for the Google search. It's a two-letter country code. (e.g., us for the United States, uk for United Kingdom, or fr for France) Head to the…"},"hl":{"type":"string","description":"language to use for the Google Maps Directions search. It's a two or three-letter language code. (e.g., en for English, es for Spanish, or fr for French),…"},"time":{"type":"string","description":"time to travel. Available options: depart_at:xxxxxx - Specifies the departure time, where xxxxxx is the timestamp. E.g. depart_at:1698229538 specifies the…"},"avoid":{"type":"string","description":"avoid options. Available options: highways - Highways tolls - Tolls ferries - Ferries You can also combine multiple options by joining them with a comma…"},"route":{"type":"string","description":"route options. Available options: 2 - Fewer transfers 3 - Less walking 4 - Wheelchair accessible Parameter works only if travel_mode parameter is set to: 3…"},"prefer":{"type":"string","description":"preferred transit options. Available options: bus - Bus subway - Subway train - Train tram_light_rail - Tram and light rail You can also combine multiple…"},"end_addr":{"type":"string","description":"address of the ending point for the direction you want to search. You can use anything that you would use in a regular Google Maps Directions search.…"},"end_coords":{"type":"string","description":"GPS coordinates of the ending point for the direction you want to search. The format is latitude,longitude . E.g. 30.197471099,-97.66635289 . Alternatively,…"},"start_addr":{"type":"string","description":"address of the starting point for the direction you want to search. You can use anything that you would use in a regular Google Maps Directions search.…"},"end_data_id":{"type":"string","description":"data ID of the ending point for the direction you want to search. Find the data ID of a place using our Google Maps API . Alternatively, you can use end_addr…"},"travel_mode":{"type":"string","description":"travel mode. Available options: 6 - Best (Default) 0 - Driving 9 - Two-wheeler 3 - Transit 2 - Walking 1 - Cycling 4 - Flight"},"start_coords":{"type":"string","description":"GPS coordinates of the starting point for the direction you want to search. The format is latitude,longitude . E.g. 30.197471099,-97.66635289 . Alternatively,…"},"distance_unit":{"type":"string","description":"displayed distance unit. Available options: 1 - miles 0 - km"},"start_data_id":{"type":"string","description":"data ID of the starting point for the direction you want to search. Find the data ID of a place using our Google Maps API . Alternatively, you can use…"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_zcONw_1fcJUignPYqMi2j","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns structured Google Maps directions and route information between two points, including steps, duration, and distance.","exampleAgentPrompt":"Get me Google Maps driving directions from 1600 Amphitheatre Parkway, Mountain View, CA to San Francisco International Airport, departing at timestamp 1698229538, and avoid tolls.","exampleUseCases":[{"title":"Road trip route planning","prompt":"Get me driving directions from Chicago, IL to Nashville, TN avoiding highways and tolls — I want to see the scenic route."},{"title":"Transit commute with accessibility needs","prompt":"Find me wheelchair accessible public transit directions from Times Square, New York to Brooklyn Bridge, departing at 9am tomorrow — show me routes with fewer transfers."},{"title":"International travel navigation","prompt":"Get me walking directions from the Eiffel Tower to the Louvre in Paris, France, in French (fr), so I can share them with a local guide."}],"resultDescription":"A structured JSON object containing one or more route options, each with step-by-step instructions, distance and duration for each leg, total trip duration and distance, transit details (if applicable), and waypoint coordinates.","failureModes":["Invalid or unrecognized start/end address returns an error or empty results","Missing both address and coordinates for start or end point causes a validation error","Invalid timestamp format for departure time returns a bad request error","Unsupported travel mode or route option combination returns no results","Network or upstream Google Maps scraping failure returns a 5xx error","Payment failure or insufficient USDC balance returns a 402 Payment Required"],"whenToPreferThis":"Choose this endpoint when you need structured Google Maps directions data without managing API keys, OAuth, or subscriptions. It is ideal for AI agents that need route information on-demand, pay-per-call, using USDC micropayments via the x402 protocol. Prefer this over the official Google Maps Directions API when you want frictionless setup or need to avoid monthly minimums.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:40:47.758Z","isFirstParty":false,"canonicalSlug":"serp402-google-maps-directions-3201908d"}