← Back to directory

Distance calculator API: great-circle (haversine) distance between two coordinat...

https://x402.forgemesh.io/distance-between

Overview

Distance calculator API: great-circle (haversine) distance between two coordinates in km, miles, and nautical miles, plus initial compass bearing. Deterministic and auditable — cheaper than burning reasoning tokens, zero arithmetic-hallucination risk, and the result can be cited. For logistics, travel, delivery, and geo agents. Pairs with /geocode-city for name inputs.

Protocol x402 (POST)
Price $0.0050
Payment Asset USD Coin
Payment Network eip155:8453
Category uncategorized
Provider x402
Source bazaar
Indexed 2026-07-16 01:10:13

Health

Status healthy
Latency (p50) 241ms
Uptime (30d) 100.0%
Reliability Score 95/100
Last Checked 2026-10-28 07:01:24
Last Healthy 2026-10-28 07:01:24
Consecutive Failures 0

x402 Payment Validation

Payment Requirements Valid
Asset Verified Known USDC
Facilitator —

Input Schema

{ "body": { "lat1": "29.76", "lat2": "40.71", "lon1": "-95.36", "lon2": "-74.00" }, "bodyType": "json", "method": "POST", "type": "http" }

Output Schema

{ "example": { "initial_bearing_deg": 51.5, "km": 2281.55, "miles": 1417.7 }, "type": "json" }