{"uid":"cap_us4RTebSDOZr3xeD0KCyA","slug":"x402-toolbox-geo-distance-between-coordinates-0bcdd59d","name":"x402-toolbox Geo Distance Between Coordinates","description":"309 deterministic pay-per-call tools for AI agents over x402 (USDC, Base). No signup, no API key: the payment is the identity.","url":"https://x402-toolbox.shablony-pro.workers.dev/geo/distance-between-coordinates?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"schema":{"type":"string"}}},"responseSchema":{"type":"json","example":{"ok":true,"paid":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_a3u5mLk1K75Rdwb_7dGtE","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Calculates the straight-line (geodesic) distance between two geographic coordinate pairs, paid per call via x402/USDC on Base.","exampleAgentPrompt":"What is the straight-line distance between coordinates 40.7128° N, 74.0060° W (New York City) and 51.5074° N, 0.1278° W (London)?","exampleUseCases":[{"title":"Flight path distance estimator","prompt":"Calculate the straight-line distance between Los Angeles (34.0522° N, 118.2437° W) and Tokyo (35.6762° N, 139.6503° E) in kilometers so I can estimate flight time."},{"title":"Delivery radius checker","prompt":"How far apart are coordinates 37.7749° N, 122.4194° W and 37.8044° N, 122.2712° W? I need to know if a delivery address falls within a 15-mile radius of our warehouse."},{"title":"Nearest store proximity check","prompt":"Give me the distance between 48.8566° N, 2.3522° E (Paris headquarters) and 48.8738° N, 2.2950° E (candidate store location) so I can see if they're too close to each other."}],"resultDescription":"Returns a JSON object with a computed distance value between the two provided coordinate pairs, along with confirmation that the payment was accepted (ok: true, paid: true). The distance is expressed in a standard unit (likely kilometers or meters).","failureModes":["Missing or malformed latitude/longitude inputs return an error","Coordinates out of valid range (-90 to 90 lat, -180 to 180 lon) may produce errors","Payment failure via x402 (insufficient USDC balance) results in a 402 response and no computation","Worker cold-start or timeout on Cloudflare edge may produce a 5xx error","Schema parameter passed incorrectly may yield unexpected results"],"whenToPreferThis":"Choose this endpoint when you need a fast, no-signup, pay-per-call geodesic distance computation between two coordinate pairs and are already operating within the x402/USDC payment ecosystem. It is ideal for AI agents that need to avoid API key management and want micropayment-based access. Prefer it over full geocoding APIs when you already have coordinates and only need the distance metric.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T06:49:26.804Z","isFirstParty":false,"canonicalSlug":"x402-toolbox-geo-distance-between-coordinates-0bcdd59d"}