# Ryanair Fare Scraper — Explore & Timetable · $0.85/1k (`bakos_bence/ryanair-fares`) Actor

Scrape Ryanair fares by route and flexible date window — cheapest one-way and round-trip prices, Explore mode, optional full timetable. Price, currency, flight number, schedule, airports, and booking links per row.

- **URL**: https://apify.com/bakos\_bence/ryanair-fares.md
- **Developed by:** [Bakos Bence](https://apify.com/bakos_bence) (community)
- **Categories:** Travel
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.43 / 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.
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?

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

### What does Ryanair Fare Scraper do?

**Scrape Ryanair flight fares** into a clean Apify dataset — one-way, round-trip, explore mode, and optional full timetable. Give an origin (and optional destination) plus a flexible date window and get **price, currency, flight number, schedule, airports, and booking links**.

**Dashboards:** connect **Power BI**, **Tableau**, **Looker Studio**, or **Qlik** to the dataset API — see *Export to Power BI, Tableau, Looker Studio & Qlik* near the end. **AI agents:** paste this Actor’s Store page URL into an Apify-capable agent (MCP / Claude / Cursor with Apify), create an Apify account and API token once, and the agent can run the Actor and wire up the output.

Works via Ryanair’s public fare / timetable endpoints. Export **JSON or CSV**, run on a schedule, call via **API / MCP**, or pipe into other Actors.

**Also scraping Wizz Air?** Pair with the [Wizz Air Routes & Fare Calendar Scraper](https://apify.com/bakos_bence/wizzair-routes-fares) for day-by-day calendar prices and route-map rows — Ryanair here covers Explore mode, round-trip, and per-flight timetable rows.

#### Why use this Ryanair scraper?

- ✈️ **Cheapest one-way fares** across a flexible date window
- 🛫 **All flights per day** (`allFlights`) — timetable rows with the day’s cheapest fare attached
- 🔁 **Round-trip** — outbound + inbound windows with combined totals
- 🌍 **Explore mode** — leave destination empty; cheapest fare to every destination from an origin
- 🔗 **Booking deep-links** with your passenger mix
- ⚙️ Input keys match common Store Actors — migrate by swapping the Actor ID

#### What data can you extract from Ryanair?

| Field group | Examples |
|-------------|---------|
| Price | `price`, `currency`, `totalPrice` (round-trip) |
| Flight | `flightNumber`, `carrierCode`, `departureDate`, `arrivalDate`, `durationMinutes` |
| Airports | `fromCode` / `toCode`, names, city, country |
| Booking | `bookingUrl` |

#### Use cases

| Who | What they build |
|-----|-----------------|
| Travel apps / OTAs | Live Ryanair fare feeds and alerts |
| Price monitoring | Track a route’s cheapest fare over time |
| Deals / content sites | “Cheapest flights from {city}” via Explore |
| Data teams | Structured LCC fare rows for dashboards |

#### How to scrape Ryanair fares

1. Open this Actor in [Apify Console](https://console.apify.com/).
2. Set `origin` (IATA, e.g. `BUD` or `DUB,STN`).
3. Optional: `destination`, date windows, `tripType`, `allFlights`, `currency`, `market`.
4. Leave `destination` empty for Explore mode.
5. Start the run; export the dataset or pull it via API.

#### How much does it cost to scrape Ryanair?

**Pay per event (PPE):** you pay for Actor start + each fare **result** row. Platform compute is included in the event price. On Free, results are about **$0.85 / 1,000**; paid plans are lower (see the Pricing tab). Cap spend with `maxResults`.

#### Input

| Parameter | Notes |
|-----------|--------|
| `origin` | Required. IATA; comma-separate for several |
| `destination` | Optional; empty = Explore |
| `tripType` | `oneWay` (default) or `roundTrip` |
| `allFlights` | Full timetable for fixed one-way routes |
| `departDateFrom` / `departDateTo` | Outbound window (`YYYY-MM-DD`) |
| `returnDateFrom` / `returnDateTo` | Round-trip inbound window |
| `currency`, `market` | e.g. `EUR`, `en-gb` |
| `maxPrice`, `sortBy`, `maxResults` | Filters and caps |
| `proxyConfiguration` | Optional Apify Proxy for large multi-route runs |

#### Sample output

```json
{
  "tripType": "oneWay",
  "carrierCode": "FR",
  "carrierName": "Ryanair",
  "price": 53.75,
  "currency": "EUR",
  "flightNumber": "FR3591",
  "fromCode": "BUD",
  "toCode": "STN",
  "departureDate": "2026-09-10T09:35:00",
  "bookingUrl": "https://www.ryanair.com/..."
}
```

#### FAQ

##### Do I need a Ryanair account or proxy?

No account. Proxy is optional; enable Apify Proxy for very large multi-route windows.

##### Why only one flight per day?

Default mode returns each day’s **cheapest** fare. Set `allFlights: true` for every scheduled departure (day’s cheapest fare still attached).

##### Is scraping Ryanair fares legal?

This Actor reads **public fare facts** only.

##### Can I run this from Python, JS, or an AI agent?

Yes — Apify API, official clients, CLI, or [Apify MCP](https://mcp.apify.com).

##### Need Wizz Air fares too?

Use [Wizz Air Routes & Fare Calendar Scraper](https://apify.com/bakos_bence/wizzair-routes-fares) for priced **day calendars** and hub route maps. Ryanair + Wizz together cover the two largest European LCCs with complementary row shapes (per-fare vs per-day calendar).

#### Related Actors

| Actor | Use together when… |
|-------|-------------------|
| [Wizz Air Routes & Fare Calendar Scraper](https://apify.com/bakos_bence/wizzair-routes-fares) | You need Wizz **day-price calendars**, route maps, or hub-wide dumps alongside Ryanair fares |
| [Ryanair Fare Scraper](https://apify.com/bakos_bence/ryanair-fares) | *(this Actor)* — Explore mode, round-trip, timetable (`allFlights`) |

More scrapers: [bakos\_bence on Apify](https://apify.com/bakos_bence) — Just Eat restaurants, Shopify, Chrono24, eMAG.

#### For AI agents & LLM apps

Paste this Actor’s **Apify Store URL** into an agent that can use Apify (MCP, Claude, Cursor, etc.). With an Apify account and API token, the agent can set input, run the Actor, and fetch the dataset.

**Actor ID:** `bakos_bence/ryanair-fares`

**Purpose:** Scrape Ryanair public fares — cheapest one-way / round-trip by route and date window, Explore (origin only), or full timetable (`allFlights`).

**Minimal input:**

```json
{ "origin": "DUB", "destination": "STN", "maxResults": 50 }
```

Explore: omit `destination`. Round-trip: `"tripType": "roundTrip"` plus return dates.

**Output:** one dataset row per fare (or timetable flight). Key fields: `tripType`, `price`, `currency`, `flightNumber`, `fromCode`, `toCode`, `departureDate`, `bookingUrl`.

#### Export to Power BI, Tableau, Looker Studio & Qlik

After a run, rows live in an Apify **dataset**. You can download JSON/CSV/Excel from the Dataset tab, or point BI tools at a **CSV URL** that refreshes when you scrape again.

**Prefer the token in the URL** (`token=`) — most tools only need “open this link as CSV”, with no custom headers.

##### Build a refreshable CSV URL

1. In Apify Console, open **Settings → Integrations** and copy an API token.
2. Save this Actor as a **Task** (optional but best for dashboards), run or **schedule** it once so there is a successful run.
3. Use the **latest successful task run** URL (replace `TASK_ID` and `YOUR_TOKEN`):

```text
https://api.apify.com/v2/actor-tasks/TASK_ID/runs/last/dataset/items?format=csv&clean=true&status=SUCCEEDED&token=YOUR_TOKEN
```

Or, from any finished run, open the **Dataset** tab, copy the dataset ID, and use:

```text
https://api.apify.com/v2/datasets/DATASET_ID/items?format=csv&clean=true&token=YOUR_TOKEN
```

Anyone with that URL can read the data — treat it like a password. For recurring dashboards, prefer the `actor-tasks/…/runs/last/…` form so refresh always hits the newest successful scrape.

##### Power BI

1. Open Power BI Desktop → **Home** → **Get data** → **Web**.
2. Paste the CSV URL (including `token=`).
3. When asked how to sign in, choose **Anonymous** → **Connect**.
4. Confirm the preview is a table (CSV). **Load** or **Transform data** as needed.
5. Publish / schedule refresh in the Power BI service using the same URL (task `runs/last` keeps it current after each scrape).

`401`: token missing/wrong, or you did not pick **Anonymous**.

##### Tableau

1. Install Tableau’s **REST API** connector from Tableau Exchange (Desktop **2023.3+**).
2. **Connect** → **To a Server** → **REST API**.
3. Paste the CSV URL (including `token=`). Set response format to **CSV**.
4. If the connector asks for auth and the token is already in the URL, leave credentials empty / anonymous; otherwise paste the same token as a Bearer access token.
5. Create an **extract**. Refresh the extract after scheduled Task runs (or point at `runs/last` so each refresh loads the latest success).

Plain **Text file** connect still works if you download CSV from the Dataset tab once — use REST when you want repeatable refresh.

##### Looker Studio

Looker Studio has no strong built-in “private CSV API” connector. Use Google Sheets as the bridge:

1. Create a Google Sheet. In **A1** enter:

```text
=IMPORTDATA("https://api.apify.com/v2/actor-tasks/TASK_ID/runs/last/dataset/items?format=csv&clean=true&status=SUCCEEDED&token=YOUR_TOKEN")
```

2. Wait until columns fill (Sheets refreshes IMPORTDATA periodically).
3. In Looker Studio → **Create** → **Report** → **Google Sheets** → select that spreadsheet / tab.
4. Build the report. After each Actor/Task run, refresh the Sheet (or wait for IMPORTDATA) then refresh the Looker data source.

One-off alternative: Dataset tab → download CSV → Looker Studio **File upload**.

##### Qlik

**REST connector** (refreshable):

1. In Qlik Cloud / Qlik Sense → **Add data** → **REST** (or create a REST connection in the Data load editor).
2. URL = the CSV URL including `token=`. Method **GET**.
3. Set the expected response type to **CSV** (or use `format=json` and JSON mode).
4. **Test connection**, pick the table, **Add** / **Load**.
5. **Reload** the app after scheduled scrapes; with `runs/last`, each reload pulls the latest successful dataset.

**Files:** Dataset tab → download CSV → **Add data** → upload the file (fine for a single snapshot).

#### SEO keywords

ryanair scraper, scrape ryanair, ryanair fares api, ryanair price scraper, ryanair flight scraper, cheapest ryanair flights, ryanair fare finder, budget flight scraper, ryanair explore mode, ryanair timetable scraper, flight price monitoring, europe low cost carrier fares

# Actor input Schema

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

Origin airport IATA code. Comma-separate for several origins (e.g. `DUB,STN`).

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

Destination airport IATA code(s), comma-separated. Leave empty for Explore mode.

## `tripType` (type: `string`):

`oneWay` (default) or `roundTrip`.

## `allFlights` (type: `boolean`):

One-way fixed routes only. Return every scheduled flight per day from the timetable API.

## `departDateFrom` (type: `string`):

Earliest outbound date (YYYY-MM-DD). Defaults to today.

## `departDateTo` (type: `string`):

Latest outbound date (YYYY-MM-DD). Defaults to 7 days after the start.

## `returnDateFrom` (type: `string`):

Earliest inbound date (YYYY-MM-DD). Required for round-trip.

## `returnDateTo` (type: `string`):

Latest inbound date (YYYY-MM-DD).

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

Currency code for prices, e.g. EUR, USD, GBP.

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

Ryanair market, e.g. en-gb, en-ie, es-es, de-de.

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

Keep only fares at or below this price. Leave empty for no limit.

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

Order saved fares: sourceOrder (default), cheapest, earliestDeparture, or shortestDuration.

## `includeUnavailable` (type: `boolean`):

Also emit rows with price null / available false for dates with no Ryanair fare.

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

Number of adults (used for the booking deep-link).

## `teens` (type: `integer`):

Number of teens aged 12–15 (booking deep-link).

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

Number of children aged 2–11 (booking deep-link).

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

Number of infants under 2 (booking deep-link).

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

Hard cap on the total number of fare rows returned.

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

Optional Apify Proxy.

## Actor input object example

```json
{
  "origin": "DUB",
  "destination": "STN",
  "tripType": "oneWay",
  "allFlights": false,
  "currency": "EUR",
  "market": "en-gb",
  "sortBy": "sourceOrder",
  "includeUnavailable": false,
  "adults": 1,
  "teens": 0,
  "children": 0,
  "infants": 0,
  "maxResults": 1000,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `overview` (type: `string`):

Default dataset items.

# 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": "DUB",
    "destination": "STN"
};

// Run the Actor and wait for it to finish
const run = await client.actor("bakos_bence/ryanair-fares").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": "DUB",
    "destination": "STN",
}

# Run the Actor and wait for it to finish
run = client.actor("bakos_bence/ryanair-fares").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": "DUB",
  "destination": "STN"
}' |
apify call bakos_bence/ryanair-fares --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,bakos_bence/ryanair-fares"
        }
    }
}

```

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/0HpQE42OQfJHU8RLe/builds/1eZKur0ZV8Fl12Bcj/openapi.json
