{"uid":"cap_n4BNvhTdHI4D9DIB64myO","slug":"bizintel-road-distance-api-f4dc5de1","name":"BizIntel Road Distance API","description":"Calculates road driving distance, path coordinates, and durations between coordinates via the public OSRM engine.","url":"https://bizintel-api.hahavoid0.workers.dev/geography/road-distance","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["start_lat","start_lon","end_lat","end_lon"],"properties":{"end_lat":{"type":"number","description":"Ending latitude"},"end_lon":{"type":"number","description":"Ending longitude"},"start_lat":{"type":"number","description":"Starting latitude"},"start_lon":{"type":"number","description":"Starting longitude"}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"result":{"distance_meters":610000,"duration_seconds":21600},"warnings":[],"supported":true,"confidence":"high","data_as_of":"2026-06","disclaimer":"Informational support only. Not legal, tax, medical, veterinary, or financial advice. Verify with the cited official source or a qualified professional before acting."}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_9kitV8Pi2VFkyG5CCNlB8","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Calculates the road driving distance and estimated travel duration between two geographic coordinates","exampleAgentPrompt":"What's the road driving distance and estimated travel time between San Francisco (37.7749, -122.4194) and Los Angeles (34.0522, -118.2437)?","exampleUseCases":[{"title":"Logistics delivery route planning","prompt":"I need to know the road distance in meters and drive time in seconds between our warehouse at coordinates 40.7128, -74.0060 and a customer delivery point at 42.3601, -71.0589 — can you calculate that for me?"},{"title":"Field sales territory estimation","prompt":"How far is it by road from our Chicago office at 41.8781, -87.6298 to a client site at 43.0731, -89.4012, and roughly how long would the drive take?"},{"title":"Ride-sharing cost estimation setup","prompt":"Can you get me the road distance and driving duration between the pickup point at 51.5074, -0.1278 and the drop-off at 51.4816, -0.0052 so I can estimate the fare?"}],"resultDescription":"Returns a JSON object with distance_meters (integer road distance), duration_seconds (integer estimated drive time), a supported boolean indicating if the route is computable, a confidence rating (e.g. 'high'), a data_as_of date string, optional warnings array, and a disclaimer.","failureModes":["Unsupported route (e.g. coordinates in ocean or unreachable locations) — supported field returns false","Invalid coordinate values (out of range lat/lon) — likely 4xx validation error","Missing required fields (start_lat, start_lon, end_lat, end_lon) — schema validation error","Payment failure via x402 USDC — request rejected before processing","Service unavailability on Cloudflare Workers — 5xx or timeout"],"whenToPreferThis":"Choose this endpoint when you need road/driving distance and travel time between two precise GPS coordinates, especially in agentic pipelines requiring pay-per-call with no API key setup. Prefer this over map SDK integrations when you want a simple stateless POST with USDC micropayment on Base. It complements the broader BizIntel suite if you're already using their corporate or B2B tools.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:41:35.816Z","isFirstParty":false}