Skyscanner Flights API

GET   /api/v1/search?engine=skyscanner_flights

The Skyscanner Flights API returns Skyscanner's flight itineraries for a route and dates, one-way, round trip or multi-city. Each itinerary carries its price for all passengers, its legs with their flights, and the sellers that offer it, each with a price and a booking link. 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 search with has_carry_on_bag or has_checked_bag returns only booking options that include that bag, priced with it, each with its baggage. A fee in baggage is the bag's price for one passenger and is already part of the option's price, while the two tickets of a split booking keep their own prices without it. Itineraries come in Skyscanner's order, and a search returns every itinerary Skyscanner finds. Prices are in the currency searched.

API Parameters

Search Query

  • Name
    departure_id
    Required
    Required
    Description

    Parameter defines the departure airport or city as an IATA code, such as JFK for John F. Kennedy or NYC for every New York airport. A code that a city shares with one of its airports, such as HOU, means that airport. A code Skyscanner does not know returns an error. It is required unless flight_type is multi_city.

  • Name
    arrival_id
    Required
    Required
    Description

    Parameter defines the arrival airport or city as an IATA code, such as LAX for Los Angeles International or LON for every London airport. A code that a city shares with one of its airports, such as HOU, means that airport. A code Skyscanner does not know returns an error. It must differ from departure_id. Two places in the same city, such as NYC and JFK or JFK and LGA, return an error. It is required unless flight_type is multi_city.

  • Name
    multi_city_json
    Required
    Optional
    Description

    Parameter defines the legs of a multi-city trip as a JSON array, in the order travelled, such as [{"departure_id":"MAD","arrival_id":"LHR","outbound_date":"2026-12-10"},{"departure_id":"LHR","arrival_id":"BCN","outbound_date":"2026-12-15"}]. A trip has from 2 to 6 legs. Each leg has departure_id, arrival_id and outbound_date, which follow the rules of the parameters of the same name, and no leg can be dated before the leg before it. It is required when flight_type is multi_city, and replaces departure_id, arrival_id, outbound_date and return_date, which cannot be used with it.

Localization

  • Name
    gl
    Required
    Optional
    Description

    The default parameter us defines the country of the search. The country changes which sellers appear and their prices. Check the full list of supported Skyscanner gl countries.

  • Name
    currency
    Required
    Optional
    Description

    Defines the currency of the returned prices. Default is USD. Check the full list of supported Skyscanner currency values.

Filters

  • Name
    flight_type
    Required
    Optional
    Description

    Parameter defines the type of trip. It can be set to one_way, round_trip or multi_city, and defaults to round_trip.

  • Name
    outbound_date
    Required
    Required
    Description

    Parameter defines the departure date in YYYY-MM-DD format, from today up to 13 months ahead. Today means today at the departure airport, so a date already past there returns an error. It is required unless flight_type is multi_city.

  • Name
    return_date
    Required
    Optional
    Description

    Parameter defines the return date in YYYY-MM-DD format, on or after outbound_date and up to 13 months ahead. It is required when flight_type is round_trip and cannot be used with one_way.

  • Name
    travel_class
    Required
    Optional
    Description

    Parameter defines the travel class. It can be set to economy, premium_economy, business or first_class, and defaults to economy.

  • Name
    has_carry_on_bag
    Required
    Optional
    Description

    Set this parameter to true to return only booking options that include a carry-on bag, priced with it. Each booking option then has its baggage.

  • Name
    has_checked_bag
    Required
    Optional
    Description

    Set this parameter to true to return only booking options that include a checked bag, priced with it. Each booking option then has its baggage.

Number of Passengers

  • Name
    adults
    Required
    Optional
    Description

    Parameter defines the number of adult passengers, from 1 to 8. A search without it is for one adult. Prices are totals for all passengers.

  • Name
    children_ages
    Required
    Optional
    Description

    Parameter defines the ages of child passengers as a comma-separated list, such as 7,1, each from 0 to 17, with at most 8 children. Ages 0 and 1 count as infants, and a search can have no more infants than adults and at most 9 adults and children aged 2 or older. Prices are totals for all passengers.

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.

API key

  • Name
    api_key
    Required
    Required
    Description

    The api_key authenticates 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 true to 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

Full Response

Full Response
GET
https://www.searchapi.io/api/v1/search?arrival_id=LAX&departure_id=JFK&engine=skyscanner_flights&flight_type=one_way&outbound_date=2026-12-15
Request
import requests

url = "https://www.searchapi.io/api/v1/search"
params = {
  "engine": "skyscanner_flights",
  "departure_id": "JFK",
  "arrival_id": "LAX",
  "outbound_date": "2026-12-15",
  "flight_type": "one_way"
}

response = requests.get(url, params=params)
print(response.text)
Response
{
  "search_metadata": {
    "id": "search_f41zgiuKmcgSKfrD9REMVqLj",
    "status": "Success",
    "created_at": "2026-10-14T07:01:12Z",
    "request_time_taken": 6.87,
    "parsing_time_taken": 0.05,
    "total_time_taken": 6.92,
    "request_url": "https://www.skyscanner.com/transport/flights/jfk/lax/261113/?adultsv2=1&cabinclass=economy&rtn=0",
    "html_url": "https://www.searchapi.io/api/v1/searches/search_f41zgiuKmcgSKfrD9REMVqLj.html",
    "json_url": "https://www.searchapi.io/api/v1/searches/search_f41zgiuKmcgSKfrD9REMVqLj"
  },
  "search_parameters": {
    "engine": "skyscanner_flights",
    "departure_id": "JFK",
    "arrival_id": "LAX",
    "outbound_date": "2026-11-13",
    "flight_type": "one_way",
    "travel_class": "economy",
    "gl": "us",
    "currency": "USD"
  },
  "itineraries": [
    {
      "id": "12712-2611131100--32385-0-13416-2611131414",
      "price": 203.4,
      "legs": [
        {
          "departure_airport": {
            "id": "JFK",
            "name": "New York John F. Kennedy",
            "city": "New York",
            "country": "United States",
            "date": "2026-11-13",
            "time": "11:00"
          },
          "arrival_airport": {
            "id": "LAX",
            "name": "Los Angeles International",
            "city": "Los Angeles",
            "country": "United States",
            "date": "2026-11-13",
            "time": "14:14"
          },
          "total_duration": 374,
          "stops": 0,
          "flights": [
            {
              "departure_airport": {
                "id": "JFK",
                "name": "New York John F. Kennedy",
                "city": "New York",
                "country": "United States",
                "date": "2026-11-13",
                "time": "11:00"
              },
              "arrival_airport": {
                "id": "LAX",
                "name": "Los Angeles International",
                "city": "Los Angeles",
                "country": "United States",
                "date": "2026-11-13",
                "time": "14:14"
              },
              "duration": 374,
              "airline": "Delta",
              "airline_code": "DL",
              "airline_logo": "https://logos.skyscnr.com/images/airlines/favicon/DL.png",
              "flight_number": "DL 747",
              "operating_airline": "Delta"
            }
          ]
        }
      ],
      "booking_options": [
        {
          "book_with": "Delta",
          "price": 203.4,
          "tracking_link": "https://www.skyscanner.com/transport_deeplink/4.0/US/en-US/USD/dela/1/12712.13416.2026-11-13/air/air...",
          "is_airline": true,
          "rating": 4.94,
          "reviews": 4674
        }
      ]
    },
    "..."
  ]
}

Round Trip Sold as Two Tickets

Round Trip Sold as Two Tickets
GET
https://www.searchapi.io/api/v1/search?arrival_id=BCN&departure_id=LON&engine=skyscanner_flights&outbound_date=2026-12-19&return_date=2026-12-23
Request
import requests

url = "https://www.searchapi.io/api/v1/search"
params = {
  "engine": "skyscanner_flights",
  "departure_id": "LON",
  "arrival_id": "BCN",
  "outbound_date": "2026-12-19",
  "return_date": "2026-12-23"
}

response = requests.get(url, params=params)
print(response.text)
Response
{
  "search_metadata": {
    "id": "search_Q8LGJb0430Zbc0vgw59nyzNW",
    "status": "Success",
    "created_at": "2026-10-22T05:24:40Z",
    "request_time_taken": 25.93,
    "parsing_time_taken": 0.14,
    "total_time_taken": 26.07,
    "request_url": "https://www.skyscanner.com/transport/flights/lon/bcn/261124/261128/?adultsv2=1&cabinclass=economy&rt...",
    "html_url": "https://www.searchapi.io/api/v1/searches/search_Q8LGJb0430Zbc0vgw59nyzNW.html",
    "json_url": "https://www.searchapi.io/api/v1/searches/search_Q8LGJb0430Zbc0vgw59nyzNW"
  },
  "search_parameters": {
    "engine": "skyscanner_flights",
    "departure_id": "LON",
    "arrival_id": "BCN",
    "outbound_date": "2026-11-24",
    "return_date": "2026-11-28",
    "flight_type": "round_trip",
    "travel_class": "economy",
    "gl": "us",
    "currency": "USD"
  },
  "itineraries": [
    {
      "id": "13771-2611241215--30972-0-9772-2611241525|9772-2611281955--31915-0-16574-2611282120",
      "price": 55.7,
      "legs": [
        {
          "departure_airport": {
            "id": "LTN",
            "name": "London Luton",
            "city": "London",
            "country": "United Kingdom",
            "date": "2026-11-24",
            "time": "12:15"
          },
          "arrival_airport": {
            "id": "BCN",
            "name": "Barcelona",
            "city": "Barcelona",
            "country": "Spain",
            "date": "2026-11-24",
            "time": "15:25"
          },
          "total_duration": 130,
          "stops": 0,
          "flights": [
            {
              "departure_airport": {
                "id": "LTN",
                "name": "London Luton",
                "city": "London",
                "country": "United Kingdom",
                "date": "2026-11-24",
                "time": "12:15"
              },
              "arrival_airport": {
                "id": "BCN",
                "name": "Barcelona",
                "city": "Barcelona",
                "country": "Spain",
                "date": "2026-11-24",
                "time": "15:25"
              },
              "duration": 130,
              "airline": "Wizz Air UK",
              "airline_code": "W9",
              "airline_logo": "https://logos.skyscnr.com/images/airlines/favicon/%7E9.png",
              "flight_number": "W9 5377",
              "operating_airline": "Wizz Air UK"
            }
          ]
        },
        {
          "departure_airport": {
            "id": "BCN",
            "name": "Barcelona",
            "city": "Barcelona",
            "country": "Spain",
            "date": "2026-11-28",
            "time": "19:55"
          },
          "arrival_airport": {
            "id": "STN",
            "name": "London Stansted",
            "city": "London",
            "country": "United Kingdom",
            "date": "2026-11-28",
            "time": "21:20"
          },
          "total_duration": 145,
          "stops": 0,
          "flights": [
            {
              "departure_airport": {
                "id": "BCN",
                "name": "Barcelona",
                "city": "Barcelona",
                "country": "Spain",
                "date": "2026-11-28",
                "time": "19:55"
              },
              "arrival_airport": {
                "id": "STN",
                "name": "London Stansted",
                "city": "London",
                "country": "United Kingdom",
                "date": "2026-11-28",
                "time": "21:20"
              },
              "duration": 145,
              "airline": "Ryanair",
              "airline_code": "FR",
              "airline_logo": "https://logos.skyscnr.com/images/airlines/favicon/FR.png",
              "flight_number": "FR 9045",
              "operating_airline": "Ryanair"
            }
          ]
        }
      ],
      "booking_options": [
        {
          "book_with": "Trip.com",
          "price": 55.7,
          "tracking_link": "https://www.skyscanner.com/transport_deeplink/4.0/US/en-US/USD/cust/2/4698.9772.2026-11-24,9772.4698...",
          "rating": 4.72,
          "reviews": 4367
        },
        {
          "is_split_booking": true,
          "book_with": "Wizz Air, Ryanair",
          "price": 56.4,
          "departure": {
            "book_with": "Wizz Air",
            "price": 37.33,
            "tracking_link": "https://www.skyscanner.com/transport_deeplink/4.0/US/en-US/USD/wizz/1/13771.9772.2026-11-24/air/airl...",
            "is_airline": true,
            "rating": 3.19,
            "reviews": 216
          },
          "arrival": {
            "book_with": "Ryanair",
            "price": 19.07,
            "tracking_link": "https://www.skyscanner.com/transport_deeplink/4.0/US/en-US/USD/ryan/1/9772.16574.2026-11-28/air/airl...",
            "is_airline": true,
            "rating": 4.6,
            "reviews": 702
          }
        },
        "..."
      ]
    },
    "..."
  ]
}

Multi-City With a Checked Bag

GET
https://www.searchapi.io/api/v1/search?currency=EUR&engine=skyscanner_flights&flight_type=multi_city&gl=es&has_checked_bag=true&multi_city_json=%5B%7B%22departure_id%22%3A%22MAD%22%2C%22arrival_id%22%3A%22LHR%22%2C%22outbound_date%22%3A%222026-12-15%22%7D%2C%7B%22departure_id%22%3A%22LHR%22%2C%22arrival_id%22%3A%22BCN%22%2C%22outbound_date%22%3A%222026-12-20%22%7D%5D
Request
import requests

url = "https://www.searchapi.io/api/v1/search"
params = {
  "engine": "skyscanner_flights",
  "flight_type": "multi_city",
  "multi_city_json": "[{\"departure_id\":\"MAD\",\"arrival_id\":\"LHR\",\"outbound_date\":\"2026-12-15\"},{\"departure_id\":\"LHR\",\"arrival_id\":\"BCN\",\"outbound_date\":\"2026-12-20\"}]",
  "has_checked_bag": "true",
  "gl": "es",
  "currency": "EUR"
}

response = requests.get(url, params=params)
print(response.text)
Response
{
  "search_metadata": {
    "id": "search_8JO07Xa7OiM45K6VqwVgwPyX",
    "status": "Success",
    "created_at": "2026-11-13T07:38:23Z",
    "request_time_taken": 19.59,
    "parsing_time_taken": 0.22,
    "total_time_taken": 19.81,
    "request_url": "https://www.skyscanner.com/transport/d/mad/2026-12-13/lhr/lhr/2026-12-18/bcn?adultsv2=1&cabinclass=e...",
    "html_url": "https://www.searchapi.io/api/v1/searches/search_8JO07Xa7OiM45K6VqwVgwPyX.html",
    "json_url": "https://www.searchapi.io/api/v1/searches/search_8JO07Xa7OiM45K6VqwVgwPyX"
  },
  "search_parameters": {
    "engine": "skyscanner_flights",
    "flight_type": "multi_city",
    "multi_city_json": "[{\"departure_id\":\"MAD\",\"arrival_id\":\"LHR\",\"outbound_date\":\"2026-12-13\"},{\"departure_id\":\"LHR\",\"arrival_id\":\"BCN\",\"outbound_date\":\"2026-12-18\"}]",
    "travel_class": "economy",
    "has_checked_bag": "true",
    "gl": "es",
    "currency": "EUR"
  },
  "itineraries": [
    {
      "id": "13870-2612131505--32222-0-13554-2612131635|13554-2612181255--32480-0-9772-2612181610",
      "price": 325.0,
      "legs": [
        {
          "departure_airport": {
            "id": "MAD",
            "name": "Madrid",
            "city": "Madrid",
            "country": "Spain",
            "date": "2026-12-13",
            "time": "15:05"
          },
          "arrival_airport": {
            "id": "LHR",
            "name": "London Heathrow",
            "city": "London",
            "country": "United Kingdom",
            "date": "2026-12-13",
            "time": "16:35"
          },
          "total_duration": 150,
          "stops": 0,
          "flights": [
            {
              "departure_airport": {
                "id": "MAD",
                "name": "Madrid",
                "city": "Madrid",
                "country": "Spain",
                "date": "2026-12-13",
                "time": "15:05"
              },
              "arrival_airport": {
                "id": "LHR",
                "name": "London Heathrow",
                "city": "London",
                "country": "United Kingdom",
                "date": "2026-12-13",
                "time": "16:35"
              },
              "duration": 150,
              "airline": "Iberia",
              "airline_code": "IB",
              "airline_logo": "https://logos.skyscnr.com/images/airlines/favicon/IB.png",
              "flight_number": "IB 719",
              "operating_airline": "Iberia"
            }
          ]
        },
        {
          "departure_airport": {
            "id": "LHR",
            "name": "London Heathrow",
            "city": "London",
            "country": "United Kingdom",
            "date": "2026-12-18",
            "time": "12:55"
          },
          "arrival_airport": {
            "id": "BCN",
            "name": "Barcelona",
            "city": "Barcelona",
            "country": "Spain",
            "date": "2026-12-18",
            "time": "16:10"
          },
          "total_duration": 135,
          "stops": 0,
          "flights": [
            {
              "departure_airport": {
                "id": "LHR",
                "name": "London Heathrow",
                "city": "London",
                "country": "United Kingdom",
                "date": "2026-12-18",
                "time": "12:55"
              },
              "arrival_airport": {
                "id": "BCN",
                "name": "Barcelona",
                "city": "Barcelona",
                "country": "Spain",
                "date": "2026-12-18",
                "time": "16:10"
              },
              "duration": 135,
              "airline": "British Airways",
              "airline_code": "BA",
              "airline_logo": "https://logos.skyscnr.com/images/airlines/favicon/BA.png",
              "flight_number": "BA 484",
              "operating_airline": "British Airways"
            }
          ]
        }
      ],
      "booking_options": [
        {
          "book_with": "Mytrip",
          "price": 325.0,
          "tracking_link": "https://www.skyscanner.com/transport_deeplink/4.0/ES/en-US/EUR/mtes/2/13870.13554.2026-12-13,13554.9...",
          "rating": 4.37,
          "reviews": 831,
          "baggage": {
            "carry_on_bag": "included",
            "carry_on_bags_per_passenger": 1,
            "checked_bag": "included",
            "checked_bags_per_passenger": 1,
            "checked_bag_fee": 35.0
          }
        },
        "..."
      ]
    },
    "..."
  ]
}