{"uid":"cap_azOFpawJBdcwpcdmntPpP","slug":"openwebninja-driving-directions-97f4e91d","name":"OpenWebNinja Driving Directions","description":"40+ public web-data, SERP, e-commerce, real-estate, finance and AI-search APIs, payable per call over x402 (USDC on Base, Polygon, Arbitrum). No account or API key required. Most endpoints $0.003; AI-model endpoints $0.005.","url":"https://x402.openwebninja.com/driving-directions/get-directions","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"required":{"type":"string"},"properties":{"type":"string"}}},"responseSchema":{"type":"json","example":{}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_nf9nO88S8PbiLBcqg1im9","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns turn-by-turn driving directions and best route options between an origin and destination, including route parts, distances, and durations.","exampleAgentPrompt":"Can you get me driving directions from 'Times Square, New York, NY' to 'Brooklyn Bridge, Brooklyn, NY' in miles, avoiding tolls?","exampleUseCases":null,"resultDescription":"Returns a structured object containing origin and destination details (name, address, latitude, longitude, Google Places ID), and an array of best route options each with named route parts, step-by-step turn-by-turn instructions, human-readable distance and duration labels per segment, and optional instructional photo URLs.","failureModes":["Missing required 'origin' or 'destination' query parameters returns a 400/422 error","Unresolvable location strings (e.g. ambiguous or misspelled addresses) may return empty routes or an error","Invalid avoid_routes value may be ignored or cause an error","Payment not fulfilled results in a 402 Payment Required response","Rate limiting or upstream Google Maps API failure may return a 5xx error"],"whenToPreferThis":"Choose this endpoint when you need structured, turn-by-turn driving directions with route metadata (distance, duration, route parts) between two locations, especially when consuming via a micropayment x402 flow. Prefer over geocoding-only endpoints when you need navigable route steps, not just coordinates.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:46:55.154Z","isFirstParty":false}