# Skyscanner Scraper - Flight Prices, Airlines & Times (`scrapewise/skyscanner-scraper`) Actor

Scrape Skyscanner flight prices by route and date, one-way or round trip: price, airlines, flight numbers, departure and arrival times, stops, duration, every agency offer with its booking link, fare rules and CO2. Any market and currency. Price-change mode for schedules. Error rows are free.

- **URL**: https://apify.com/scrapewise/skyscanner-scraper.md
- **Developed by:** [Scrapewise Data](https://apify.com/scrapewise) (community)
- **Categories:** Travel, E-commerce
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 flight delivereds

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

## Skyscanner Scraper: flight prices, airlines, times, stops and booking links by route and date

Skyscanner Scraper collects **flight search results from Skyscanner**, the flight comparison site, for any route and
date. Give it where you fly from, where you fly to and when (one-way or round trip), and every itinerary comes back as
one clean row: total price, airlines, flight numbers, departure and arrival times, stops and stop airports, duration
of each leg, the cheapest seller with its rating and booking link, the list of agencies and airlines selling the same
flights, fare rules (change, cancellation, refund) and CO2 emissions.

Airport codes (JFK), city codes (NYC, LON) and plain city names (Chicago, Tokyo) all work. Pick the market and the
currency you want (US, UK, Germany, India... in USD, EUR, GBP, INR...), the cabin, the number of adults and children,
and filter by stops, airlines, price or duration. No Skyscanner account needed.

It is used to track airfares on the routes you care about, to feed price-drop alerts with `onlyNew` on a schedule, to
compare airlines and online travel agencies on the same flight, and to build fare datasets for travel planning, travel
agencies, route analysis and pricing research.

### At a glance

| What | Price |
|---|---|
| Flight delivered | **US$ 1.00 per 1,000 flights** (US$ 0.001 each) |
| Run start | US$ 0.005 per run |

- One route and date with the default 50 cheapest flights = **about US$ 0.155**. 20 flights = US$ 0.065.
- Error rows, filtered-out flights, duplicates and flights whose price did not change since the last run (`onlyNew`)
  are never charged. `maxItems` is a hard cap, and a spending limit set on the run stops it cleanly with everything
  delivered so far.
- A search usually takes 10 to 30 seconds: the Actor waits until every airline and agency has answered, so the prices
  are the complete list you would see on the site.

### Quick start

One-way, in 30 days, the 20 cheapest flights:

```json
{
  "origin": "BOS",
  "destination": "LIS",
  "departureDate": "30",
  "maxResultsPerSearch": 20
}
```

Round trip with a fixed return date, nonstop only, prices in euros:

```json
{
  "origin": "BOS",
  "destination": "LIS",
  "departureDate": "2026-12-08",
  "returnDate": "2026-12-15",
  "maxStops": "0",
  "currency": "EUR"
}
```

Several routes and dates in one run (each combination is one search), on the UK site in pounds:

```json
{
  "origin": "Manchester, EDI",
  "destination": "BCN, AMS",
  "departureDate": "2026-12-12, 2026-12-19",
  "market": "UK",
  "currency": "GBP",
  "locale": "en-GB",
  "maxResultsPerSearch": 10
}
```

Daily price monitor (schedule it once a day): only the flights that are new among the 30 cheapest, or whose price
moved, come back, each with `previousPrice` and `changeType`:

```json
{
  "origin": "NYC",
  "destination": "London",
  "departureDate": "2027-03-10",
  "returnDate": "2027-03-17",
  "adults": 2,
  "maxResultsPerSearch": 30,
  "onlyNew": true
}
```

You can also paste search links copied from the browser in `startUrls`, like
`https://www.skyscanner.com/transport/flights/bos/lis/261208/261215/?adultsv2=1&cabinclass=economy`. Route, dates,
travellers and cabin are read from the link. An empty input runs the example route BOS to LIS in 30 days.

### Input

| Field | What it does |
|---|---|
| `origin` | From: airport code (JFK), city code (NYC) or city name. Several, separated by commas, run one search each. |
| `destination` | To, in the same forms. Several, separated by commas, run one search each. |
| `departureDate` | `YYYY-MM-DD` or days from today (`30`). Several dates separated by commas run one search each. |
| `returnDate` | Empty = one-way. `YYYY-MM-DD` or days from today. One per departure date, or one for all. |
| `tripLengthDays` | Round trip with the return N days after each departure (used when `returnDate` is empty). |
| `startUrls` | Skyscanner flight search links (any Skyscanner country site). |
| `adults` | 1 to 8. Default 1. |
| `childAges` | One age per child, 0 to 17. Under 2 travels as an infant. |
| `cabinClass` | `economy` (default), `premium_economy`, `business`, `first`. |
| `market` | Country site whose fares you want: `US` (default), `UK`, `DE`, `FR`, `ES`, `IT`, `CA`, `AU`, `IN`, `BR`... |
| `currency` | `USD` (default), `EUR`, `GBP`, `CAD`, `AUD`, `INR`, `BRL`, `JPY`... |
| `locale` | Language of names: `en-US` (default), `en-GB`, `de-DE`, `es-ES`... |
| `maxStops` | `any` (default), `0` nonstop, `1`, `2`. Applies to each leg. |
| `airlines` | Only itineraries where every flight is sold by one of these airlines (codes like `BA` or names). |
| `excludeAirlines` | Drop itineraries with any flight on these airlines. |
| `maxPrice` | Highest total price, in the chosen currency. |
| `maxDurationHours` | Longest leg allowed, stops included. |
| `excludeSelfTransfer` | Leave out itineraries where you change between separate tickets yourself. |
| `includeNearbyAirports` | Also search airports near the origin and destination. |
| `sortBy` | `cheapest` (default), `best` (the site's own ranking), `fastest`, `departure`. |
| `maxResultsPerSearch` | Flights per route and date after filters and sort. Default 50; 0 = all (often 300 to 1,200). |
| `maxItems` | Hard cap for the whole run. |
| `onlyNew` | Only flights new among the top results or with a changed price since the last run of the same search. |

Field names used by other flight tools are accepted too: `departureAirport`, `arrivalAirport`, `from`, `to`,
`departDate`, `children` and `infants` (counts), `skyscannerMarket`, `skyscannerCurrency`, `skyscannerLocale`,
`resultSort`, `resultLimit`, `maxFlights`, `filterNonStop`, `filterOneStop`.

### Output

One row per itinerary (one-way or round trip). Prices are the **total for all travellers** in the search.

| Field | Example |
|---|---|
| `origin`, `destination` | `BOS`, `LIS` |
| `originName`, `destinationName` | `Boston Logan International`, `Lisbon` |
| `departureDate`, `returnDate`, `tripType` | `2026-12-08`, `2026-12-15`, `round-trip` |
| `adults`, `children`, `cabinClass`, `market`, `currency` | `1`, `0`, `economy`, `US`, `EUR` |
| `price`, `priceFormatted` | `670.91`, `671 €` |
| `airlines` | `["Delta"]` |
| `outboundDeparture`, `outboundArrival` | `2026-12-08T21:35:00`, `2026-12-09T09:00:00` (local times) |
| `outboundDurationMinutes`, `outboundStops`, `outboundStopAirports` | `385`, `0`, `[]` |
| `outboundAirlines`, `outboundFlightNumbers` | `["Delta"]`, `["DL124"]` |
| `returnDeparture`, `returnArrival`, `returnDurationMinutes`, `returnStops`... | same for the return leg (empty on one-way) |
| `totalDurationMinutes` | `849` |
| `tags`, `isCheapest`, `isFastest`, `score` | `["shortest"]`, `false`, `true`, `0.999` |
| `isSelfTransfer`, `isProtectedSelfTransfer` | `false`, `false` |
| `changeAllowed`, `cancellationAllowed`, `partiallyRefundable` | `false`, `false`, `false` |
| `emissionsKg`, `emissionsLevel` | `844.4`, `typical` |
| `offersCount`, `cheapestSeller`, `cheapestSellerType`, `cheapestSellerRating` | `1`, `Delta`, `airline`, `4.92` |
| `bookingUrl` | Skyscanner link that opens the cheapest seller's booking page |
| `offers` | up to 10 sellers: name, airline or travel agency, rating, reviews, price, tickets, booking link |
| `legs` | each leg with every flight: airports, times, duration, flight number, airline, operated by |
| `searchUrl` | the same search on Skyscanner |
| `itineraryId`, `searchId` | stable ids of the itinerary and of the search |
| `previousPrice`, `changeType` | with `onlyNew`: last price seen and `new`, `price_down` or `price_up` |

Real row (round trip BOS to LIS, nonstop, EUR, trimmed):

```json
{
  "type": "flight",
  "origin": "BOS",
  "destination": "LIS",
  "departureDate": "2026-12-08",
  "returnDate": "2026-12-15",
  "tripType": "round-trip",
  "currency": "EUR",
  "price": 670.91,
  "priceFormatted": "671 €",
  "airlines": ["Delta"],
  "outboundDeparture": "2026-12-08T21:35:00",
  "outboundArrival": "2026-12-09T09:00:00",
  "outboundDurationMinutes": 385,
  "outboundStops": 0,
  "outboundFlightNumbers": ["DL124"],
  "returnDeparture": "2026-12-15T11:15:00",
  "returnArrival": "2026-12-15T13:59:00",
  "returnDurationMinutes": 464,
  "returnFlightNumbers": ["DL125"],
  "totalDurationMinutes": 849,
  "tags": ["shortest"],
  "emissionsKg": 844.425,
  "emissionsLevel": "typical",
  "offersCount": 1,
  "cheapestSeller": "Delta",
  "cheapestSellerType": "airline",
  "cheapestSellerRating": 4.92,
  "offers": [
    {"seller": "Delta", "sellerType": "airline", "sellerRating": 4.92, "sellerReviews": 4439, "price": 670.91, "tickets": 1, "bookingUrl": "https://www.skyscanner.com/transport_deeplink/4.0/US/en-US/EUR/dela/2/..."}
  ],
  "searchUrl": "https://www.skyscanner.com/transport/flights/bos/lis/261208/261215/?adultsv2=1&cabinclass=economy&rtn=1"
}
```

The same flight sold under several airline codes (codeshares) comes as separate itineraries, as on the site: in the
search above Delta, Air France, KLM and Virgin Atlantic each sell DL124/DL125 under their own flight number.

### Errors you may see

Every problem is one row with `errorCode` and a plain explanation, never charged:

| errorCode | Meaning |
|---|---|
| `INVALID_INPUT` | A field has a wrong value (the message says which), or origin equals destination. |
| `INVALID_DATE`, `PAST_DATE`, `DATE_TOO_FAR` | The date is not a date, is in the past, or is more than a year away. |
| `RETURN_BEFORE_DEPARTURE` | The return date is before the departure date. |
| `NOT_FOUND` | Skyscanner does not know the place. Use the airport or city code, or the city name. |
| `NO_RESULTS` | No flights for the route and date, or none match the filters. |
| `SEARCH_REJECTED` | Skyscanner did not accept the search as given; the message carries its reason. |
| `BLOCKED` | Skyscanner did not answer after several attempts. Run it again in a few minutes. |
| `NOT_REACHED` | The run timeout arrived before this search. Raise the timeout or split the input. |
| `TOO_MANY_SEARCHES` | More than 60 route and date combinations in one run; the first 60 are run. |

A bad date or place only drops that search: the rest of the input still runs.

### Integrations, scheduling and AI agents

- **Schedules:** run the same input every day or every few hours from Apify Schedules. With `onlyNew` you get only
  the flights that appeared or changed price, ready for an alert.
- **Export:** JSON, CSV, Excel, XML or RSS from the dataset, or the Apify API for your own code (Python, Node.js).
- **Make, n8n, Zapier, Google Sheets, Slack, email:** connect the run to a workflow that posts price drops to a
  channel or a spreadsheet.
- **AI agents:** the Actor can be called as a tool through the Apify MCP server, so an assistant can search fares for
  a trip and compare airlines and sellers.

### FAQ

**Is the price per person or for everyone?** For everyone in the search. With 2 adults, the same flight costs about
twice the price shown for 1 adult.

**Which times are these?** Local times at each airport, as on the site. `arrivalDayOffset` in `legs` tells when the
arrival is on a later day.

**Can I get every flight, not just the cheapest?** Yes: `maxResultsPerSearch: 0` delivers every itinerary
Skyscanner returns for the search, often several hundred on long-haul routes.

**Do the booking links keep working?** They open the seller's page with the price of the moment of the run. Fares
change during the day, so use them soon after the run.

**Can I search a whole month?** Put several dates in `departureDate` (comma-separated) or use days from today
(`30, 31, 32...`) with `tripLengthDays`; each date is one search.

**Do I need a Skyscanner account?** No.

### Limitations

- One search per route and date; flexible-date calendars and "everywhere" searches are not supported.
- Multi-city trips (three or more legs) are not supported yet.
- Prices, sellers and availability are the ones Skyscanner shows at the moment of the run for the chosen market.
- Hotels and car hire are not included.

### Changelog

- **8 Nov 2026**: first version. Route and date search (one-way and round trip), airport, city code or city name,
  market, currency and language, travellers and cabin, stops, airlines, price and duration filters, sellers with
  booking links, fare rules, CO2, price-change mode for schedules.

# Actor input Schema

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

Where you fly from: airport code (JFK), city code (NYC, LON) or city name (Chicago). Several origins separated by commas run one search each.

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

Where you fly to, in the same forms as From: airport code (LIS), city code (PAR) or city name (Tokyo). Several destinations separated by commas run one search each.

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

YYYY-MM-DD, or a number of days from today (30 = in 30 days, handy for schedules). Several dates separated by commas run one search each.

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

Empty = one-way. YYYY-MM-DD or days from today (37). With several departure dates, give one return date per departure date, in the same order, or use Trip length.

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

Round trip with the return this many days after each departure date. Used when Return date is empty.

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

Flight search links copied from the browser, like skyscanner.com/transport/flights/bos/lis/261210/261217/?adultsv2=2\&cabinclass=economy. Route, dates, travellers and cabin are read from the link.

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

Number of adults (1 to 8).

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

One age per child, 0 to 17 (under 2 = infant on lap). Empty = no children.

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

Cabin to search.

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

Country of the Skyscanner site whose fares you want, as a 2-letter code: US, UK, DE, FR, ES, IT, CA, AU, IN, BR... Agencies and prices differ by market.

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

3-letter currency code for prices: USD, EUR, GBP, CAD, AUD, INR, BRL, JPY...

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

Language of place and airline names, like en-US, en-GB, de-DE, es-ES.

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

Maximum stops on each leg (outbound and return).

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

Airline codes or names (BA, TP, Delta). Every flight of the itinerary must be sold by one of them. Empty = all airlines.

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

Airline codes or names to leave out (any flight on them drops the itinerary).

## `maxPrice` (type: `number`):

Highest total price to include, in the currency above. Empty = no limit.

## `maxDurationHours` (type: `number`):

Leave out itineraries where a leg takes longer than this, stops included. Empty = no limit.

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

On: leave out itineraries where you change between separate tickets yourself.

## `includeNearbyAirports` (type: `boolean`):

On: also search airports near the origin and destination.

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

Order of the flights in each search, applied before the per-search limit.

## `maxResultsPerSearch` (type: `integer`):

Flights delivered per route and date, after filters and sort. 0 = every itinerary Skyscanner returns (often 300 to 1,200).

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

Hard cap for the whole run, across all searches. Empty or 0 = no cap.

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

On: remembers the price of each flight delivered in earlier runs of the same search (in your account) and delivers only flights not seen before or whose price changed, with previousPrice and changeType. Unchanged flights are skipped and free.

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

Pre-set for Skyscanner and included in the price. Keep the default.

## Actor input object example

```json
{
  "origin": "BOS",
  "destination": "LIS",
  "departureDate": "30",
  "adults": 1,
  "cabinClass": "economy",
  "market": "US",
  "currency": "USD",
  "locale": "en-US",
  "maxStops": "any",
  "excludeSelfTransfer": false,
  "includeNearbyAirports": false,
  "sortBy": "cheapest",
  "maxResultsPerSearch": 20,
  "onlyNew": false,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "US"
  }
}
```

# Actor output Schema

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

No description

## `resultsCsv` (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": "BOS",
    "destination": "LIS",
    "departureDate": "30",
    "maxResultsPerSearch": 20,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ],
        "apifyProxyCountry": "US"
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapewise/skyscanner-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": "BOS",
    "destination": "LIS",
    "departureDate": "30",
    "maxResultsPerSearch": 20,
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
        "apifyProxyCountry": "US",
    },
}

# Run the Actor and wait for it to finish
run = client.actor("scrapewise/skyscanner-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": "BOS",
  "destination": "LIS",
  "departureDate": "30",
  "maxResultsPerSearch": 20,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "US"
  }
}' |
apify call scrapewise/skyscanner-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,scrapewise/skyscanner-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/LxdRPIRrtuRJhjTZX/builds/Un7iagh2NcOBcZOeV/openapi.json
