Skyscanner Flights Itinerary API
The Skyscanner Flights Itinerary API opens one itinerary from the Skyscanner Flights API, as Skyscanner's booking panel shows it. Pass the itinerary_token of an itinerary from a Skyscanner Flights search. The response has the itinerary's legs and flights, with each flight's aircraft, such as A380 (jumbo), and its seat layout, seat pitch and onboard services in extensions, when Skyscanner lists them. It also has the sellers that offer the itinerary, each with a price and a booking link. Each option names its fare in fare_type, such as Eco Flex, with its baggage, and with changes and cancellation when Skyscanner lists them, each included, for fee or not included. A seller can offer several fares. The itinerary is priced for the passengers, travel class, country, currency and bags of the search that found it, and its price is its cheapest option. A fee on a bag that is included is already part of the option's price. An option sold as two tickets, one for each leg, has is_split_booking, with each ticket's seller, price and booking link under departure and arrival. A token stops working once its flights have departed. When Skyscanner no longer has the itinerary, the response carries an error instead.
API Parameters
Itinerary
-
- Name
-
itinerary_token - Required
- Required
- Description
-
The token of the itinerary to open. Use the
itinerary_tokenof an itinerary returned by the Skyscanner Flights API. The itinerary is priced for the passengers, travel class, country, currency and bags of that search. A token stops working once its flights have departed.
Engine
-
- Name
-
engine - Required
- Required
- Description
-
Parameter defines an engine that will be used to retrieve real-time data. It must be set to
skyscanner_flights_itinerary.
API key
-
- Name
-
api_key - Required
- Required
- Description
-
The
api_keyauthenticates your requests. Use it as a query parameter (https://www.searchapi.io/api/v1/search?api_key=YOUR_API_KEY) or in the Authorization header (Bearer YOUR_API_KEY).
Zero Data Retention
-
- Name
-
zero_retention - Enterprise Only
- Enterprise Only
- Required
- Optional
- Description
-
Set this parameter to
trueto disable all logging and persistent storage. No request parameters, HTML, or JSON responses are stored or logged. Suitable for high-compliance use cases. Debugging and support may be limited while enabled.
API Examples
Itinerary With Its Aircraft
https://www.searchapi.io/api/v1/search?engine=skyscanner_flights_itinerary&itinerary_token=eyJpZCI6IjExMTgyLTI2MTIxMjE0MzAtLTMyMzQ4LTAtMTM1NTQtMjYxMjEyMTgyMCIsInNlc3Npb24iOiI2YmQ2MTU4ZS1jNTFhLTRkZGQtODUxMi0zZmNkM2Q0ZDgxYjQiLCJzZWFyY2giOnsiZGVwYXJ0dXJlX2lkIjoiRFhCIiwiYXJyaXZhbF9pZCI6IkxIUiIsIm91dGJvdW5kX2RhdGUiOiIyMDI2LTEyLTEyIiwiZmxpZ2h0X3R5cGUiOiJvbmVfd2F5IiwiZ2wiOiJhZSIsImN1cnJlbmN5IjoiQUVEIn19
- Python
- Node
- Ruby
- Java
- Go
- PHP
- Bash
- R
- Kotlin
- Swift
- C#
- C
- C++
- requests
import requests
url = "https://www.searchapi.io/api/v1/search"
params = {
"engine": "skyscanner_flights_itinerary",
"itinerary_token": "eyJpZCI6IjExMTgyLTI2MTIxMjE0MzAtLTMyMzQ4LTAtMTM1NTQtMjYxMjEyMTgyMCIsInNlc3Npb24iOiI2YmQ2MTU4ZS1jNTFhLTRkZGQtODUxMi0zZmNkM2Q0ZDgxYjQiLCJzZWFyY2giOnsiZGVwYXJ0dXJlX2lkIjoiRFhCIiwiYXJyaXZhbF9pZCI6IkxIUiIsIm91dGJvdW5kX2RhdGUiOiIyMDI2LTEyLTEyIiwiZmxpZ2h0X3R5cGUiOiJvbmVfd2F5IiwiZ2wiOiJhZSIsImN1cnJlbmN5IjoiQUVEIn19"
}
response = requests.get(url, params=params)
print(response.text)
{
"search_metadata": {
"id": "search_Y80BKjxagxvjc2Y35nMQeWO6",
"status": "Success",
"created_at": "2026-11-17T11:57:05Z",
"request_time_taken": 18.72,
"parsing_time_taken": 0.02,
"total_time_taken": 18.75,
"request_url": "https://www.skyscanner.com/transport/flights/dxb/lhr/261212/config/11182-2612121430--32348-0-13554-2612121820?adultsv2=1&cabinclass=economy&rtn=0¤cy=AED&locale=en-US&market=AE",
"html_url": "https://www.searchapi.io/api/v1/searches/search_Y80BKjxagxvjc2Y35nMQeWO6.html",
"json_url": "https://www.searchapi.io/api/v1/searches/search_Y80BKjxagxvjc2Y35nMQeWO6"
},
"search_parameters": {
"engine": "skyscanner_flights_itinerary",
"itinerary_token": "eyJpZCI6IjExMTgyLTI2MTIxMjE0MzAtLTMyMzQ4LTAtMTM1NTQtMjYxMjEyMTgyMCIsInNlc3Npb24iOiI2YmQ2MTU4ZS1jNTFhLTRkZGQtODUxMi0zZmNkM2Q0ZDgxYjQiLCJzZWFyY2giOnsiZGVwYXJ0dXJlX2lkIjoiRFhCIiwiYXJyaXZhbF9pZCI6IkxIUiIsIm91dGJvdW5kX2RhdGUiOiIyMDI2LTEyLTEyIiwiZmxpZ2h0X3R5cGUiOiJvbmVfd2F5IiwiZ2wiOiJhZSIsImN1cnJlbmN5IjoiQUVEIn19"
},
"itinerary": {
"id": "11182-2612121430--32348-0-13554-2612121820",
"price": 2686.0,
"legs": [
{
"departure_airport": {
"id": "DXB",
"name": "Dubai",
"city": "Dubai",
"country": "United Arab Emirates",
"date": "2026-12-12",
"time": "14:30"
},
"arrival_airport": {
"id": "LHR",
"name": "London Heathrow",
"city": "London",
"country": "United Kingdom",
"date": "2026-12-12",
"time": "18:20"
},
"total_duration": 470,
"stops": 0,
"flights": [
{
"departure_airport": {
"id": "DXB",
"name": "Dubai",
"city": "Dubai",
"country": "United Arab Emirates",
"date": "2026-12-12",
"time": "14:30"
},
"arrival_airport": {
"id": "LHR",
"name": "London Heathrow",
"city": "London",
"country": "United Kingdom",
"date": "2026-12-12",
"time": "18:20"
},
"duration": 470,
"airline": "Emirates",
"airline_code": "EK",
"flight_number": "EK 3",
"operating_airline": "Emirates",
"aircraft": "A380 (jumbo)",
"extensions": [
"3-4-3 seat layout",
"32\" seat pitch",
"Meal provided",
"Basic web browsing (fee)",
"Seatback on-demand & live TV",
"Power & USB outlets"
]
}
]
}
],
"booking_options": [
{
"book_with": "BudgetAir",
"price": 2686.0,
"tracking_link": "https://www.skyscanner.net/transport_deeplink/4.0/AE/en-US/AED/bgae/1/11182.13554.2026-12-12/air/tra...",
"rating": 3.39,
"reviews": 293,
"fare_type": "Economy class",
"baggage": {
"carry_on_bag": "included",
"carry_on_bags_per_passenger": 1,
"checked_bag": "included",
"checked_bags_per_passenger": 1
}
},
{
"book_with": "Emirates",
"price": 2765.0,
"tracking_link": "https://www.skyscanner.net/transport_deeplink/4.0/AE/en-US/AED/emir/1/11182.13554.2026-12-12/air/air...",
"is_airline": true,
"rating": 4.96,
"reviews": 639,
"fare_type": "Eco Flex",
"baggage": {
"carry_on_bag": "included",
"carry_on_bags_per_passenger": 1,
"checked_bag": "included",
"checked_bags_per_passenger": 1
},
"changes": "for fee",
"cancellation": "for fee"
},
"..."
]
}
}