← Back to directory

Vextorium · Distance between coordinates

https://api.vextorium.com/v1/geo-distance

Overview

Distance between two coordinates (Vincenty geodesic on WGS84 plus great-circle), in km, miles and nautical miles, initial bearing and compass direction, midpoint and estimated time on foot, by car and by plane.

Protocol x402 (POST)
Price $0.0030
Payment Asset USDC
Payment Network solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp
Category data/location
Provider Vextorium
Source bazaar
Indexed 2026-10-03 21:23:29

Health

Status healthy
Latency (p50) 185ms
Uptime (30d) 100.0%
Reliability Score 100/100
Last Checked 2026-10-31 07:03:36
Last Healthy 2026-10-31 07:03:36
Consecutive Failures 0

x402 Payment Validation

Payment Requirements Valid
Asset Verified Known USDC
Facilitator —

Input Schema

{ "body": { "lat1": 40.4168, "lat2": 41.3874, "lon1": -3.7038, "lon2": 2.1686 }, "bodyType": "json", "method": "POST", "type": "http" }

Output Schema

{ "example": { "distance_km": 506.3, "distance_miles": 314.6, "distance_nautical_miles": 273.38, "estimated_time_h": { "car_80kmh": 6.33, "plane_800kmh": 1.13, "walking_5kmh": 101.26 }, "heading": "E", "initial_bearing_degrees": 75.75, "method": "Vincenty WGS84", "midpoint": { "lat": 40.939351, "lon": -0.789164 }, "note": "Straight-line distance, not by road.", "spherical_distance_km": 505.096 }, "type": "json" }

Also available via

MPP
healthy
$0.0030
on
View details →