Global Airports & Flight Distance API
Published by @mdforge
· Verified Publisher
99.98% uptime
~12ms avg
AI Score 94/100
Search 9,700+ global airports by IATA/ICAO/city, find nearest airports by GPS, and compute flight distance, duration & CO2.
Live Interactive Playground
https://api.indieapis.com/v1/airports-airlines-db/airport
Get coordinates, elevation, city, country, and type for any airport code.
Live JSON Response
Click "Run Live Test" to query live data
{
"ok": true
}
Overview & Documentation
Search 9,700+ global airports by IATA/ICAO/city, find nearest airports by GPS, and compute flight distance, duration & CO2.
Zero-proxy production API with hard monthly spend caps ($0 surprise overages) and native Streamable HTTP MCP support.
Gateway Headers & Hard Caps
Every response includes X-Quota-Limit, X-Quota-Used, X-Quota-Remaining, and X-Quota-Reset.
When your monthly quota is reached, the gateway returns 429 QUOTA_EXCEEDED so you are never billed surprise overages.
Complete Endpoint Reference (4 Endpoints)
Base URL: https://api.indieapis.com/v1/airports-airlines-db · Scoped MCP: https://indieapis.com/mcp/airports-airlines-db
| Method | Path | Parameters | Description |
|---|---|---|---|
| GET | /airport |
code*
|
Get coordinates, elevation, city, country, and type for any airport code. |
| GET | /airports |
q, limit
|
Search 9,700+ airports by name, city, code, or ISO2 country. |
| GET | /nearest |
city
|
Find closest airports with IATA codes within 500km. |
| GET | /flight-distance |
from*, to*
|
Great-circle km/miles/nm, jet flight time, and economy CO2 estimate. |