# Ryanair Flights Scraper — $0.30/1K rows, fare calendar (`lergassy/ryanair-flights-scraper`) Actor

Ryanair fares as data: the cheapest price for every departure date over a month or a year, and the cheapest destinations from any Ryanair base, with flight times and prices in any currency. No run fee, no search fee.

- **URL**: https://apify.com/lergassy/ryanair-flights-scraper.md
- **Developed by:** [Matvey](https://apify.com/lergassy) (community)
- **Categories:** Travel, Agents
- **Stats:** 3 total users, 2 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.20 / 1,000 fare rows

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

## Ryanair Flights Scraper

**Ryanair Flights Scraper** gives you Ryanair's own fares as data: **the cheapest price for every departure date** on a route, and **the cheapest destinations** from any Ryanair base — with flight times, prices in your currency and a link straight into the booking flow.

**$0.30 per 1,000 rows. No run fee, no search fee, no proxy fee. Error rows are free.**

Why a separate Actor for one airline: Ryanair is Europe's largest carrier by passengers and **its fares are thin or missing in the big metasearch engines**. If you compare prices without Ryanair, on many European routes you are comparing without the cheapest ticket.

### Two modes

#### 1. Price calendar for a route

Every departure date for the months you ask for, each with the cheapest fare of that day and the flight behind it.

| Field | Example |
|---|---|
| `date` | 2027-03-18 |
| `price` / `currency` | 38.99 / EUR |
| `departAt` / `arriveAt` | 2027-03-18T22:35 / 2027-03-18T23:55 |
| `direction` | outbound, or inbound when return fares are on |
| `soldOut` / `unavailable` | Days Ryanair cannot sell, kept so gaps are visible |
| `bookingUrl` | Opens that date in Ryanair's booking flow |

Switch on **Also fetch return fares** and you get the cheapest fare per day in both directions — pair them and you have the cheapest round trip for any stay length.

#### 2. Cheapest destinations from an airport

Everywhere Ryanair flies from your base, cheapest first: city, country, airport, price, the date behind the price and the flight number.

### How to run it

1. Pick the **mode**.
2. Calendar: enter **origin**, **destination** and a **from date**, and how many **months** to fetch.
   Destinations: enter just the **origin** and how many to return.
3. Set the **currency** — EUR, GBP, PLN, whatever your buyers see.
4. Click **Start**.

#### Many routes in one run

```json
{
  "mode": "calendar",
  "routes": [
    { "origin": "STN", "destination": "DUB", "departureDate": "2027-03-15" },
    { "origin": "STN", "destination": "BCN", "departureDate": "2027-03-15" },
    { "origin": "BGY", "destination": "STN", "departureDate": "2027-03-15" }
  ],
  "months": 3,
  "currency": "EUR"
}
```

Three routes over three months is roughly 270 rows — **8 cents**.

```python
from apify_client import ApifyClient
client = ApifyClient("<YOUR_API_TOKEN>")
run = client.actor("lergassy/ryanair-flights-scraper").call(run_input={
    "mode": "calendar", "origin": "STN", "destination": "DUB",
    "departureDate": "2027-03-15", "months": 2, "currency": "EUR",
})
rows = [r for r in client.dataset(run["defaultDatasetId"]).iterate_items() if not r.get("soldOut")]
cheapest = min(rows, key=lambda r: r["price"])
print(cheapest["date"], cheapest["price"], cheapest["currency"])
```

### What it costs

One event, $0.0003 per row — **$0.30 per 1,000 rows**, down to $0.20 per 1,000 on higher Store tiers. Nothing for runs, searches, retries or proxy; rows that fail are free.

| Job | Rows | Cost |
|---|---|---|
| One route, two months | ~60 | $0.018 |
| One route, a full year | ~365 | $0.11 |
| 50 routes, three months | ~4,500 | $1.35 |
| Big export | 50,000 | **$15.00** |

This Actor talks to Ryanair's own fare service over plain HTTP — no browser, no proxy bill — which is why it is the cheapest per row in the flights line-up.

### What it is good for

- **Fare alerts on European routes** where Ryanair sets the floor price.
- **Deal sites and newsletters**: "cheapest weekend from Stansted in March" straight from data.
- **Travel agencies** quoting budget clients without opening ten tabs.
- **Route and pricing research**: a year of daily lows per route shows the seasonality of the biggest low-cost network in Europe.

### Notes and limits

Prices are the cheapest fare Ryanair shows for that day at the moment of the run and exclude bags, seats and other add-ons — it is the same number you see on their calendar. Ryanair publishes its schedule some months ahead, so dates beyond that come back empty rather than wrong. Days the airline cannot sell are returned with `soldOut` or `unavailable` set, so a gap in your chart is a real gap. If the fare service answers with an error, the run writes a free `error` row saying so.

The Actor reads publicly displayed prices without logging in, bypassing access controls or collecting personal data. Ryanair's terms restrict automated access, and the legality of scraping public data depends on your jurisdiction and use; review the terms and consult a lawyer for commercial use.

### Need more Ryanair data?

**Open an issue on this Actor's page** and say what you need.

Related: [Flight Price Comparison](https://apify.com/lergassy/flight-price-comparison) puts Ryanair next to Google Flights and KAYAK in one run · [Google Flights Scraper](https://apify.com/lergassy/google-flights-scraper) · [Kayak Flights Scraper](https://apify.com/lergassy/kayak-flights-scraper)

# Actor input Schema

## `mode` (type: `string`):

<b>Calendar</b>: the cheapest fare for every departure date on one route. <b>Destinations</b>: the cheapest places Ryanair flies to from your airport.

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

A Ryanair base, e.g. <code>STN</code> (London Stansted), <code>DUB</code> (Dublin), <code>BGY</code> (Milan Bergamo), <code>BCN</code> (Barcelona)

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

Needed in <b>Calendar</b> mode. Ignored when fetching destinations.

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

Format <code>YYYY-MM-DD</code>. The calendar starts from this date.

## `months` (type: `integer`):

How many months of departure dates to fetch, starting at the From date

## `returnTrip` (type: `boolean`):

Calendar mode: also fetch the cheapest fare per day on the way back, so you can pair outbound and return dates.

## `maxDestinations` (type: `integer`):

Destinations mode: how many destinations to return, cheapest first

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

Destinations mode: skip anything above this price

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

Three-letter code, e.g. <code>EUR</code>, <code>GBP</code>, <code>PLN</code>

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

Calendar mode: sweep many routes in one run. Each item: <code>{"origin": "STN", "destination": "DUB", "departureDate": "2027-03-15"}</code>

## Actor input object example

```json
{
  "mode": "calendar",
  "origin": "STN",
  "destination": "DUB",
  "departureDate": "2027-03-15",
  "months": 2,
  "returnTrip": false,
  "maxDestinations": 50,
  "currency": "EUR",
  "routes": []
}
```

# Actor output Schema

## `fares` (type: `string`):

One row per departure date with the cheapest fare and its flight times, or one row per destination with its price, in the currency you asked for.

# 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": "STN",
    "destination": "DUB",
    "departureDate": "2027-03-15",
    "routes": []
};

// Run the Actor and wait for it to finish
const run = await client.actor("lergassy/ryanair-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": "STN",
    "destination": "DUB",
    "departureDate": "2027-03-15",
    "routes": [],
}

# Run the Actor and wait for it to finish
run = client.actor("lergassy/ryanair-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": "STN",
  "destination": "DUB",
  "departureDate": "2027-03-15",
  "routes": []
}' |
apify call lergassy/ryanair-flights-scraper --silent --output-dataset

```

## MCP server setup

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