Airport lookup, IATA and ICAO codes
airport_lookupLook up airports by IATA or ICAO code, name or city (Paris, JFK, EGLL, Heathrow): codes, full name, city, country, region, coordinates, elevation, size, scheduled service and Wikipedia link, for ~9,500 airports worldwide; or give lat and lon for the nearest airports with distances. Data: OurAirports (public domain), committed snapshot, answers in milliseconds. Use for travel tools, flight data enrichment and geocoding airport codes. Example: q=Stockholm. Price $0.01/call via x402 USDC or a card key (/credits), first 25 free; failed calls free. Reads or computes only and changes nothing; each call is charged, so repeats are not free.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | IATA code, ICAO code, airport name or city | |
| lat | No | Latitude, for the nearest airports (with lon) | |
| lon | No | Longitude, for the nearest airports (with lat) | |
| limit | No | Number of airports (1-25, default 5) | |
| country | No | Only airports in this country (code or name) | |
| scheduled | No | true: only airports with scheduled passenger service |