Setup
Put them in your environment or
.env; Data APIs covers the other ways.
Notes
- Every call is billed: each endpoint has a fee per result set (15 records), and a call that returns several pages pays for each page, up to max_pages. Fees run from $0.002 (airport weather) to $0.05 (flight search) per set and more for history; the Personal tier includes $5 of free usage a month.
- Rate limits by tier: Personal 10 result sets a minute, Standard 5 a second, Premium 100 a second.
- Prefer ICAO codes (KJFK, UAL, UAL1234) over IATA to avoid ambiguous matches.
- Paging: links.next is a link to the next set of records; pass its cursor value back as cursor.
- Alerts, flight intents, maps, Foresight and history endpoints are not in this entry.
Endpoints
Get a flight’s status
- Billed per result set returned: max_pages above 1 bills each page fetched.
- Use the ICAO ident (UAL1234) rather than IATA (UA1234) to avoid matching the wrong flight.
Search airborne flights
- Billed per result set returned: max_pages above 1 bills each page fetched.
- Among the dearer calls per result set; narrow the query and keep max_pages low.
Get a flight’s track
- Older than 10 days needs the history endpoints, which are not in this entry.
Get a flight’s latest position
Get an airport
List recent departures from an airport
- Billed per result set returned: max_pages above 1 bills each page fetched.
List recent arrivals at an airport
- Billed per result set returned: max_pages above 1 bills each page fetched.
List upcoming departures from an airport
- Billed per result set returned: max_pages above 1 bills each page fetched.
Find flights between two airports
- Billed per result set returned: max_pages above 1 bills each page fetched.
- Results can hold multi-leg trips, so the response shape differs from the other flight lists.
Get an airport’s delays
Get an airport’s weather observations
- Billed per result set returned: max_pages above 1 bills each page fetched.
List published airline schedules
- Billed per result set returned: max_pages above 1 bills each page fetched.