1. Home
  2. Docs
  3. Airports
  4. Authenticated API Endpoints
  5. Airport Availability

Airport Availability

This endpoint allows to retrieve availability for all airport services at a given location.

Endpoint

https://api.aviowiki.com/airports/{aid}/availability

Request Example

curl --request GET \
  --url 'https://api.aviowiki.com/airports/APT-Q9PT-YKXC/availability?dateTime=2020-08-31T00%3A00&local=true' \
  --header 'authorization: Bearer 00112233-4455-6677-8899-aabbccddeeff'

Test it now

Request parameters

Using the following query parameters it is possible to request Availability information for a specific date/time and manipulate the time reference in the response.

ParameterTypeLocationDescription
aidstringPathThe AID of the airport for which Availability should be retrieved.
dateTimestringQuery StringAn ISO 8601 date-time string. For example 2020-03-15T00:00:00.
The time reference for this parameter is determined by the value of local.
Default, if not specified, is the time of the request.
localbooleanQuery StringIf true it sets the reference time for the request and response to the local time of the airport.
Default, if not specified, is false.

Response

The response contains an Availability object with details for the 24 hours following the dateTime, if specified, or the current time.

Was this article helpful to you? Yes No

How can we help?