Authentication
For all of the Skyscanner API we use API keys to allow access to the APIs so that we know who is requesting the data.
How to get a API key
To access the Skyscanner APIs, you're required to submit an application with our Partnerships team for reviewal and our team will reach out to you if your application is successful. Please ensure you provide sufficient information in your application.
How to use the API key
You must include the API key in all API requests to the server as a request header x-api-key
.
warning
Make sure that you are accessing the APIs through HTTPS to keep your API key safe.
Be careful when sharing API keys. Do not publish them in public code repositories or add them to client-side API calls.
Sample of passing the API key:
curl --location --request POST 'https://partners.api.skyscanner.net/apiservices/v3/flights/live/search/create' \
--header 'x-api-key: ADD-YOUR-API-KEY-HERE' \
--data-raw '...'