{"uid":"cap_A5ddxBeyYk9Eja2tx6CQB","slug":"osrm-driving-route-via-x402-1259200c","name":"OSRM Driving Route via x402","description":"OSRM driving route (keyless). POST {coordinates|from+to}. Unpaid empty → 402; after settle empty/invalid → 400 charged:false. Soft disclose mbta-routes / tfl-line-status (transit adjacency only).","url":"https://x402-v2-mint-osrm-route.vercel.app/v1/osrm-route?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"to":{"type":"array","items":{"type":"number"},"maxItems":2,"minItems":2},"from":{"type":"array","items":{"type":"number"},"maxItems":2,"minItems":2},"profile":{"type":"string","maxLength":32},"overview":{"type":"string","maxLength":16},"request_id":{"type":"string"},"coordinates":{"type":"array","items":{"type":"array","items":{"type":"number"},"maxItems":2,"minItems":2},"maxItems":10,"minItems":2}}},"responseSchema":{"type":"json","example":{"ok":true,"skill":"osrm-route","charged":true,"summary":"ok"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.020194","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.020194/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.020194","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.020194","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_r_Ybf7M8enfP3fjxzQyWK","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.020194","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a keyless driving route via OSRM between two or more coordinates, billed per-call via the x402 micropayment protocol.","exampleAgentPrompt":"Get me a driving route from [37.7749, -122.4194] (San Francisco) to [34.0522, -118.2437] (Los Angeles) using the car profile with a full geometry overview.","exampleUseCases":[{"title":"Delivery agent route optimization","prompt":"Calculate the driving route from coordinates 40.7128, -74.0060 to 40.6501, -73.9496 — I need the full geometry overview so I can display it on a map for my delivery driver."},{"title":"Multi-stop road trip planning","prompt":"Give me a driving route hitting these three waypoints in order: 51.5074,-0.1278 then 52.4862,-1.8904 then 53.4808,-2.2426 — use the car profile."},{"title":"Autonomous vehicle path computation","prompt":"Compute the fastest road path from 48.8566,2.3522 to 48.8738,2.2950 with a simplified overview so my vehicle navigation system can follow it."}],"resultDescription":"A JSON object with ok:true, skill:'osrm-route', charged:true/false, and a summary field. On successful payment the response includes the OSRM route geometry and directions. Returns HTTP 402 if unpaid; returns 400 with charged:false if payment settled but request was invalid or empty.","failureModes":["HTTP 402 returned when no x402 payment header is included — agent must settle payment and retry","HTTP 400 with charged:false returned after payment if coordinates are missing or invalid — payment is still consumed","Invalid coordinate arrays (wrong length or non-numeric) result in 400 errors","Exceeding 10 waypoints in the coordinates array causes rejection","Unsupported routing profile string may result in an error from the underlying OSRM backend"],"whenToPreferThis":"Choose this endpoint when you need a keyless, no-API-key driving route computation powered by OSRM and are operating in an x402 micropayment-enabled agent pipeline. It is ideal for autonomous agents that cannot manage traditional API credentials but can execute per-call USDC payments. Prefer it for car/driving profiles with up to 10 waypoints; for transit routes use dedicated MBTA or TfL endpoints instead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:30:27.959Z","isFirstParty":false,"canonicalSlug":"osrm-driving-route-via-x402-1259200c"}