Overview

Great-circle distance between two airports by IATA or ICAO code in km, miles and nautical miles, bearing, approximate flight time and estimated economy-class CO2 per passenger.

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

Health

Status healthy
Latency (p50) 206ms
Uptime (30d) 98.5%
Reliability Score 94.2/100
Last Checked 2026-10-31 07:05:12
Last Healthy 2026-10-31 07:05:12
Consecutive Failures 0

x402 Payment Validation

Payment Requirements Valid
Asset Verified Known USDC
Facilitator —

Input Schema

{ "body": { "destination": "JFK", "origin": "MAD" }, "bodyType": "json", "method": "POST", "type": "http" }

Output Schema

{ "example": { "co2_per_passenger_kg_approx": 686, "destination": { "altitude_m": 4, "city": "New York", "country": "US", "iata": "JFK", "icao": "KJFK", "lat": 40.639447, "lon": -73.779317, "name": "John F. Kennedy International Airport", "region": "US-NY", "regular_flights": true, "type": "large" }, "distance_km": 5775.071, "distance_miles": 3588.463, "distance_nautical_miles": 3118.289, "flight_time_approx_h": 7.72, "initial_bearing_degrees": 294.7, "note": "Straight-line distance; the real route is usually 3-8% longer. CO2 is indicative.", "origin": { "altitude_m": 609, "city": "Madrid", "country": "ES", "iata": "MAD", "icao": "LEMD", "lat": 40.493407, "lon": -3.572249, "name": "Adolfo Suárez Madrid–Barajas Airport", "region": "ES-MD", "regular_flights": true, "type": "large" } }, "type": "json" }