airports

Get a single Airport record

Changed on

Get a single Airport record

get/v3/airports/{id}/

Request

  • Base URL
    https://api.aviapages.com (the document declares no server; this is the origin it was published from)
  • URL
    https://api.aviapages.com/v3/airports/{id}/
  • Auth
    API key in header Authorization

Path parameters

idinteger required

A unique integer value identifying this airport.

Query parameters

on_datestring date

Adjusts sunrise, sunset and time_shift to chosen date, format "yyyy-mm-dd" or "yyyy-mm-ddThh:mm"

Response

idinteger required
pcnstring nullable

Pavement Classification Number

namestring required
time_zonestring nullable
lidstring nullable

Local Identifier

latitudenumber double nullable
longitudenumber double nullable
tower_hoursstring nullable
phonestring nullable
faxstring nullable
icaostring nullable
iatastring nullable
slugstring nullable
airport_idinteger required

Deprecated use id instead

city_namestring nullable required

Deprecated use city.name instead

sunsetstring time nullable required

Sunset time "on_date" query param required

time_shiftstring nullable required

UTC offset

sunrisestring time nullable required

Sunrise time "on_date" query param required

country_namestring nullable required

Deprecated use country.name instead

Changes

    • breaking

      the response property's maxLength was unset from 254 for the response status

    • breaking

      the response property's maxLength was unset from 200 for the response status

    • breaking

      added subschema #1 subschema #2 to the response property oneOf list for the response status

    • breaking

      added subschema #1 subschema #2 to the response property oneOf list for the response status

    • breaking

      the response's property type changed from string to no type, and format from email to no format for status

    • breaking

      the response's property type changed from string to no type, and format from uri to no format for status