Get list of Airports
Changed onGet list of Airport records. All parameters are optional
Request
- Base URLhttps://api.aviapages.com (the document declares no server; this is the origin it was published from)
- URLhttps://api.aviapages.com/v3/airports/
- AuthAPI key in header Authorization
Query parameters
Multiple values may be separated by commas.
Multiple values may be separated by commas.
Adjusts sunrise, sunset and time_shift to chosen date, format "yyyy-mm-dd" or "yyyy-mm-ddThh:mm"
Ordering fields: id, name, city_name, country_name, iata, icao, lid, distance
- id - id
- -id - id (descending)
- name - Airport name
- -name - Airport name (descending)
- city_name - City name
- -city_name - City name (descending)
- country_name - Country name
- -country_name - Country name (descending)
- iata - Airport IATA code
- -iata - Airport IATA code (descending)
- icao - Airport ICAO code
- -icao - Airport ICAO code (descending)
- lid - Airport local identifier
- -lid - Airport local identifier (descending)
- distance - Distance by ip(send "user_ip" in query params)
- -distance - Distance by ip(send "user_ip" in query params) (descending)
A page number within the paginated result set.
Search by name, country, ICAO code, IATA code or city name
Search by city name
Search by coordinates, "latitude,longitude". Used in conjunction with search_coords_radius.
Coordinate airport search radius parameter, km
Search by country name, ISO 3166-1 alpha-2 and ISO 3166-1 alpha-3 codes
Search by airport IATA code
Search by airport ICAO code
Search by airport local identifier
Search by airport name
Response
Example response
{
"count": 123,
"previous": "http://api.example.org/accounts/?page=2",
"per_page": 20
}Changes
- breaking
the
//response property's maxLength was unset from254for the response status - breaking
the
//response property's maxLength was unset from200for the response status - breaking
added
subschema #1subschema #2to the//response propertyoneOflist for the response status - breaking
added
subschema #1subschema #2to the//response propertyoneOflist for the response status - breaking
the
//response's property type changed fromstringto no type, and format fromemailto no format for status - breaking
the
//response's property type changed fromstringto no type, and format fromurito no format for status
- breaking
- info
added the optional property
to the response with the status - info
the response property
became required for the status - info
the response property
became required for the status
- info