Airports
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 in USDC per successful call, paid with x402 (Base, Solana or Arc); failed calls are not charged.
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 |