← Back to directory

Great-circle distance and bearing between two places. Geocodes both place names ...

https://api.agent-data.workers.dev/api/v1/world/distance

Overview

Great-circle distance and bearing between two places. Geocodes both place names via Nominatim, then computes haversine distance (km, miles) and initial bearing. Use for travel planning or proximity checks.

Protocol x402
Price $0.0050
Payment Asset USD Coin
Payment Network eip155:8453
Category uncategorized
Provider Crypto & Web Data API for Agents
Source bazaar
Indexed 2026-11-12 18:08:16

Health

Status unknown
Latency (p50) —
Uptime (30d) —
Reliability Score —
Last Checked Never
Last Healthy Never
Consecutive Failures 0

x402 Payment Validation

Payment Requirements —
Asset Verified —
Facilitator —

Input Schema

{ "method": "GET", "queryParams": { "from": "Berlin", "to": "Paris" }, "type": "http" }

Output Schema

{ "example": { "bearing_deg": 247, "distance_km": 877.2, "distance_miles": 545, "from": { "lat": 52.5173885, "lon": 13.3951309, "name": "Berlin, Germany" }, "source": "computed (haversine); geocoding © OpenStreetMap contributors", "to": { "lat": 48.8534951, "lon": 2.3483915, "name": "Paris, Ile-de-France, Metropolitan France, France" } }, "type": "json" }