Transportation

Airports and Air Routes

Airports ranked for a period by departing passengers, flights, on-time %, delays or cancellations (/airports), one airport with its monthly series, airlines and top routes (/airports/{airport}), non-stop routes ranked by passengers (/air-routes) and passengers on flights within, to and from the US by month (/air-travelers), from official public data.

Answers are {period, total, limit, offset, sort, order, rows, as_of, about}. /air-travelers answers {total, rows: [{month, passengers, domestic_passengers, international_passengers, seats, departures, load_factor_pct, change_pct}]}.

get/airports

Request

  • Base URL: https://api.dataporium.io
  • URL: https://api.dataporium.io/airports
  • Auth: API key in query parameter apikey

Query parameters

periodstring

latest (default), ttm, a year or a month

sortstring

/airports: passengers (default), flights, on_time_pct, cancelled_pct; /air-routes: passengers (default), seats, departures, load_factor_pct, distance_miles

statestring

/airports: US state(s)

airportstring

/air-routes: routes leaving or arriving at this airport

limitinteger

Rows per page, 1 to 1000 (default 100)

Response

Successful response (JSON).

object required

Changes

No recorded changes to this operation across all 1 revision of this API.