The API provides the following detailed flight information:
- Destinations
- Airlines that operate the flights to and from Schiphol
- Aircraft types operated by the airlines
- Flights data elements
- Flight statuses
- Making requests
In all requests both the APP ID and APP KEY have to be provided. Up to and including version 3 of the API, these should be included as request parameters (app_id and app_key). For version 4 and higher these are included in headers (app_id and app_key) instead.
For all requests it is also necessary to provide the version of the requested resource in a header. (resourceVersion).
Finally, an accept header needs to be provided with the request. In this header you can specify if you want json or xml as a response. The default response is json.
Acceptable values are: application/json, application/xml, application/*, /
Example API Version 4
Accept: application/json
app_id: f69a793c
app_key: 34bcf52c178f399483a27cba157c0c62
ResourceVersion: v4
**HTTP Call**
domain/flights?includedelays=false&page=0&sort=%2BscheduleTime
Pagination For all requests that match more than 20 results pagination is applied in the response. This is done in the following manner.
When the first page of a multi-page result set is returned it will contain the link header with the following absolute paths
HTTP Reponse Header
link: <domain/flights?app_id=f69a793c&app_key=34bcf52c178f399483a27cba157c0c62&page=1>; rel="next", <domain/flights?app_id=f69a793c&app_key=34bcf52c178f399483a27cba157c0c62&page=155>; rel="last"
When other pages, being not the first or last, of a multi-page result set are returned it will contain the link header with the following absolute paths
HTTP Reponse Header
link: <domain/flights?app_id=f69a793c&app_key=34bcf52c178f399483a27cba157c0c62>; rel="first", <domain/flights?app_id=f69a793c&app_key=34bcf52c178f399483a27cba157c0c62&page=1>; rel="prev", <domain/flights?app_id=f69a793c&app_key=34bcf52c178f399483a27cba157c0c62&page=3>; rel="next", <domain/flights?app_id=f69a793c&app_key=34bcf52c178f399483a27cba157c0c62&page=155>; rel="last"
When the last page of a multi-page result set is returned it will contain the link header with the following absolute paths
HTTP Reponse Header
link: <domain/flights?app_id=f69a793c&app_key=34bcf52c178f399483a27cba157c0c62>; rel="first", <domain/flights?app_id=f69a793c&app_key=34bcf52c178f399483a27cba157c0c62&page=154>; rel="prev"
::