Airport Data API
Search 8,799 airports by code, city or name, and get the fields a travel product needs in one response.
Ask for early access OpenAPI specPress Run to see the result.
Show raw JSON (for developers)
What you can build
Airport search box
Find airports as people type a code, city or airport name.
Correct local time
Each airport has its IANA time zone and its current UTC offset.
Nearest airports
Send a location and get airports by distance.
Requests
| Need | Request |
|---|---|
| By IATA or ICAO code | /data-api/v1/airports/?code=LHR |
| Search as people type | /data-api/v1/airports/?search=heathrow |
| Top airports of a country | /data-api/v1/airports/?country=GB |
| Nearby airports | /data-api/v1/airports/near/?lat=25.2&lon=55.3 |
Fields
| Field | Meaning |
|---|---|
iata, icao | Airport codes. icao is null when we do not have it. |
name, city | Airport and city name. |
country, country_code | Country name and ISO code. |
latitude, longitude | Airport location. |
timezone, utc_offset_now | IANA zone and the offset in hours right now. |
size, scheduled_service | Large, medium or small. Scheduled service is true, false, or null when not available. |
data_status, uncertain_fields | no_open_issue, under_review or unknown, and the fields concerned. |
dataset_updated_at | When the whole airport table was last updated. It is not a review date for one airport. |
elevation_ft | Airport elevation in feet, or null. |
passenger_status, use_instead | closed (all passenger flights moved) or not_for_passenger_flights (military or business-jet field), with the airport travellers use instead; flight_offers_seen when a flight provider returned an offer for it in the last 90 days; otherwise unknown. |
seen_in_our_searches | Flight offers that providers returned for searches made on CloseFlight. They show what was offered, not that a flight took off. destinations_from_here: destinations offered from this airport. airlines_departing_or_arriving: airlines in offers to or from it. last_flight_offer_seen, since. Updated every Monday; a pair not seen for 180 days is removed, at most 300 destinations and 150 airlines per airport. tracking is not_started before the first weekly update, unavailable when the data cannot be read at the moment (lists are then empty and mean nothing), otherwise active. An empty list means not seen yet, not that no flight exists. |
Usage limits
| Calls | 10,000 a day |
|---|---|
| Results | Up to 20 a call |
| Different records | 2,000 a day. Repeated lookups do not count again. |
| Access | API only, with no bulk export. |
Questions
How many airports are included?
The API covers 8,799 airports with IATA codes. Most also have an ICAO code; the icao field is null when we do not have it.
How often is the data checked?
The airport table is renewed every week. Each record shows when the whole table was last updated.
What does under_review mean?
Our weekly check found a difference between sources for that airport. The uncertain_fields list names the affected fields.
Does a city return all its airports?
A city search returns the matching airports, with those that have scheduled service ranked first.
Add it to your product today
One key, one header, plain JSON.
Ask for early access