# Skyscanner Flights Scraper API - $0.80/1000 results (`scrapeunblocker/skyscanner-flights-scraper`) Actor

Search live flight prices across every airline via Skyscanner. Give an origin, destination and date - get every itinerary, price, duration, stops and times as clean structured JSON. One-way or round-trip.

- **URL**: https://apify.com/scrapeunblocker/skyscanner-flights-scraper.md
- **Developed by:** [Scrapeunblocker](https://apify.com/scrapeunblocker) (community)
- **Categories:** Travel, Automation, Developer tools
- **Stats:** 13 total users, 3 monthly users, 92.6% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.80 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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 Flights Scraper - Live Prices as JSON

Search **live flight prices across every airline** the way Skyscanner does - then get the whole result set back as clean, structured JSON. Give an origin, a destination and a date; receive every itinerary with its price, airlines, stops, durations and times, cheapest first.

One-way or round-trip. No browser setup, no proxies, no anti-bot headaches - it's all handled for you.

***

### ⚡ Why use it

- **Real Skyscanner prices** - the same live results you'd see on the site, across dozens of providers
- **Structured JSON, not HTML** - one clean row per itinerary, ready for a spreadsheet, database or model
- **Cheapest first** - results are sorted by price so the best deal is row 1
- **One-way & round-trip** - leave the return date empty for one-way
- **Any market & currency** - price a route as a traveller booking from any country

***

### 📥 Input

| Field | Required | Description |
|-------|----------|-------------|
| `origin` | ✅ | Departure airport or city - IATA code (`VNO`, `LON`) or name (`Vilnius`, `London`) |
| `destination` | ✅ | Arrival airport or city - IATA code (`JFK`, `MAD`) or name |
| `departDate` | ✅ | Outbound date, `YYYY-MM-DD` |
| `returnDate` | | Return date, `YYYY-MM-DD`. Empty = one-way |
| `adults` | | Adult passengers, 1-9 (default 1) |
| `cabin` | | `economy`, `premium_economy`, `business`, `first` (default `economy`) |
| `currency` | | Price currency, ISO code (default `EUR`) |
| `market` | | Country you're booking from - affects prices/providers (default `UK`) |
| `locale` | | Result language, e.g. `en-GB`, `de-DE` (default `en-GB`) |
| `maxResults` | | Cap the number of itineraries returned, cheapest first. `0` = all |

#### Example

```json
{
  "origin": "London",
  "destination": "Madrid",
  "departDate": "2026-09-15",
  "returnDate": "2026-09-22",
  "adults": 1,
  "cabin": "economy",
  "currency": "EUR",
  "market": "UK",
  "locale": "en-GB"
}
```

***

### 📤 Output

One dataset item per itinerary (cheapest first):

```json
{
  "id": "13554-2609...",
  "price": 78.4,
  "priceFormatted": "€78",
  "currency": "EUR",
  "airlines": ["Ryanair"],
  "totalStops": 0,
  "outbound": {
    "from": "STN", "fromCity": "London",
    "to": "MAD", "toCity": "Madrid",
    "departure": "2026-09-15T06:20:00", "arrival": "2026-09-15T09:55:00",
    "durationMinutes": 155, "stops": 0, "airline": "Ryanair"
  },
  "inbound": {
    "from": "MAD", "to": "STN",
    "departure": "2026-09-22T20:10:00", "arrival": "2026-09-22T21:45:00",
    "durationMinutes": 155, "stops": 0, "airline": "Ryanair"
  },
  "legs": [ ... same shape as outbound/inbound ... ]
}
```

The **full raw Skyscanner response** (every field, unfiltered) is also saved to the run's key-value store under `OUTPUT`.

***

### 🚀 Run it via API

```bash
curl -X POST "https://api.apify.com/v2/acts/YOUR_ACTOR/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"origin":"London","destination":"Madrid","departDate":"2026-09-15"}'
```

***

### 💡 Use cases

- Flight price monitoring & fare alerts
- Travel comparison sites and dashboards
- Feeding fares into pricing models / LLMs
- Route research and demand analysis

***

### ⚠️ Notes

- The **first search on a route takes ~30s** while a live session warms up; repeat searches are much faster. The actor waits and retries automatically.
- Prices depend on `market` and `currency` - a route priced from `US`/`USD` can differ from `UK`/`GBP`.
- Powered by [ScrapeUnblocker](https://www.scrapeunblocker.com/?utm_source=apify\&utm_medium=integration\&utm_campaign=skyscanner-flights) - anti-bot bypass and scraping infrastructure.

# Actor input Schema

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

Departure airport or city. Use an IATA code (VNO, LON) or a name (Vilnius, London) - it is resolved automatically.

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

Arrival airport or city. IATA code (JFK, MAD) or a name (New York, Madrid).

## `departDate` (type: `string`):

Outbound date in YYYY-MM-DD format. Leave empty to default to ~60 days from today.

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

Return date in YYYY-MM-DD. Leave empty for a one-way search.

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

Number of adult passengers (1-9).

## `cabin` (type: `string`):

Cabin class to price.

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

Currency for prices (ISO code, e.g. EUR, USD, GBP).

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

Country you are booking from. Affects prices and available providers (e.g. UK, US, DE, LT).

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

Language of the results (e.g. en-GB, en-US, de-DE).

## `maxResults` (type: `integer`):

Maximum number of itineraries to return (cheapest first). Leave at 0 to return every itinerary Skyscanner finds.

## Actor input object example

```json
{
  "origin": "London",
  "destination": "Madrid",
  "departDate": "2026-09-15",
  "returnDate": "2026-09-22",
  "adults": 1,
  "cabin": "economy",
  "currency": "EUR",
  "market": "UK",
  "locale": "en-GB",
  "maxResults": 0
}
```

# Actor output Schema

## `raw` (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": "London",
    "destination": "Madrid"
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapeunblocker/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": "London",
    "destination": "Madrid",
}

# Run the Actor and wait for it to finish
run = client.actor("scrapeunblocker/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": "London",
  "destination": "Madrid"
}' |
apify call scrapeunblocker/skyscanner-flights-scraper --silent --output-dataset

```

## MCP server setup

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