# Ryanair Scraper - Cheap Fares Anywhere, Round Trips & Calendar (`neverempty/ryanair-flights-scraper`) Actor

Cheapest Ryanair fares from one or many airports, cities or countries to anywhere or to the places you pick. Round trips are paired with the total price and nights, or get a daily fare calendar. Prices in your currency, booking links, price-drop monitoring. Pay only per fare row.

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

## Pricing

from $0.19 / 1,000 fare returneds

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 Scraper - Cheap Fares Anywhere, Round Trips & Calendar

Get **the cheapest Ryanair fares from one or many airports, cities or countries to anywhere (or to the places you pick)**, one row per fare, as clean JSON. For round trips you get the **pair**: outbound date, return date, price of each flight, the **total** and the number of nights, for the stay length you choose. Turn on **Monitor** and scheduled runs return only new fares and price drops, with the previous price.

- **Many origins, one run.** `STN`, `London`, `Ireland` or `ES` all work in `origins` (a city or a country searches all of its Ryanair airports). Each row says which origin it came from.
- **Anywhere, or a list.** Leave `destinations` empty for every place Ryanair flies to from your origins, or give airport codes, cities or countries.
- **Round trips as one row.** Set `tripType` to `roundTrip` and `stayMin` / `stayMax` (for example 2 to 5 nights): each row is the cheapest outbound plus return pair with `price` = total, `outboundPrice`, `returnPrice` and `stayNights`.
- **Daily calendar.** `mode: calendar` returns the cheapest fare for every departure day of a route, handy for charts and weekend finders (`daysOfWeek`).
- **Your currency.** Prices come back in the currency you ask for; a currency Ryanair does not price in is refused with a free row that says so.
- **Booking link on every row**, so a person can open the same search.
- **Pay only for fare rows.** No start fee. Rows that explain why something was not returned are free.

Set it up in a minute: no login, cookies or API key needed.

### What you get

One dataset row per fare:

```json
{
  "status": "ok",
  "origin": "STN",
  "destination": "BCN",
  "departureDate": "2026-12-04",
  "returnDate": "2026-12-08",
  "stayNights": 4,
  "price": 79.98,
  "currency": "EUR",
  "priceScope": "round-trip-total",
  "outboundPrice": 39.99,
  "returnPrice": 39.99,
  "mode": "cheapest",
  "tripType": "roundTrip",
  "bookingUrl": "https://www.ryanair.com/gb/en/trip/flights/select?..."
}
```

| Field | Meaning |
|---|---|
| `status` | `ok` for a fare row; anything else is a free row that explains itself (see below) |
| `origin`, `destination` | Airport codes. `originName`, `originCity`, `originCountry`, `destinationName`, `destinationCity`, `destinationCountry` say where they are |
| `departureDate`, `returnDate`, `stayNights` | Outbound date, return date and nights (round trips) |
| `price`, `currency` | The price you pay for the row: one flight, or the round-trip total |
| `priceScope` | `one-way` or `round-trip-total` |
| `outboundPrice`, `returnPrice` | The two flights of a round trip |
| `departureLocal`, `arrivalLocal`, `returnDepartureLocal`, `returnArrivalLocal` | Local times at each airport |
| `flightNumbers` | Flight number when Ryanair gives it (the cheapest-per-route one-way list) |
| `bookingUrl` | The same search on Ryanair |
| `changeType`, `previousPrice`, `priceChange`, `priceChangePercent`, `previousCheckedAt` | Monitor columns (`first-check`, `new`, `price-down`, `price-up`, `unchanged`) |
| `checkedAt` | When the fare was read (UTC) |

#### Free rows (never charged)

| `status` | Meaning |
|---|---|
| `no-flights` | No fare for that origin or destination in your dates (or none at or under `maxPrice`) |
| `no-change` | Monitor with `onlyChanges`: nothing new and no price change |
| `bad-input` | A place the Actor could not find, a date in the past, or a currency Ryanair does not use |
| `unreadable` / `blocked` | Ryanair did not answer for that origin; it was asked again from other IP addresses first. Nothing is charged for it. The Actor does not solve or bypass check pages |
| `budget-reached` | Your maximum total charge for the run was reached |
| `more-not-returned` | `maxResults` was reached; raise it to get the rest |

### Input

| Field | Type | Default | Notes |
|---|---|---|---|
| `origins` | list | `["STN"]` | Airport codes, cities or countries. Up to 20 airports per run |
| `destinations` | list | empty = anywhere | Airport codes, cities or countries |
| `dateFrom`, `dateTo` | string | `+7`, `+37` | `YYYY-MM-DD`, or `+N` days from today so a schedule never runs out of dates. Up to 366 days |
| `tripType` | `oneWay`, `roundTrip` | `oneWay` | Round trips pair the cheapest return with each outbound |
| `stayMin`, `stayMax` | integer 0-30 | 2, 7 | Nights for round trips |
| `mode` | `cheapest`, `calendar` | `cheapest` | One row per route, or one row per route and departure day |
| `maxPrice` | number | none | For round trips it applies to the total |
| `currency` | string | `EUR` | 3-letter code such as EUR, GBP, PLN |
| `daysOfWeek` | list | any | For example `FRIDAY` for weekend trips |
| `maxResults` | integer | 1000 | You pay only for rows returned |
| `watchName`, `onlyChanges`, `minPriceChangePercent`, `resetMonitoringState` | | | Price monitoring, below |

Weekend trips from three countries to anywhere, cheapest pair per route:

```json
{ "origins": ["Ireland", "STN", "MAD"], "tripType": "roundTrip", "stayMin": 2, "stayMax": 3, "daysOfWeek": ["FRIDAY"], "dateFrom": "+14", "dateTo": "+90", "maxPrice": 120, "currency": "EUR" }
```

Every day's fare on one route:

```json
{ "origins": ["DUB"], "destinations": ["STN"], "mode": "calendar", "dateFrom": "+1", "dateTo": "+60", "currency": "EUR" }
```

Daily price-drop alert (schedule this; each run returns only what changed):

```json
{ "origins": ["STN"], "destinations": ["Spain"], "dateFrom": "+14", "dateTo": "+60", "onlyChanges": true, "watchName": "stn-spain" }
```

### How monitoring works

With a `watchName` the Actor remembers, per search, the price at which it last returned each fare (in a named key-value store in your account). On the next run a fare it never returned is `new`; one whose price moved by at least `minPriceChangePercent` is `price-down` or `price-up`. With `onlyChanges` on, only new and moved fares are returned and charged, and a run with nothing to report returns one free `no-change` row. Fares you were not given (because of `maxResults` or `maxPrice`) are not remembered, so you are never sold the same price twice. Do not overlap schedules of one watch name.

### Pricing

Pay per event: one `fare-returned` event per fare row. No start fee. Free rows are never charged, and a run where nothing could be read charges nothing. If your maximum total charge for a run has no room for the next row, the Actor stops and says so in a free row.

### Limits

- Prices change all the time; a row is what Ryanair showed at `checkedAt`. The final price and conditions are on Ryanair's booking page.
- A round trip is the cheapest outbound day paired with the cheapest return day that fits your nights.
- Fares for flights that are sold out or not on sale are not returned.
- This is an unofficial tool and is not affiliated with Ryanair.

### Support

Found a route where the output differs from the Ryanair site? Open an issue on the Issues tab with the run ID and it will be looked at.

### Thanks for using this Actor

We build these tools for people who run them every day, and we improve them from what users tell us.

- **Missing a field, or need another filter?** Tell us in the **Issues** tab. If the data is there, we add it.
- **Found a bug or a wrong value?** Post the run ID in the **Issues** tab. Wrong data is the thing we fix first.

If this Actor saved you time, a short review helps other people find it.

# Actor input Schema

## `origins` (type: `array`):

Where you fly from. Each entry is an IATA airport code (STN), a city (London, Milan) or a country (Ireland, ES). A city or country searches all of its Ryanair airports. Up to 20 airports per run.

## `destinations` (type: `array`):

Where you want to go: IATA airport codes, cities or countries. Leave empty to get every destination Ryanair flies to from your origins.

## `dateFrom` (type: `string`):

YYYY-MM-DD, or +N for N days from today (UTC), so a scheduled run never runs out of dates. Empty = tomorrow.

## `dateTo` (type: `string`):

YYYY-MM-DD or +N. Empty = 30 days after the earliest date. Up to 366 days.

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

oneWay = outbound fares. roundTrip = the cheapest return flight is paired with each outbound flight, with the total price and the number of nights. Empty = oneWay.

## `stayMin` (type: `integer`):

Shortest stay for round trips (0 = same-day return). Empty = 2.

## `stayMax` (type: `integer`):

Longest stay for round trips. Empty = 7.

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

cheapest = the single cheapest fare (or round trip) for each route in your dates. calendar = the cheapest fare for every departure day. Empty = cheapest.

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

Only return fares at or under this price (in the chosen currency). For round trips it applies to the total of both flights.

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

3-letter currency code for the prices, for example EUR, GBP or PLN. Empty = EUR.

## `daysOfWeek` (type: `array`):

Only depart on these days, for example FRIDAY and SATURDAY for weekend trips. Empty = any day.

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

Stop after this many fare rows (you pay only for rows returned). Empty = 1000.

## `watchName` (type: `string`):

Give a name to remember fares between runs. Each row then says first-check, new, price-down, price-up or unchanged, with the previous price. Use one name per saved search.

## `onlyChanges` (type: `boolean`):

With a monitor name: return (and charge) only fares that are new or changed price since the last run.

## `minPriceChangePercent` (type: `number`):

With only changes on: ignore price moves smaller than this percentage. Empty = 0 (every change).

## `resetMonitoringState` (type: `boolean`):

Start this monitor fresh, as if it never ran.

## Actor input object example

```json
{
  "origins": [
    "STN"
  ],
  "dateFrom": "+7",
  "dateTo": "+37",
  "currency": "EUR"
}
```

# Actor output Schema

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

One row per Ryanair fare: route, departure (and return) date, price and currency, outbound and return price for round trips, local departure and arrival times, flight number, airport, city and country names, a booking link, and the change since the last check when a monitor name is set. An input that cannot be used, a route with no fare, no change, a refused request or a run that hit its maximum charge comes back as a free row that says why.

# 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 = {
    "origins": [
        "STN"
    ],
    "dateFrom": "+7",
    "dateTo": "+37",
    "currency": "EUR"
};

// Run the Actor and wait for it to finish
const run = await client.actor("neverempty/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 = {
    "origins": ["STN"],
    "dateFrom": "+7",
    "dateTo": "+37",
    "currency": "EUR",
}

# Run the Actor and wait for it to finish
run = client.actor("neverempty/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 '{
  "origins": [
    "STN"
  ],
  "dateFrom": "+7",
  "dateTo": "+37",
  "currency": "EUR"
}' |
apify call neverempty/ryanair-flights-scraper --silent --output-dataset

```

## MCP server setup

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