# Skyscanner Flights Scraper (`nice_dev/skyscanner-flights-scraper`) Actor

Scrape Skyscanner flights by route and dates: every offer with price, airline, stops and times. Export to JSON, CSV or Excel.

- **URL**: https://apify.com/nice_dev/skyscanner-flights-scraper.md
- **Developed by:** [Nice Dev](https://apify.com/nice_dev) (community)
- **Categories:** Travel, MCP servers, Developer tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per event

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

### ✈️ What is Skyscanner Flights Scraper?

**Skyscanner Flights Scraper** extracts **flights from [Skyscanner](https://www.skyscanner.net)**: **price, the cheapest agency and its booking link, airlines, flight numbers, departure and arrival times, duration, stops and layovers, fare rules, CO2 versus the usual and Skyscanner's own tags**, one-way, round trip or multi-city, for several routes, dates and markets in one run. You get the **full list of flights** of each search (about 200 to 1 700), not only the first ones most tools return. Tick the options you need to add **the price of every agency with its booking link, baggage and fare rules agency by agency, a day-by-day price calendar and a search summary**. It works as a **Skyscanner API alternative**: run it on a schedule, call it from your code, or plug it into Make, Zapier or n8n.

Type a **departure** and an **arrival** (`LON` and `PAR`), pick your dates, passengers, market and currency, click **Start**, and download the flights in JSON, CSV or Excel. No login, nothing to set up. Dates can be relative (`30 days` from the run date), so a saved task always looks the same distance ahead. In our tests a run of one search took about 20 to 50 seconds, and 500 flights over 6 searches about 2 minutes.

### 📋 What data can you extract from Skyscanner?

One item per flight, 75 fields. The rows marked **option** come only when you tick the matching option; each option adds its own rows and is charged on its own, only when ticked (see Pricing).

| Category                         | What you get                                                                                                                                                  |
| -------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| ✈️ **Flight**                    | airline and its code, every airline of the trip, the airlines that really fly it, flight numbers, airline logo — `easyJet`, `EZY8407`                          |
| 🕒 **Times**                     | local departure and arrival time, arrival on the next day or not, travel time, total time of a round trip — `2026-12-10T14:45`, `80` minutes                  |
| 📍 **Airports**                  | departure and arrival airport codes, names, cities and countries — `LGW`, `London Gatwick`, `United Kingdom`                                                  |
| 🔁 **Stops and layovers**        | number of stops, each connection with its airport, city and length; the return flight of a round trip with its own times and stops                            |
| 💰 **Price**                     | total price for all passengers (the whole trip for a round trip), currency, the price as Skyscanner shows it — `26.99 GBP`                                    |
| 🏷️ **Cheapest agency**           | the airline or travel agency selling the ticket at that price, its Skyscanner id, the booking link, how many places sell the flight — `easyJet`, `6`          |
| ⭐ **Skyscanner's ranking**      | position in Skyscanner's "best" order, its score, tags such as cheapest or shortest, cheapest and fastest flag                                               |
| 🌱 **CO2**                       | Skyscanner's CO2 estimate for the flight, the usual one for the route, the difference in percent, the emissions level — `53.7` kg, `-3` %                     |
| 📜 **Fare rules and transfers**  | flexible fares, change and cancellation rules, self-transfer (separate tickets) and protected self-transfer                                                   |
| 🔗 **Links and search**          | the Skyscanner page of this exact flight, the search page, route and dates searched, trip type, cabin, passengers, market                                     |
| 🏪 **Agencies** (option)         | every place that sells the ticket (the airline and the travel agencies): its price, its rating, its booking link — and, with the baggage option, its fare name |
| 🧳 **Baggage and fare rules** (option) | per agency offer: cabin bag, checked bag (included, for a fee and how much, pieces, weight), fare name, change, cancellation and seat choice         |
| 📅 **Price calendar** (option)   | day by day, the cheapest one-way price of the route with Skyscanner's level (low, medium, high)                                                               |
| 📊 **Search summary** (option)   | per search: number of flights and agencies, cheapest, fastest and best flight, cheapest price nonstop / with 1 stop / with 2 or more, durations, every airline with its cheapest price |
| 🔔 **Price changes** (option)    | for a flight already delivered: its previous price, the change and the change in percent                                                                       |

Every field, with an example, is listed in the **Output** section below.

A field that does not apply to a row (an agency on a flight row, a flight number on a calendar day) is `null` or an empty list, never missing, so every row has the same columns. The column `recordType` tells the kind of each row.

### ✅ Why use Skyscanner Flights Scraper?

- 📜 **The full list, not a top 10**: about 200 to 1 700 flights per search, with the price of the cheapest agency and its booking link on every one.
- 🏪 **The price of every agency**: tick **Booking options** and each flight comes with all the places that sell it (the airline and the travel agencies), each with its price, rating and booking link.
- 🧳 **Baggage and fare rules agency by agency**: cabin bag, checked bag, fare name, and whether a change, a cancellation and a seat choice are included or charged — before you pick an offer.
- 🌍 **Several markets in one run**: the same search in the United Kingdom, the United States, Germany… to compare what each market is sold for (43 markets, 36 currencies, 32 languages).
- 🗺️ **Multi-city trips**: 2 to 6 flights in one trip, priced as a whole.
- 🗂️ **Many searches in one run**: several departure places × destinations × a range of departure days, ready-made routes with their own dates, and pasted Skyscanner links, with a cap per search if you want one.
- 📅 **Price calendar and search summary**: the cheapest price of each day, and one summary row per search.
- 🎯 **Filters on the full list**: price, stops, duration, departure and arrival hours (and the return flight's), layover length, airlines, connecting airports, self-transfer, lower CO2 and excluded words are applied to the whole list of each search.
- 🔔 **Monitoring built in**: tick **Only new flights**, schedule the Actor, and each run saves (and charges) only the flights it has never delivered before. Add **Price changes** to get a delivered flight again when its price moves.
- 🆓 **A search with no flight is free**: it gives one `no-flights` row, so you know it came back empty.
- 🔌 API, scheduling, monitoring, integrations (Make, Zapier, n8n, Google Sheets…), proxy rotation and JSON/CSV/Excel export via the Apify platform.

### 🚀 How to scrape Skyscanner

1. Create a free Apify account.
2. Open **Skyscanner Flights Scraper** and type a **From** and a **To** airport, city code or place name (e.g. `LON` and `PAR`, or `London` and `New York`).
3. Or fill **Routes** (`LHR-JFK 2026-12-10`), **Multi-city trips**, or paste your own Skyscanner search links into **Skyscanner links** (their places, dates, passengers and cabin are kept).
4. Pick the **Departure date** (and a **Return date** or a **Trip length** for a round trip), the passengers, the market and the currency, set **Max flights** (100 by default, 0 = no limit) — and **Max flights per search** when you run several searches — then click **Start**.
5. Tick the options you want (booking options, baggage, price calendar, search summary) and download the dataset in JSON, CSV, Excel or via API.

With no route and no link, the Actor runs an example (London to Paris, at most 20 flights) instead of stopping.

### 💰 How much does it cost to scrape Skyscanner?

This Actor uses **pay per event** pricing: a price per flight saved plus a small fee per run start (`apify-actor-start`), which the platform counts once per GB of memory of the run (this Actor runs with 2 GB by default). The exact amounts, for every Apify plan, are on the **Pricing** tab of this page. Platform usage (compute, proxy) is included in the price.

Every option is **unticked by default** and charged only when ticked, per row it delivers:

| Option                        | Event             | Charged per                                                                                                                         |
| ----------------------------- | ----------------- | ----------------------------------------------------------------------------------------------------------------------------------- |
| **Booking options**           | `booking-option`  | agency offer saved (set how many flights get theirs with **Booking options: flights to expand**, 10 by default)                    |
| **Baggage and fare rules**    | `baggage-details` | flight whose baggage was found (set how many flights with **Baggage: flights to expand**, 10 by default, 30 at most); a flight Skyscanner gives no baggage for is delivered without it and costs nothing extra |
| **Price calendar**            | `calendar-day`    | day with a price (days with no price are not added; set the number with **Price calendar: days**)                                  |
| **Search summary**            | `search-summary`  | summary row (one per search and market)                                                                                             |
| **Price changes**             | `price-change`    | flight that comes back because its price moved, on top of the flight itself                                                         |

The rows of the options do not count in **Max flights**: that cap is for the flights only. The cheapest agency and its booking link are always on the flight row, free. A search Skyscanner returns no flight for gives one free `no-flights` row. A flight that a filter removes is neither saved nor counted in **Max flights**; the **Pricing** tab lists every event. Set the run option **maximum cost per run** to cap what a run can spend: the Actor stops saving rows when the cap is reached.

### ⚙️ Input

One-way, London to Paris, 30 days from the run date:

```json
{
    "origin": "LON",
    "destination": "PAR",
    "departureDate": "30 days",
    "maxItems": 100
}
```

Round trips of 5 days from every London airport to three cities, nonstop only, cheapest first, 30 flights per search, priced in the French market:

```json
{
    "origin": "LON",
    "destinations": ["BCN", "MAD", "LIS"],
    "departureDate": "21 days",
    "tripLengthDays": 5,
    "maxStops": "0",
    "sortBy": "price",
    "maxItemsPerQuery": 30,
    "market": "FR",
    "currency": "EUR"
}
```

A week of departure days on one route, morning flights under 300 dollars:

```json
{
    "routes": ["JFK-LAX"],
    "departureDate": "14 days",
    "departureDateTo": "20 days",
    "market": "US",
    "currency": "USD",
    "maxPrice": 300,
    "departureTimeFrom": 6,
    "departureTimeTo": 12
}
```

The same search in three markets, to compare prices:

```json
{
    "origin": "LON",
    "destination": "NYC",
    "departureDate": "45 days",
    "market": "UK",
    "markets": ["US", "DE"],
    "currency": "EUR",
    "maxItemsPerQuery": 50
}
```

A multi-city trip (London, Paris, Barcelona, London):

```json
{
    "multiCityLegs": ["LON-PAR 30 days; PAR-BCN 34 days; BCN-LON 40 days"],
    "maxItems": 50
}
```

A round trip with every option ticked, watched for price changes (fixed dates: a relative one such as `30 days` makes a new search every day):

```json
{
    "origin": "LHR",
    "destination": "BCN",
    "departureDate": "2027-06-12",
    "returnDate": "2027-06-19",
    "includeBookingOptions": true,
    "bookingOptionsForTop": 5,
    "includeBaggage": true,
    "baggageForTop": 5,
    "includeCalendar": true,
    "calendarDays": 60,
    "includeSearchSummary": true,
    "onlyNew": true,
    "trackPriceChanges": true,
    "stateKey": "lhr-bcn"
}
```

| Field                                              | Notes                                                                                                                                                                                                                                                                                  |
| -------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `origin`, `origins`                                | Departure: an airport or city IATA code (`LHR`, `LON` = all London airports) or a place name as typed on Skyscanner (`London`). Several places separated by commas, or one per line in `origins`: every departure is searched to every destination (max 500 searches per run).         |
| `destination`, `destinations`                      | Arrival, same codes and names: `JFK`, `NYC`, `New York`. `destinations` adds more, one per line.                                                                                                                                                                                       |
| `routes`                                           | Ready-made routes, one per line: `LHR-JFK` (on the dates of the form), `LHR-JFK 2026-12-10` (one-way), `LHR-JFK 2026-12-10 2026-12-17` (round trip). Max 500 routes.                                                                                                                  |
| `multiCityLegs`                                    | One multi-city trip per line, 2 to 6 flights separated by a semicolon, each with its date: `LON-PAR 2026-12-10; PAR-BCN 2026-12-14; BCN-LON 2026-12-20`. Each line is one search; prices are for the whole trip, as on Skyscanner.                                                     |
| `startUrls`                                        | Skyscanner search links copied from the address bar, any Skyscanner country site: `https://www.skyscanner.net/transport/flights/lond/pari/261210/?adultsv2=1&cabinclass=economy`. Their places, dates, passengers and cabin are kept. Max 1 000 links.                               |
| `departureDate`                                    | Outbound day: a date (`2026-12-20`) or a period from the run date (`30 days`, `2 weeks`, `3 months`). Empty = 30 days from the run date. Skyscanner sells up to about 11 months ahead.                                                                                                  |
| `departureDateTo`                                  | Last departure day of a date range (`45 days`): every day from **Departure date** to this one is its own full search, 60 departure days at most.                                                                                                                                      |
| `returnDate`, `tripLengthDays`                     | Round trip: a return day (`2026-12-27`, `37 days`), or a trip length in days after each departure day, used when the return date is empty (the last return must fall at most 330 days after the run date). Both empty = one-way. Round-trip prices are for the whole trip.             |
| `adults`, `children`, `infants`                    | Passengers: adults aged 18 or more (1 to 8, 1 by default), children aged 2 to 17 (counted as 10 years old unless their ages are given), infants under 2 (one per adult at most); 9 passengers in all.                                                                                 |
| `childAges`                                        | Exact age of each child and infant, as a list: `[7, 1]`. When filled, it replaces the two counts above.                                                                                                                                                                                |
| `cabinClass`                                       | `economy` (default), `premium_economy`, `business`, `first`.                                                                                                                                                                                                                           |
| `market`, `markets`                                | Country Skyscanner prices for, among 43: `UK` (default), `US`, `DE`. Fares and agencies differ by market. `markets` repeats every search in each of these markets, to compare them (20 at most; searches × markets max 500).                                                           |
| `currency`                                         | Currency of every price, among 36: `GBP` (default), `USD`, `EUR`. A pasted link keeps the currency chosen here.                                                                                                                                                                        |
| `locale`                                           | Language of airport, city, airline and agency names, among 32: `en-GB` (default), `fr-FR`, `de-DE`.                                                                                                                                                                                    |
| `sortBy`                                           | `best` (default: Skyscanner's own order), `price`, `duration`, `departure`, `arrival`. The whole list is sorted before any cap, so a cap keeps the cheapest, the shortest…                                                                                                             |
| `maxItems`, `maxItemsPerQuery`                     | Most flights for the whole run (`100` by default) and for each search (route × date × market); `0` = no limit. The rows of the options are not counted.                                                                                                                               |
| `includeBookingOptions`, `bookingOptionsForTop`    | Option: every place that sells the first flights of each search (10 by default, in the order of **Sort by**; 0 = every flight saved), with its price, rating and booking link.                                                                                                         |
| `includeBaggage`, `baggageForTop`                  | Option: for the first flights of each search (10 by default, 30 at most), the cabin bag, the checked bag, the fare name and the change, cancellation and seat rules of every agency offer. One extra request per flight (about 5 to 10 seconds each).                                  |
| `includeCalendar`, `calendarDays`                  | Option: the cheapest one-way price of each day from the nearest departure date, 30 days by default, up to 330, with its level. One request per pair of places and market, whatever the number of dates.                                                                               |
| `includeSearchSummary`                             | Option: one summary row per search.                                                                                                                                                                                                                                                    |
| `maxPrice`, `minPrice`                             | Highest and lowest price in **Currency** (the whole trip for a round trip), for example `300`; `0` = no limit.                                                                                                                                                                         |
| `maxStops`                                         | Most stops on each flight of the trip: `any` (default), `0` (nonstop only), `1`, `2`.                                                                                                                                                                                                  |
| `maxDurationMinutes`                               | Longest door-to-door time of each flight of the trip in minutes, layovers included: `600` = 10 hours; 0 = no limit.                                                                                                                                                                    |
| `departureTimeFrom`, `departureTimeTo`             | Local departure hour window of the outbound flight, both ends included: `6` and `12` keep the flights leaving from 06:00 to 12:00. The end goes up to 24 (midnight). Empty = any.                                                                                                      |
| `arrivalTimeFrom`, `arrivalTimeTo`                 | The same for the local arrival hour of the outbound flight.                                                                                                                                                                                                                            |
| `returnDepartureTimeFrom`, `returnDepartureTimeTo` | Round trip: the same window for the local departure hour of the return flight.                                                                                                                                                                                                         |
| `minLayoverMinutes`, `maxLayoverMinutes`          | Every connection must last at least / at most this many minutes (`60`, `240`); 0 = no limit. Nonstop flights are kept.                                                                                                                                                                 |
| `airlines`, `excludeAirlines`                      | Only these airlines, or never these: a code as Skyscanner shows it (`BA`, `FR`) or a name (`easyJet`, `Malta Air`), matched on the airline that sells the segment and the one that flies it. Empty = all airlines.                                                                      |
| `connectingAirports`, `excludeConnectingAirports`  | Connect only via these airports (`KEF`, `DOH`; nonstop flights are kept), or never via those of the second list.                                                                                                                                                                       |
| `excludeSelfTransfer`, `lessEmissionsOnly`         | Drop the self-transfer trips (separate tickets); keep only the flights whose CO2 estimate is below the usual one for the route.                                                                                                                                                        |
| `excludeKeywords`                                  | Drop the flights whose airline, airport or city names contain one of these whole words (case and accents ignored): `air` removes Air France, not Ryanair.                                                                                                                              |
| `onlyNew`, `stateKey`, `resetState`                | Monitoring: only the flights never delivered under this memory key (`lon-par`) for the same search; `resetState` forgets the memory.                                                                                                                                                   |
| `trackPriceChanges`                                | Price changes (option, needs **Only new flights**): a flight already delivered comes back when its price has moved since the run that delivered it.                                                                                                                                    |
| `priceChangeThreshold`                             | Smallest move that counts, in percent: 3 by default, from 0.1 to 100.                                                                                                                                                                                                                  |
| Advanced                                           | `proxyConfiguration` (Apify proxy by default, included in the price; the residential proxy is not available), `maxConcurrency`, `maxRequestsPerMinute`, `minRequestIntervalMs`, `maxRequestRetries`, `debugLog`.                                                                       |

### 📦 Output

One flight of a London to Paris search, options off (shortened: the links are cut and the fields that are `null` on this row are left out):

```json
{
    "recordType": "flight",
    "id": "13542-2612101445--32356-0-10413-2612101705",
    "url": "https://www.skyscanner.net/transport/flights/lond/pari/261210/config/13542-2612101445--32356-0-10413-2612101705",
    "searchUrl": "https://www.skyscanner.net/transport/flights/lond/pari/261210/?adultsv2=1&cabinclass=economy&rtn=0",
    "searchOrigin": "LON",
    "searchDestination": "PAR",
    "tripType": "one-way",
    "departureDate": "2026-12-10",
    "cabinClass": "economy",
    "passengers": { "adults": 1, "childAges": [] },
    "market": "UK",
    "price": 26.99,
    "priceText": "£27",
    "currency": "GBP",
    "rank": 1,
    "tags": ["cheapest"],
    "isCheapest": true,
    "isFastest": false,
    "cheapestAgent": "easyJet",
    "cheapestAgentId": "easy",
    "bookingUrl": "https://www.skyscanner.net/transport_deeplink/4.0/UK/en-GB/GBP/easy/1/…",
    "agentCount": 6,
    "airline": "easyJet",
    "airlineCode": "EZ",
    "airlines": ["easyJet"],
    "operatedBy": [],
    "flightNumbers": ["EZY8407"],
    "origin": "LGW",
    "originName": "London Gatwick",
    "originCity": "London",
    "destination": "CDG",
    "destinationName": "Paris Charles de Gaulle",
    "destinationCity": "Paris",
    "departureTime": "2026-12-10T14:45",
    "arrivalTime": "2026-12-10T17:05",
    "arrivalDayOffset": 0,
    "durationMinutes": 80,
    "stops": 0,
    "layovers": [],
    "isSelfTransfer": false,
    "co2Kg": 53.7,
    "typicalCo2Kg": 55.1,
    "co2DiffPercent": -3,
    "scrapedAt": "2026-11-06T12:00:00.000Z"
}
```

You can download the dataset in various formats such as JSON, HTML, CSV or Excel.

#### All 75 fields

| Fields                                                                                             | What you get                                                                                                                                                                                                                                  |
| -------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `recordType`, `id`, `url`                                                                          | **Row**: `flight`, `booking-option`, `calendar-day`, `search-summary` or `no-flights`; Skyscanner's id of the itinerary (stable for the same flights, days and cabin); the Skyscanner page of this exact flight (the search page on summary and calendar rows) |
| `searchUrl`, `searchOrigin`, `searchDestination`, `tripType`, `market`                             | **Search**: the search page, `LON`, `PAR`, `one-way`, `round-trip` or `multi-city`, `UK`                                                                                                                                                      |
| `departureDate`, `returnDate`, `cabinClass`, `passengers`                                          | `2026-12-10`, `2026-12-17` (null for one-way), `economy`, the adults and children's ages of the search                                                                                                                                        |
| `price`, `priceText`, `currency`                                                                   | **Price**: `26.99` for all passengers (the whole trip for a round trip or multi-city), `£27` as Skyscanner shows it, `GBP`                                                                                                                    |
| `rank`, `score`, `tags`, `isCheapest`, `isFastest`                                                 | **Ranking**: position in Skyscanner's best order (`1` = first), its score, tags (`cheapest`, `shortest`…), cheapest and fastest flag of the search                                                                                             |
| `cheapestAgent`, `cheapestAgentId`, `bookingUrl`, `agentCount`                                     | **Cheapest agency**: `easyJet`, its Skyscanner id, the booking link, the number of places that sell the flight (`6`); on an agency row the link of that agency                                                                                |
| `airline`, `airlineCode`, `airlineLogo`, `airlines`, `operatedBy`, `flightNumbers`                 | **Flight**: `easyJet`, `EZ`, logo image, every airline of the trip, the airlines that fly it when they differ from the seller, `EZY8407`                                                                                                       |
| `origin`, `originName`, `originCity`, `originCountry`                                              | **Departure airport**: `LGW`, `London Gatwick`, `London`, `United Kingdom`                                                                                                                                                                    |
| `destination`, `destinationName`, `destinationCity`, `destinationCountry`                          | **Arrival airport**: `CDG`, `Paris Charles de Gaulle`, `Paris`, `France`                                                                                                                                                                      |
| `departureTime`, `arrivalTime`, `arrivalDayOffset`, `durationMinutes`                              | **Times**: local `2026-12-10T14:45` and `2026-12-10T17:05` (airport time, no time zone), `1` = next day, `80` minutes in all                                                                                                                   |
| `stops`, `layovers`                                                                                | `0` = nonstop; each connection: airport, airport name, city, minutes                                                                                                                                                                          |
| `returnDepartureTime`, `returnArrivalTime`, `returnDurationMinutes`, `returnStops`                 | **Return flight** of a round trip: local times, minutes and stops (null otherwise)                                                                                                                                                            |
| `legs`, `totalDurationMinutes`                                                                     | one object per flight of the trip (outbound, return, or each multi-city flight) with its places, times, stops, layovers and segments (flight number, airline, operating airline, airports, times); the sum of the travel times                |
| `hasFlexibleOptions`, `isSelfTransfer`, `isProtectedSelfTransfer`, `farePolicy`                    | **Fare rules**: flexible fares flagged by Skyscanner, separate tickets or not, covered by the seller's protection or not, whether change, partial change, cancellation and partial refund are allowed                                          |
| `co2Kg`, `typicalCo2Kg`, `co2DiffPercent`, `emissionsLevel`                                        | **CO2**: `53.7` kg per passenger, `55.1` usual for the route, `-3` %, Skyscanner's label (`typical`, `lower`…)                                                                                                                                |
| `itineraryId`, `seller`, `sellerId`, `isAirline`, `sellerRating`, `sellerReviewCount`, `sellerPrice` | **Agencies** (option): the `id` of the flight an agency row belongs to, the agency, its Skyscanner id, sold by the airline or not, its rating out of 5 and the number of reviews, its price for the whole trip                              |
| `baggage`, `fareBrand`                                                                             | **Baggage and fare rules** (option): cabin bag, checked bag (included, for a fee and how much, not offered; pieces, weight), change, cancellation and seat choice; the fare name (`Light`, `Standard`…). Flight row: the cheapest offer's; agency row: that agency's |
| `date`, `priceLevel`, `cheapestPrice`                                                              | **Price calendar** (option): the departure day priced, Skyscanner's level for it (`low`, `medium`, `high`) and the cheapest price; `cheapestPrice` is also the lowest price of a summary row                                                  |
| `summary`                                                                                          | **Search summary** (option): flights and agencies counted, cheapest / fastest / best flight, cheapest price nonstop / 1 stop / 2 or more, shortest and longest duration, every airline with its cheapest price, the airports used            |
| `previousPrice`, `priceChange`, `priceChangePct`                                                   | **Price changes** (option, with Only new flights): the price delivered before, the change, the change in percent                                                                                                                              |
| `scrapedAt`                                                                                        | ISO timestamp of the extraction                                                                                                                                                                                                               |

### 💡 Tips

#### How to get more results

Each search already gives Skyscanner's full list of flights for the route and date, about 200 to 1 700 flights, not only its first ones. To get more, search more: use a city code (`LON`, `PAR`, `NYC`) to cover all its airports, add destinations, or set **Last departure date** for a range of up to 60 departure days. Set `maxItems` to `0` for no cap, and keep **Stops** on any.

#### How to reduce costs

The price is per flight saved, so the levers are `maxItems`, `maxItemsPerQuery` (with **Sort by** to keep the cheapest or the shortest), the filters (a flight they remove is never saved) and `onlyNew` for recurring runs (you never pay twice for the same flight). For the options, cap what each search brings: `bookingOptionsForTop`, `baggageForTop` and `calendarDays`. For the cheapest price of each day without the flight lists, tick **Price calendar** instead of a date range.

#### Several searches in one run

Every departure place is searched to every destination on every departure day, in every market: 2 places × 3 destinations × 2 days = 12 searches, up to 500 per run. **Routes** add ready-made pairs, each with its own dates if you want, **Multi-city trips** add trips of 2 to 6 flights, and **Skyscanner links** add pasted searches. Set `maxItemsPerQuery` to give every search its own cap: without it the searches that answer first (they run several at a time) can use up the whole `maxItems` budget. A place Skyscanner does not know is named in the log and its search is skipped; the other searches go on.

#### Compare markets

Fill `markets` (`US`, `DE`…) next to `market` and every search is repeated in each market, with the same currency, so the prices can be compared: fares and agencies differ from one market to the next. Each row carries its `market`.

#### Agencies, baggage and fare rules

Every flight row carries its cheapest agency and its booking link. Tick **Booking options** to get one row per agency offer of the first flights of each search (`bookingOptionsForTop`, in the order of **Sort by**), with its price, rating and booking link. Tick **Baggage and fare rules** to read, for the first flights (`baggageForTop`, 30 at most), the bags, the fare name and the change, cancellation and seat rules: on the flight row for its cheapest offer, and on each agency row when both options are ticked. Baggage takes one extra request per flight, about 5 to 10 seconds each, so a few flights per search is the sweet spot.

#### Monitoring: only the new flights

Tick **Only new flights** (`onlyNew`), use fixed dates (`2026-12-20`: a relative date such as `30 days` moves the search every day, so every flight is new again) and schedule the Actor. The first run returns everything; each later run skips the flights already delivered for the same search: they are not saved and not charged. With a cap (`maxItems`, `maxItemsPerQuery`), a later run takes the next flights of the list, in the order of **Sort by**, until the list is used up: set the cap above the size of the search (200 to 1 700 flights) if you only want the flights Skyscanner adds. A flight is the same flights on the same days in the same cabin. The agency rows and the calendar days are remembered like the flights; the search summary comes back at every run (and is charged again), as the reading of that day. The memory lives in a named key-value store of your account (`skyscanner-flights-scraper-seen`, up to 150,000 listings per key) and is only updated with flights that really reached the dataset, so a failed run never hides anything. Give each schedule its own `stateKey` (two schedules sharing a key would hide each other's flights), and tick `resetState` once to start over.

Tick **Price changes** (`trackPriceChanges`) as well and a flight already delivered comes back, whole, when its price has moved by at least **Price change threshold (%)** (3 % by default) since the run that delivered it. The row carries `previousPrice`, `priceChange` and `priceChangePct`; it is charged the flight price plus the `price-change` event, and a flight whose price did not move enough is skipped free.

#### Follow prices over time

To be told only when a price moves, tick **Only new flights** and **Price changes** (above). To keep the whole series instead, leave **Only new flights** off and schedule a task with a relative departure date (`30 days`): every run prices the same distance ahead, and each row carries its price and `scrapedAt`. Tick **Price calendar** for the cheapest price of each day of the coming months, and **Search summary** for one row per search with the cheapest price nonstop, with one stop and with more.

### 🔌 Integrations and API

Call the Actor via the Apify API, the JavaScript or Python clients, or connect it with integrations and webhooks (Make, Zapier, n8n, Google Sheets, Slack, Airtable…). The dataset can be fetched as JSON or CSV from any tool.

### 🤖 Use with AI agents (MCP)

AI agents (Claude, ChatGPT, Cursor…) can find and run this Actor through the [Apify MCP server](https://mcp.apify.com), billed to their Apify account like any run. It returns one item per Skyscanner flight. Actor id: `nice_dev/skyscanner-flights-scraper`; MCP server with this Actor only: `https://mcp.apify.com/?tools=fetch-actor-details,nice_dev/skyscanner-flights-scraper`.

Smallest input, for a cheap first call:

```json
{
    "origin": "LON",
    "destination": "PAR",
    "maxItems": 10
}
```

Key output fields: `price`, `currency`, `cheapestAgent`, `bookingUrl`, `airline`, `flightNumbers`, `departureTime`, `arrivalTime`, `durationMinutes`, `stops`.

Cost: a price per flight saved plus a small fee per run start (counted per GB of memory), and each ticked option per row it adds, see the pricing section above and the **Pricing** tab. Cap each call with `maxItems` and, through the API, with the run option `maxTotalChargeUsd`.

### ❓ FAQ

#### Is it legal to scrape Skyscanner?

The Actor only reads what Skyscanner shows publicly to any anonymous visitor. It logs in to nothing. Results are flight schedules, fares and agencies: they hold no personal data. You are responsible for using the data in compliance with Skyscanner's Terms of Service and applicable law. This Actor is not affiliated with Skyscanner.

#### Does it need a login or a proxy?

No login. The proxy is included in the price: leave the default setting (the residential proxy is not available). A request the site turns away is retried at once on a new proxy session, up to 10 times on top of the retries (without a proxy, after a pause of 5 seconds, doubled at each retry up to 150 seconds).

#### Are the prices the ones I see on Skyscanner?

They are the prices Skyscanner shows to a visitor who is not logged in, for the places, dates, passengers, cabin, market and currency you asked for. A price is the total for all passengers; for a round trip or a multi-city trip it is the price of the whole trip, as on Skyscanner. Prices are live: two runs a few minutes apart can differ, and the same flight can be priced a little differently by the agencies from one run to the next.

#### Is the data safe to open in Excel or to show on a web page?

Every text is Skyscanner's own (airline, airport, city and agency names, fare names), copied as it is. The Actor leaves it as it is, so that the JSON and the API give the real value: when you open a CSV in Excel or Google Sheets, import the text columns as text. On a web page, escape every field like any text that comes from another site.

#### Known limitations

- **Calendar**: the price calendar gives the cheapest one-way price of each day, also for a round trip; if Skyscanner refuses it, your flights are still saved and the run says so.
- **Agencies on a flight row**: the row holds the cheapest agency only; the others come with **Booking options**.
- **Baggage and fare rules**: at most 30 flights per search, each one an extra request. When Skyscanner gives no details for a flight, it is delivered without baggage and that flight is not charged for it.
- **Times** are local airport times with no time zone, as Skyscanner shows them.
- **Dates**: with no departure date the search is 30 days after the run date. Skyscanner sells up to about 11 months ahead: a past or later date is refused before the run starts. A pasted link keeps its own dates, so a link whose date is past is refused too: in a scheduled task, use a relative **Departure date** or paste a fresh link.
- **Passengers**: 9 at most, 8 adults at most, one infant per adult.
- `onlyNew` remembers flights, not their price: without **Price changes**, a flight whose price moved is not returned again.
- Two runs sharing the same `stateKey` at the same time may both return the same new flight.

**A run that reaches its timeout** stops itself about 45 seconds before it: no new page is asked, what it read is saved and, with `onlyNew`, remembered, and the run ends *Succeeded* with "Stopped before the run's timeout". Resurrect it to go on from there, or give the next run a longer timeout (Run options).

**A run the platform stops without warning** (out of memory)

- Resurrect it: it goes on from where it stood at most a minute before the stop. What it had read since is read again, and the flights already saved are skipped: none is delivered or charged twice, and `maxItems` still counts them.
- With `onlyNew`, the memory is saved after each write (at most once every 2 seconds): resurrect the stopped run and the flights it had saved meanwhile join the memory; leave it stopped for good, and the next run may return the flights of its last 2 seconds once more.

#### Something doesn't work?

The last line of the log counts the flights saved, the flights filtered out and the requests that failed after every retry. Those requests are listed, with the reason, in the `FAILED_REQUESTS` record of the run's key-value store. A search Skyscanner returns no flight for is not a failure: it gives one free `no-flights` row. A run that saved nothing and had failed requests fails, and its last message gives the cause.

If Skyscanner changes its pages, you are told instead of paying for blank rows. If the first 20 listings read all lack their airline, their airports, their departure or arrival time, their duration, their flight numbers or the airline codes of their segments, their price or its text, their booking link, their cheapest agency, their airline code, their airport names or their self-transfer flags, the run saves nothing more, stops and fails, and its last message names the missing field: at most those first flights are charged. A flight that **Departure from**, **Arrival from** or **Max duration** drops because it has no time or duration at all counts among those 20. A run of fewer flights (a scheduled `onlyNew` run that finds a few new ones, a small **Max flights**) is checked at its end, from 5 listings: its flights are already saved, and the run fails with the missing field instead of ending green.

### 🛟 Support

Open an issue in the **Issues** tab with a link to your run: the run log and the `FAILED_REQUESTS` record of the key-value store show exactly which requests failed and why.

# Actor input Schema

## `origin` (type: `string`):

Departure: an airport or city IATA code (`LHR`, `LON` = all London airports), or a place name as typed on Skyscanner (`London`, `New York`). Several places separated by commas = one search per place.

## `origins` (type: `array`):

Several departure places in one run, one per line. Added to **From**: every departure is searched to every destination (departures x destinations x dates max 500 searches).

## `destination` (type: `string`):

Arrival: an airport or city IATA code (`LHR`, `LON` = all London airports), or a place name as typed on Skyscanner (`London`, `New York`). Several places separated by commas = one search per place.

## `destinations` (type: `array`):

Several destinations in one run, one per line. Added to **To**.

## `routes` (type: `array`):

Ready-made routes, one per line: `LHR-JFK`, optionally with their own dates `LHR-JFK 2026-12-10` (one-way) or `LHR-JFK 2026-12-10 2026-12-17` (round trip). A route without dates uses the dates below. Added to the places above; max 500 routes.

## `multiCityLegs` (type: `array`):

One multi-city trip per line, 2 to 6 flights separated by `;`: `LON-PAR 2026-12-10; PAR-BCN 2026-12-14; BCN-LON 2026-12-20`. Each line is one search; prices are for the whole trip, as on Skyscanner.

## `startUrls` (type: `array`):

Skyscanner search links copied from the address bar (`https://www.skyscanner.net/transport/flights/lond/pari/261210/?adultsv2=1&cabinclass=economy`, any Skyscanner country site): their places, dates, passengers and cabin are kept. Added to the searches of this form. Max 1 000 links.

## `departureDate` (type: `string`):

Outbound day: a date (`2026-12-20`), or a period from the run date such as `30 days`, `2 weeks` or `3 months` - a saved task then always looks the same distance ahead. Empty = 30 days from the run date. Skyscanner sells up to about 11 months ahead.

## `departureDateTo` (type: `string`):

Search every departure day from **Departure date** to this day, each day being its own full search (up to 60 departure days in all: the last at most 59 days after `departureDate`): a date, or a period from the run date such as `45 days` (with **Departure date** `30 days`). Empty = the departure date only. For the cheapest price of each day without the flight lists, use the **Price calendar** option.

## `returnDate` (type: `string`):

Return day of a round trip: a date (`2026-12-20`), or a period from the run date such as `30 days`, `2 weeks` or `3 months` - a saved task then always looks the same distance ahead. Empty = one-way (unless **Trip length** is set). Prices of a round trip are for the whole trip, as on Skyscanner.

## `tripLengthDays` (type: `integer`):

Round trip of this many days after each departure day - handy with a date range or a saved task. Used when **Return date** is empty. 0 = one-way. The last return must fall at most 330 days after the run date (with the default departure, 30 days from the run date, the longest useful trip is 300 days).

## `adults` (type: `integer`):

Passengers aged 18 or more.

## `children` (type: `integer`):

Passengers aged 2 to 17 (counted as 10 years old unless **Children's ages** is filled).

## `infants` (type: `integer`):

Passengers under 2 (at most one per adult, 9 passengers in all).

## `childAges` (type: `array`):

Exact age of each child and infant, as Skyscanner asks it (`[7, 1]`). When filled, it replaces **Children** and **Infants**.

## `cabinClass` (type: `string`):

Cabin searched.

## `market` (type: `string`):

Country Skyscanner prices for: fares, agencies and their offers differ by market.

## `markets` (type: `array`):

Compare markets in one run: every search is repeated in each of these Skyscanner markets (country codes `US`, `DE`), with the currency and language above. Added to **Market**; searches x markets max 500.

## `currency` (type: `string`):

Currency of every price (Skyscanner converts it). A pasted link keeps the currency chosen here.

## `locale` (type: `string`):

Language of airport, city, airline and agency names.

## `sortBy` (type: `string`):

Order of the flights of each search. `Best` = Skyscanner's own order (its score: price, duration and stops together).

## `maxItems` (type: `integer`):

Most flights saved for the whole run (after filters). 0 = no limit. Skyscanner lists about 200 to 1 700 flights per search; rows of the options are not counted here.

## `maxItemsPerQuery` (type: `integer`):

Most flights saved for each search (route x date). 0 = no limit per search.

## `includeBookingOptions` (type: `boolean`):

For the flights saved, add every place that sells the ticket - the airline and the travel agencies - with its price, its rating on Skyscanner and its booking link (`recordType` = `booking-option`). The cheapest one is always on the flight row. Read from the search already loaded: no extra request. Charged per agency offer saved, see Pricing.

## `bookingOptionsForTop` (type: `integer`):

Used with **Booking options**: how many flights of each search (in the order of **Sort by**) get their agencies. 0 = every flight saved.

## `includeCalendar` (type: `boolean`):

Add, day by day from the nearest departure date of your searches, the cheapest ONE-WAY price Skyscanner shows for that day on the route (also for a round trip), with its level (low / medium / high) (`recordType` = `calendar-day`). One request per pair of places (first leg) and market, shared by all the dates you search; a day with no price is not added. If Skyscanner refuses the calendar, your flights are still saved and the run says so. Charged per day with a price, see Pricing.

## `calendarDays` (type: `integer`):

Used with **Price calendar**: number of days, from the nearest departure date of the route.

## `includeSearchSummary` (type: `boolean`):

Add one row per search (`recordType` = `search-summary`): number of flights and agencies, cheapest / fastest / best flight, cheapest price nonstop, with 1 stop and with 2+ stops, shortest and longest duration, every airline with its cheapest price, and the airports used. Read from the search already loaded: no extra request. Charged per summary row.

## `includeBaggage` (type: `boolean`):

For the first flights of each search, open the flight's page on Skyscanner and add, for every agency offer, the cabin bag and the checked bag (included / for a fee + the fee / not offered, pieces, weight), the fare name (`Light`, `Standard`...), and whether a change, a cancellation and a seat choice are included or charged (`baggage`, `fareBrand`; on the flight row for its cheapest offer, and on each `booking-option` row with **Booking options**). One extra request per flight: charged per flight whose baggage was found, see Pricing.

## `baggageForTop` (type: `integer`):

Used with **Baggage and fare rules**: how many flights of each search (in the order of **Sort by**) get their baggage. Each one is an extra request (about 5-10 s) read during the search: past about 30 flights the search would take too long, so the maximum is 30.

## `maxPrice` (type: `integer`):

Highest price, in the chosen currency. 0 = no limit.

## `minPrice` (type: `integer`):

Lowest price, in the chosen currency (to skip suspicious fares). 0 = no limit.

## `maxStops` (type: `string`):

Most stops allowed on each flight of the trip.

## `maxDurationMinutes` (type: `integer`):

Longest door-to-door time of each flight of the trip, layovers included. 0 = no limit.

## `departureTimeFrom` (type: `integer`):

Earliest local departure hour of the outbound flight, 0-23. Empty = any.

## `departureTimeTo` (type: `integer`):

Latest local departure hour of the outbound flight, 1-24 (24 = midnight). Empty = any.

## `arrivalTimeFrom` (type: `integer`):

Earliest local arrival hour of the outbound flight, 0-23. Empty = any.

## `arrivalTimeTo` (type: `integer`):

Latest local arrival hour of the outbound flight, 1-24. Empty = any.

## `returnDepartureTimeFrom` (type: `integer`):

Round trip: earliest local departure hour of the return flight, 0-23. Empty = any.

## `returnDepartureTimeTo` (type: `integer`):

Round trip: latest local departure hour of the return flight, 1-24. Empty = any.

## `minLayoverMinutes` (type: `integer`):

Shortest connection allowed. 0 = no limit.

## `maxLayoverMinutes` (type: `integer`):

Longest connection allowed. 0 = no limit.

## `airlines` (type: `array`):

Keep flights whose every segment is sold or flown by one of these airlines. Give the airline code as Skyscanner shows it (`BA`, `AF`, `FR`, `VY` or `07` for Vueling, `EZ` or `EZY` for easyJet) or its name (`easyJet`, `Ryanair`, `Malta Air`). A code or a name matches the airline that sells the segment and the one that flies it (`VY` keeps the Iberia flights flown by Vueling). A name is read without accent or case, from its start and by whole words: `Vueling` is `Vueling Airlines`, `Air` is `Air France` and `Air Europa` but not `Ryanair`. Empty = all airlines.

## `excludeAirlines` (type: `array`):

Drop flights with a segment sold or flown by one of these airlines (same codes and names as in Airlines: `FR`, `EZ`, `EZY`, `easyJet`, `Malta Air`, or the start of a name such as `Vueling`).

## `connectingAirports` (type: `array`):

Keep flights whose every connection is at one of these airports (IATA codes). Nonstop flights are kept.

## `excludeConnectingAirports` (type: `array`):

Drop flights with a connection at one of these airports.

## `excludeSelfTransfer` (type: `boolean`):

Drop self-transfer trips (separate tickets: you collect your bags and check in again at the connection).

## `lessEmissionsOnly` (type: `boolean`):

Keep flights whose CO2 estimate is below the usual one for the route.

## `excludeKeywords` (type: `array`):

Drop flights whose airline, airport or city names contain one of these words: whole words, case and accents ignored (`air` removes Air France, not Ryanair).

## `onlyNew` (type: `boolean`):

Skip the flights a previous run (same **Memory key**) already delivered for the same search: not saved, not charged. A flight = same flights, same days, same cabin. First run = everything is new.

## `trackPriceChanges` (type: `boolean`):

Needs **Only new flights**. A flight already delivered comes back when its price has moved by at least the threshold below since the run that delivered it: `previousPrice`, `priceChange` and `priceChangePct` are filled. Charged per flight that comes back as a price change, on top of the flight itself, see Pricing; a flight whose price did not move enough is skipped and costs nothing.

## `priceChangeThreshold` (type: `number`):

Used with **Price changes**: 3 means a price going from 100 to 103 or to 97.

## `stateKey` (type: `string`):

Name of the memory used by **Only new flights**. Give each schedule / task its own key (e.g. `lon-par`). Letters, digits, `-` and `_`.

## `resetState` (type: `boolean`):

Forget the flights delivered under this **Memory key** before the run.

## `proxyConfiguration` (type: `object`):

Apify Proxy or your own proxies. Keep the default: it is included in the price. The residential Apify proxy is not available in this Actor.

## `maxConcurrency` (type: `integer`):

Maximum number of searches processed in parallel.

## `maxRequestsPerMinute` (type: `integer`):

Most requests to Skyscanner in any 60 seconds, all of them counted (a search is 2 to 10 requests while its results load).

## `minRequestIntervalMs` (type: `integer`):

Smallest gap between two requests, in milliseconds. 0 = no gap.

## `maxRequestRetries` (type: `integer`):

Retries per request before it is marked as failed. A request Skyscanner turns away is retried on a new proxy session.

## `debugLog` (type: `boolean`):

Include debug messages in the run log.

## Actor input object example

```json
{
  "origin": "LON",
  "origins": [],
  "destination": "PAR",
  "destinations": [],
  "routes": [],
  "multiCityLegs": [],
  "startUrls": [],
  "tripLengthDays": 0,
  "adults": 1,
  "children": 0,
  "infants": 0,
  "childAges": [],
  "cabinClass": "economy",
  "market": "UK",
  "markets": [],
  "currency": "GBP",
  "locale": "en-GB",
  "sortBy": "best",
  "maxItems": 20,
  "maxItemsPerQuery": 0,
  "includeBookingOptions": false,
  "bookingOptionsForTop": 10,
  "includeCalendar": false,
  "calendarDays": 30,
  "includeSearchSummary": false,
  "includeBaggage": false,
  "baggageForTop": 10,
  "maxPrice": 0,
  "minPrice": 0,
  "maxStops": "any",
  "maxDurationMinutes": 0,
  "minLayoverMinutes": 0,
  "maxLayoverMinutes": 0,
  "airlines": [],
  "excludeAirlines": [],
  "connectingAirports": [],
  "excludeConnectingAirports": [],
  "excludeSelfTransfer": false,
  "lessEmissionsOnly": false,
  "excludeKeywords": [],
  "onlyNew": false,
  "trackPriceChanges": false,
  "priceChangeThreshold": 3,
  "stateKey": "default",
  "resetState": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  },
  "maxConcurrency": 4,
  "maxRequestsPerMinute": 60,
  "minRequestIntervalMs": 0,
  "maxRequestRetries": 5,
  "debugLog": false
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "origin": "LON",
    "destination": "PAR",
    "maxItems": 20,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("nice_dev/skyscanner-flights-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "origin": "LON",
    "destination": "PAR",
    "maxItems": 20,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("nice_dev/skyscanner-flights-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "origin": "LON",
  "destination": "PAR",
  "maxItems": 20,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call nice_dev/skyscanner-flights-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,nice_dev/skyscanner-flights-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/3ty2FpM86AbNrKtKv/builds/hEkg0nH4ptYYhfx54/openapi.json
