Airport lookup by IATA or ICAO code with coordinates and elevation
ref_airportLook up an airport by IATA or ICAO code and get its name, city, country, ISO 3166-2 region code, WGS-84 coordinates and elevation, or find the nearest airports to a coordinate within a radius. Covers every airport worldwide that holds a three-letter IATA code and scheduled service. Returns the code type that matched and the distance in kilometres for proximity results. Time zones are not included. Price: $0.05 per successful call, paid over x402 (USDC on Base).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | 3-letter IATA or 4-letter ICAO code, case-insensitive. Accepted: a 3-letter IATA or 4-letter ICAO code. | |
| near | No | lat,lon to search around. Accepted: lat,lon. | |
| limit | No | Maximum results 1-25, default 5. Only with near. Accepted: integer 1-25. | |
| country | No | ISO 3166-1 alpha-2 filter. Accepted: an ISO 3166-1 alpha-2 code. | |
| radius_km | No | Search radius in km, 1-1000, default 100. Only with near. Accepted: number 1-1000. |