# Skyscanner Flights Scraper API - $1.5/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:** 2 total users, 2 monthly users, 89.7% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.50 / 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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# 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("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).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": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=scrapeunblocker/skyscanner-flights-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/qDzA72AYW2kcRhWul/builds/tyTooRHPTGohfgwR3/openapi.json
