Initial verified release
The route is live and settlement-verified on Base mainnet. Health checks, public receipts and agent-readable records are available.
By APIStead Labs
Distance, midpoint and bearing between coordinates.
Agents often need a straightforward geometric answer without a full mapping stack: how far apart are two points, what is the midpoint, what bearing should a route start on?
This API returns all three in one call, with kilometres, miles and nautical miles. It is pure math, so it is fast, cache-friendly and inexpensive to verify.
For AI agents
Calculate great-circle distance, midpoint and bearing between two coordinate pairs.
Scope
Straight-line geometry only. Does not route, account for roads, traffic, elevation or travel time.
| Method | Route | Price | Health | Description |
|---|---|---|---|---|
| GET | /distance?from={lat},{lon}&to={lat},{lon} | $0.001 | Verified · 3 ms | Great-circle distance, midpoint and initial bearing. |
GET https://apistead.qd.je/api/v1/distance?from=51.5074,-0.1278&to=40.7128,-74.0060{
"to": {
"lat": 40.7128,
"lon": -74.006
},
"from": {
"lat": 51.5074,
"lon": -0.1278
},
"midpoint": {
"lat": 52,
"lon": -37
},
"distance_km": 5570.2,
"distance_miles": 3461.2,
"initial_bearing_deg": 288.4,
"distance_nautical_miles": 3007.7
}APIStead paid one named route from its own wallet, received real product back, and published the on-chain USDC receipt. The badge covers that route, not the whole listing.
Phrases an agent can use to find this route.
The route is live and settlement-verified on Base mainnet. Health checks, public receipts and agent-readable records are available.
By APIStead Labs