Find airports by IATA or ICAO code, name or distance
airportsAirport lookup in a bundled OurAirports extract (public domain, dated in the answer): by IATA or ICAO code, by name or city words, or the nearest airports within a radius (up to 300 km) of a point. Covers large and medium airports and every airport with an IATA code; small airports without one are left out. Name, codes, type, city, country, coordinates, elevation and Wikipedia link. No time zone (not in the source). Price: $0.002 per successful call, paid with x402 (USDC on Base, Solana and 10 more networks); failed calls are not charged.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "airports"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Name or city words, 3 to 60 characters (one of code, q or lat and lon) | |
| lat | No | Latitude for the nearest search (with lon) | |
| lon | No | Longitude for the nearest search (with lat) | |
| code | No | IATA (3 letters) or ICAO (4 letters) code (one of code, q or lat and lon) | |
| limit | No | Airports to return, 1 to 20, default 10 | |
| radiusKm | No | Search radius for the nearest search, 1 to 300, default 300 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | ||
| query | No | ||
| source | No | ||
| airports | No | ||
| dataDate | No | ||
| checkedAt | No |