{"uid":"cap_W4Cede1-UZpPj899x7jDI","slug":"omniapi-geo-distance-calculator-0346074e","name":"OmniAPI Geo Distance Calculator","description":"444 endpoints across 9+ chains. Crypto, AI, Social, Finance, Weather, Tools. Pay per call in USDC via x402 with 4 facilitators: Dexter, Meridian, FluxA, GoPlausible.","url":"https://omni-api-cyan.vercel.app/api/geo/distance","method":"POST","headers":{},"bodySchema":{"type":"object","required":["query"],"properties":{"input":{"type":"string","description":"Input data for the endpoint"},"query":{"type":"string","description":"Search query or input text"},"params":{"type":"object","description":"Additional parameters"}}},"responseSchema":{"type":"object","description":"API response data"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.077813","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.077813/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.077813","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.077813","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_2W_lcA68ENWvGho2HJhIT","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.077813","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Calculates the geographic distance between two locations via a paid per-call API using USDC via x402","exampleAgentPrompt":"What is the geographic distance between Chicago and Miami? I need the result in kilometers.","exampleUseCases":[{"title":"Route distance for logistics planning","prompt":"Calculate the straight-line distance between our warehouse in Dallas, Texas and the delivery destination in Phoenix, Arizona — I need it in kilometers for our shipping estimate."},{"title":"Nearest city distance comparison","prompt":"How far apart are London and Paris in miles? I'm trying to figure out which European city pairs are close enough for a day trip."},{"title":"Distance check for service radius","prompt":"Is the location at Seattle, Washington within 150 miles of Portland, Oregon? I need to know if it falls inside our service coverage area."}],"resultDescription":"Returns a computed geographic distance value between the two specified locations, likely including the distance magnitude and unit (e.g. kilometers or miles), based on the query input provided.","failureModes":["Missing or malformed 'query' field returns a 400 validation error","Ambiguous or unrecognizable location names may return no result or an error","Payment failure via x402 (insufficient USDC balance or facilitator issue) results in 402 Payment Required","Network timeout on the Vercel deployment may return a 504 or 500 error","Poorly structured params object may cause unexpected computation results"],"whenToPreferThis":"Choose this endpoint when you need a quick, pay-per-call geographic distance computation without needing to set up a full mapping SDK or API subscription. It is well-suited for agents that occasionally need distance lookups and prefer micropayment-based access via USDC over recurring API key billing. Prefer alternatives (e.g. Google Maps Distance Matrix, OpenRouteService) if you need driving distance, turn-by-turn routing, or high-volume batch processing.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-16T13:02:32.533Z","isFirstParty":false}