On Android — itinerary from your phoneGet it on Google Play
On Telegram — free itinerary in chatOpen
Find my order
✈CloseFlight Telegram

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 spec

Press Run to see the result.

Show raw JSON (for developers)
Demo: 30 calls a day, 5 results a call.

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

NeedRequest
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

FieldMeaning
iata, icaoAirport codes. icao is null when we do not have it.
name, cityAirport and city name.
country, country_codeCountry name and ISO code.
latitude, longitudeAirport location.
timezone, utc_offset_nowIANA zone and the offset in hours right now.
size, scheduled_serviceLarge, medium or small. Scheduled service is true, false, or null when not available.
data_status, uncertain_fieldsno_open_issue, under_review or unknown, and the fields concerned.
dataset_updated_atWhen the whole airport table was last updated. It is not a review date for one airport.
elevation_ftAirport elevation in feet, or null.
passenger_status, use_insteadclosed (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_searchesFlight 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

Calls10,000 a day
ResultsUp to 20 a call
Different records2,000 a day. Repeated lookups do not count again.
AccessAPI 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