How to use apikey

You need to use the apikey to autheticate your application when calling APIs. Here's guide on how to get the apikey generated for you.

Now, let's get the apikey and use it to perform some actual requests.

Navigate to MyApps and click on your app to expand its details. Under property Consumer Key you'll see your apikey which you should use to authenticate your app. Copy it to a clipboard.

When working with RESTful services you can use a number of tools, like cURL, Postman etc. Here we'll describe how to request data with the apikey using built in interactive documentation as well as make the same requests with cURL. The request we are going to describe is getting list of all available airports.

Navigate to APIs page. This is the home page for all the documentation. Here is some short description on each API:

Farefinder API - you can use it to find the cheapest connections between airports.

Timetable API - use it to get information about scheduled flights, schedule period etc.

Flightinfo API - returns detailed information about flights status at current day

Aggregate API - use it to get aggregated data from other APIs (Core and Geolocation) in one call

We'll be looking for all airports enepoint - this can be found in Core API.
What you see here is the whole list of available endpoints in the API. Notice all endpoints have meaningful name and helpful description. Click on getAirports.

Your documentation page should look similar to this. Please notice endpoint's detailed description about parameters, security, content type etc. Before you send this reqeust you need to insert you API Key to authenticate yourself. Plece where you can do this was marked with a red box. Click on it.

Now when everything is ready you can click on Send this request button and admire the results - list of all available airports. Congratulations, you've just performed your first request. You can see what happen behind the scenes by clicking on tab cURL.