Quick start guide
Introduction
The Flights Live Prices API is built on top of Skyscanner's flight search stack and gives the current best prices of flights for a given search request. The flight prices are retrieved in real time from our airline and inventory partners each time a search request is received.
Sample requests
/create
curl --request POST 'https://partners.api.skyscanner.net/apiservices/v3/flights/live/search/create' --header 'x-api-key: your-api-key' --data ' {"query":{"market":"UK","locale":"en-GB","currency":"GBP","query_legs":[{"origin_place_id":{"iata":"LHR"},"destination_place_id":{"iata":"SIN"},"date":{"year":2024,"month":12,"day":22}}],"adults":1,"cabin_class":"CABIN_CLASS_ECONOMY"}}'
/poll
In the response from the createSearch
retrieve the sessionToken
and paste it in the pollSearch
URI replacing the SESSION_TOKEN
placeholder as below:
curl --location --request POST 'https://partners.api.skyscanner.net/apiservices/v3/flights/live/search/poll/SESSION_TOKEN' --header 'x-api-key: your-api-key'
API documentation
For more information please see flights live prices API documentation