# Ryanair Flights Scraper (`nice_dev/ryanair-flights-scraper`) Actor

Scrape Ryanair flights by route and dates: the price of every flight with seats left, cheapest days, destinations and timetables. Export to JSON, CSV or Excel.

- **URL**: https://apify.com/nice_dev/ryanair-flights-scraper.md
- **Developed by:** [Nice Dev](https://apify.com/nice_dev) (community)
- **Categories:** Travel, MCP servers, Developer tools
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per event

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

### ✈️ What is Ryanair Flights Scraper?

**Ryanair Flights Scraper** extracts **flights, fares and timetables from [Ryanair](https://www.ryanair.com)**: the **real price of each flight, the seats left at that price, the discount, the fare per passenger type, local and UTC times**, the cheapest days of a route, the cheapest destinations from an airport and the scheduled flights. It works as a **Ryanair API alternative**: run it on a schedule, call it from your code, or plug it into Make, Zapier or n8n.

Type an **airport** (`STN`) or a **city** (`London`), pick the dates, click **Start**, and download the flights in JSON, CSV or Excel. No login, nothing to set up. You can also paste the Ryanair search links you already have. Four modes in one Actor: every flight with its own price, a price calendar, the cheapest destinations, and timetables. The default run (London Stansted to Dublin, one week, 50 flights) finishes in seconds.

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

One row per flight, per day, per destination or per scheduled flight, 78 fields:

| Category | What you get |
| --- | --- |
| ✈️ **Flight** | flight number, airline and operating airline (Ryanair, Malta Air, Buzz, Lauda…), direct or connecting, duration — `FR256`, `80 min` |
| 💰 **Real price of each flight** | the fare of THAT flight (not the cheapest fare of the day copied onto every flight), currency, total for all passengers — `17.99 GBP` |
| 🎟️ **Seats left** | seats still sold at this price (shown by Ryanair below 6), infant places left — `2 seats left` |
| 🏷️ **Discount** | price before discount, discount in percent, promo code effect |
| 👨‍👩‍👧 **Fare per passenger** | adult, teen and child fares, number of passengers of each type, infant fees in the total |
| 🕒 **Times** | local departure and arrival, the same in UTC, weekday, airport time zones — `2026-12-08T07:15` |
| 📍 **Airports** | code, name, city, country, region, time zone, latitude and longitude of both ends |
| 📅 **Cheapest days** | the lowest price of each day of a route, the cheapest day of the month, sold-out days |
| 🌍 **Cheapest destinations** | every destination from an airport with its lowest fare, the earlier fare Ryanair published, new routes |
| 🔁 **Round trips** | outbound and return flight, return price, length of the stay |
| 📊 **Route summary** (option) | cheapest day and flight, lowest, highest, median and average price, lowest price of each month |
| 📉 **Price changes** (option) | previous price, change in currency and in percent since your last run |

Every field, with an example, is listed in the **Output** section below.

### ✅ Why use Ryanair Flights Scraper?

- 🎯 **The price of each flight**: every flight of every day with its own fare, not the cheapest price of the day repeated on all of them.
- 🎟️ **Seats left at that price**: know when a fare is about to sell out.
- 🏷️ **Discount and fare per passenger**: price before discount, percent off, and one fare per adult, teen and child, with infant fees in the total.
- 🕒 **Local and UTC times**: ready to compare flights across time zones, with the operating airline when it is not Ryanair itself.
- 🗓️ **Four modes**: flights, price calendar, cheapest destinations from an airport, timetables.
- 🏙️ **City names accepted**: `London` searches every Ryanair airport of London; leave **To** empty for every destination of the airport.
- 🔔 **Monitoring built in**: tick **Only new rows** and each run returns (and charges) only what it has not delivered before, and with **Price changes** you also get the flights whose price moved.
- 🔌 API, scheduling, integrations (Make, Zapier, n8n, Google Sheets…) and JSON/CSV/Excel export via the Apify platform.

### 🚀 How to scrape Ryanair flights

1. Create a free Apify account.
2. Open **Ryanair Flights Scraper**, choose what to scrape in **What to scrape** and type the departure airport in **From** (e.g. `STN`).
3. Type the arrival airport in **To** (e.g. `DUB`), or leave it empty for every destination. Add dates, or leave them empty: the week to come for flights, the month to come for the other modes.
4. Or paste your own Ryanair search links into **Ryanair links**, or ready-made routes (`STN-DUB 2026-12-10`) into **Routes**.
5. Set **Max rows** (100 by default, 0 = no limit) and click **Start**, then download the dataset in JSON, CSV, Excel or via API.

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

This Actor uses **pay per event** pricing: you pay per row saved (a flight, a calendar day, a destination fare or a scheduled flight, depending on the mode) plus a small fee per run start. The exact prices, including the plans with lower prices, are on the **Pricing** tab of the Actor. Platform usage (compute, proxy) is included.

- **Sold-out flights and days are never charged**: with **Include sold-out flights and days**, the flights Ryanair sells no seat on and the calendar days without fare are saved for free.
- **Route summary** and **Price changes** are options, off by default, charged apart: a summary row per search, a price-change fee per row that comes back because its price moved.
- Cap the cost with **Max rows**, **Max rows per search** and, through the API, the run option `maxTotalChargeUsd`.

### ⚙️ Input

Flights from London Stansted to Dublin (the default form):

```json
{
    "mode": "flights",
    "origin": "STN",
    "destination": "DUB",
    "departDateFrom": "2026-12-10",
    "departDateTo": "2026-12-14",
    "maxItems": 50
}
```

A price calendar of a round trip between two London airports and Dublin, in euros:

```json
{
    "mode": "calendar",
    "origin": "STN, LTN",
    "destination": "DUB",
    "tripType": "roundTrip",
    "departDateFrom": "1 month",
    "departDateTo": "3 months",
    "tripDurationFrom": 3,
    "tripDurationTo": 7,
    "currency": "EUR"
}
```

The cheapest destinations from an airport, a monitor that only returns what changed, with a route summary:

```json
{
    "mode": "destinations",
    "origin": "DUB",
    "maxPrice": 40,
    "onlyNew": true,
    "trackPriceChanges": true,
    "priceChangeThreshold": 5,
    "includeRouteSummary": true,
    "stateKey": "dub-cheap"
}
```

Or with your own Ryanair links and routes:

```json
{
    "startUrls": [
        {
            "url": "https://www.ryanair.com/gb/en/trip/flights/select?adults=1&teens=0&children=0&infants=0&dateOut=2026-12-10&dateIn=&isReturn=false&originIata=STN&destinationIata=DUB"
        }
    ],
    "routes": ["STN-DUB 2026-12-10", "DUB-STN 2026-12-14"],
    "maxItems": 200
}
```

| Field | Notes |
| --- | --- |
| `mode` | What to scrape: `flights` (one row per flight and day, with its own price and the seats left), `calendar` (one row per day, the cheapest price of the day), `destinations` (one row per destination with its lowest fare), `timetable` (scheduled flights, no price). |
| `origin`, `origins`, `destination`, `destinations` | Airport code (`STN`) or city name (`London`, every Ryanair airport of the city); several separated by commas in the main fields, one per line in the lists. Empty **To** = every destination of the departure airport. Every departure is searched to every destination (max 500 searches per run). |
| `routes` | Ready-made routes, one per line: `STN-DUB`, `STN-DUB 2026-12-10` (one-way) or `STN-DUB 2026-12-10 2026-12-17` (round trip). Max 500 routes. |
| `startUrls` | Ryanair search links copied from the address bar, from any country site: airports, dates, passengers and trip type are kept. |
| `tripType` | `oneWay` or `roundTrip`. A round trip also returns the return flights (and, in the destinations mode, the cheapest outbound and return pair). |
| `departDateFrom`, `departDateTo`, `returnDateFrom`, `returnDateTo` | A date (`2026-12-10`) or a period from the run date (`7 days`, `2 weeks`, `1 month`): a scheduled task always looks the same distance ahead. Empty = today for the start; the end is 6 days after the start for flights, 1 month for the other modes. Ryanair sells up to 12 months ahead. |
| `tripDurationFrom`, `tripDurationTo` | Round trip only: shortest and longest stay in days, 0 to 60 (for example `7`). |
| `flexDays` | Widen a single date of a link or of a dated route by 0 to 6 days after it (for example `3`). |
| `adults`, `teens`, `children`, `infants` | Passengers: adults 1 to 25 (`2`), teens 12-15, children 2-11, infants under 2 (at most one per adult). Every fare is given per passenger type, and the total includes the infant fee. |
| `currency` | Currency code (`EUR`, `GBP`) for the calendar and destinations modes. Flights are always sold in the currency of the departure country; each row says which. |
| `market` | Country site and language of the booking links (`en-gb`, `de-de`, `fr-fr`…). |
| `promoCode` | A Ryanair promo code applied to the flights. An unknown code is ignored by Ryanair. |
| `includeConnectingFlights` | Also return Ryanair connecting flights (two Ryanair flights). Most routes have none. |
| `maxItems`, `maxItemsPerQuery` | Most rows for the whole run (`100` by default, `0` = no limit) and for EACH search (no per-search cap by default; for example `50`, so that the first route cannot use up the whole budget). |
| `sortBy` | Order of the rows of each search: `departure` (earliest first, ways out and ways back in date order; in destinations mode the cheapest destinations first), `price` or `duration`. |
| `maxPrice`, `minPrice` | Highest and lowest adult fare, in the row's currency (for example `40`). |
| `departureTimeFrom`, `departureTimeTo` | Earliest and latest local departure time (`06:00`, `10:00`). An earliest time later than the latest one (`22:00` → `05:00`) keeps the night flights. In calendar mode a row is the cheapest flight of the day: the window checks that flight only, so a day whose cheapest flight leaves outside it is dropped. |
| `daysOfWeek` | Keep only the departures on these days (`SATURDAY`, `SUNDAY`). |
| `arrivalCountries` | Keep only these arrival countries, 2-letter codes (`ES`, `IT`). |
| `maxDurationMinutes` | Longest flight in minutes (for example `120`). `flights` mode only: the other modes have no flight duration and ignore it (the log says so). |
| `excludeKeywords` | Drop the rows whose airport, city or country name contains one of these WHOLE words (case and accents ignored): `Tenerife` drops both Tenerife airports. |
| `includeUnavailable` | Also save the sold-out flights and the calendar days that are sold out or without flight, with no price. Never charged. |
| `includeRouteSummary` | Option, off by default: one extra row per search with cheapest day and flight, lowest, highest, median and average price, lowest price of each month, number of flights and days. Charged per summary row. |
| `stateKey`, `onlyNew`, `trackPriceChanges`, `priceChangeThreshold`, `resetState` | Monitoring. `onlyNew`: only the rows no earlier run delivered under this key (`dub-cheap`, one key per schedule). `trackPriceChanges` (option, needs `onlyNew`): a row already delivered comes back when its price moved by at least `priceChangeThreshold` percent (3 by default). `resetState` forgets the memory. |
| Advanced | `proxyConfiguration` (Apify proxy by default, included in the price; the residential proxy is not available), `maxConcurrency`, `maxRequestsPerMinute`, `minRequestIntervalMs`, `maxRequestRetries`, `debugLog`. |

### 📦 Output

One real flight, shortened (the airport coordinates, the keys and the empty fields of the other modes are left out):

```json
{
    "recordType": "flight",
    "id": "FR256-STN-DUB-2026-12-08T07:15",
    "url": "https://www.ryanair.com/gb/en/trip/flights/select?adults=1&teens=0&children=0&infants=0&dateOut=2026-12-08&dateIn=&isReturn=false&originIata=STN&destinationIata=DUB",
    "searchUrl": "https://www.ryanair.com/gb/en/trip/flights/select?adults=1&teens=0&children=0&infants=0&dateOut=2026-12-08&dateIn=&isReturn=false&originIata=STN&destinationIata=DUB#flights|2026-12-14|||",
    "scrapedAt": "2026-11-07T12:00:00.000Z",
    "tripType": "oneWay",
    "direction": "outbound",
    "route": "STN-DUB",
    "origin": "STN",
    "originName": "London Stansted",
    "originCity": "London",
    "originCountry": "United Kingdom",
    "originTimeZone": "Europe/London",
    "destination": "DUB",
    "destinationName": "Dublin",
    "destinationCity": "Dublin",
    "destinationCountry": "Ireland",
    "destinationTimeZone": "Europe/Dublin",
    "departureDate": "2026-12-08",
    "dayOfWeek": "TUESDAY",
    "departureTime": "07:15",
    "departureDateTime": "2026-12-08T07:15",
    "departureTimeUtc": "2026-12-08T07:15:00.000Z",
    "arrivalDate": "2026-12-08",
    "arrivalTime": "08:35",
    "arrivalDateTime": "2026-12-08T08:35",
    "arrivalTimeUtc": "2026-12-08T08:35:00.000Z",
    "durationMinutes": 80,
    "flightNumber": "FR256",
    "carrierCode": "FR",
    "carrierName": "Ryanair",
    "operatedBy": null,
    "stops": 0,
    "currency": "GBP",
    "currencySymbol": "£",
    "price": 17.99,
    "totalPrice": 17.99,
    "passengers": { "adults": 1, "teens": 0, "children": 0, "infants": 0 },
    "priceBeforeDiscount": 17.99,
    "discountPercent": 0,
    "hasPromoDiscount": false,
    "seatsLeftAtThisPrice": 2,
    "infantSeatsLeft": 18,
    "isDayCheapest": true,
    "dayCheapestPrice": 17.99,
    "soldOut": false,
    "dateRangeFrom": "2026-12-08",
    "dateRangeTo": "2026-12-12"
}
```

You can download the dataset in various formats such as JSON, HTML, CSV or Excel.

#### All 78 fields

Fields that do not apply to the kind of row (a flight, a calendar day, a destination fare, a scheduled flight or a route summary) are `null`, never missing.

| Fields | What you get |
| --- | --- |
| `recordType`, `id`, `url`, `searchUrl`, `scrapedAt` | `flight`, `calendarDay`, `destinationFare`, `scheduledFlight` or `routeSummary`; a stable id such as `FR256-STN-DUB-2026-12-08T07:15` (a destination fare: its route, `STN-DUB`; its cheapest day is in `departureDate`); the Ryanair booking page of the row; the search the row comes from (its link and date window). Only new rows remembers a row by its id and this search without its days, so a window that moves with the date of the run keeps its memory; ISO timestamp |
| `tripType`, `direction`, `route` | `oneWay` or `roundTrip`; `outbound` or `inbound`; `STN-DUB` |
| `origin`, `originName`, `originCity`, `originCountry`, `originCountryCode`, `originTimeZone`, `originLatitude`, `originLongitude`, `originRegion` | departure airport: `STN`, `London Stansted`, `London`, `United Kingdom`, `GB`, `Europe/London`, coordinates, region |
| `destination`, `destinationName`, `destinationCity`, `destinationCountry`, `destinationCountryCode`, `destinationTimeZone`, `destinationLatitude`, `destinationLongitude`, `destinationRegion` | arrival airport, same details |
| `departureDate`, `dayOfWeek`, `departureTime`, `departureDateTime`, `departureTimeUtc` | local departure day, weekday, local time, local date and time, the same in UTC |
| `arrivalDate`, `arrivalTime`, `arrivalDateTime`, `arrivalTimeUtc` | local arrival day, time, date and time, the same in UTC |
| `durationMinutes`, `flightNumber`, `carrierCode`, `carrierName`, `operatedBy`, `stops`, `segments` | `80`, `FR256`, `FR`, `Ryanair`, the operating airline when it is not Ryanair itself (`null` = Ryanair), `0` = direct and `1` = connecting, each leg of the flight |
| `flightKey`, `fareKey` | Ryanair's own keys of the flight and of the fare sold on it |
| `currency`, `currencySymbol`, `price`, `totalPrice` | `GBP`, `£`, the fare of one adult (the cheapest of the day for a calendar row, the lowest fare for a destination), the total for all passengers with infant fees |
| `passengers`, `fares` | adults, teens, children and infants of the search; one fare per passenger type with its price, count, price before discount and discount |
| `priceBeforeDiscount`, `discountPercent`, `hasPromoDiscount` | the adult fare before Ryanair's discount, the discount in percent, whether the promo code lowered the fare |
| `seatsLeftAtThisPrice`, `infantSeatsLeft` | seats still sold at this price (1 to 5, `null` = more than 5), infant places left |
| `isDayCheapest`, `dayCheapestPrice` | whether this is the cheapest flight of its day and direction, and that lowest fare |
| `soldOut`, `unavailable` | a flight with no seat on sale, a calendar day sold out or without flight |
| `monthMinPrice`, `monthMaxPrice`, `isMonthCheapest` | calendar rows: lowest and highest daily price of the month, whether this day is the lowest |
| `ryanairPreviousPrice`, `priceUpdatedAt`, `newRoute` | destination rows: the earlier fare Ryanair publishes, when it updated the fare, whether the route is new |
| `returnFlightNumber`, `returnDepartureDate`, `returnDepartureTime`, `returnArrivalTime`, `returnPrice`, `tripDurationDays` | round-trip destination rows: the return flight, its times and price, days between departure and return |
| `summary` | route summary rows (option): number of rows and days, lowest, highest, median and average price, the cheapest day and flight, the lowest price of each month |
| `rank`, `dateRangeFrom`, `dateRangeTo` | position of the row in its search after the sort, first and last departure day of the search |
| `previousPrice`, `priceChange`, `priceChangePct` | price changes (option): the price at the earlier run, the change, the change in percent |

### 💡 Tips

#### How to get more results

Set **Max rows** to `0` for no limit. Leave **To** empty to search every destination of an airport, or list several airports in **More departure airports**. A search covers up to 12 months ahead; the longer the date range, the longer the run (a year of flights on one route takes longer than a week).

#### How to reduce costs

The price is per row, so the levers are **Max rows**, **Max rows per search**, the filters (price, hours, days, countries, duration: they are sent to Ryanair when it supports them and also applied to every row), and **Only new rows** for recurring runs: you never pay twice for the same row. Sold-out flights saved with **Include sold-out flights and days** are never charged.

#### Several searches in one run

Fill **More departure airports**, **More arrival airports**, **Routes** and **Ryanair links**: the Actor runs one search per route and date range (3 departures × 4 destinations = 12 searches, up to 500 per run). Set **Max rows per search** to give every search its own cap: without it the first searches can use up the whole **Max rows** budget.

#### Monitoring: only the new rows

Tick **Only new rows** and schedule the Actor. The first run returns everything; each later run skips the rows already delivered: they are not saved and not charged. A row is the same flight on the same day in the same search (or the same calendar day, or the same destination and dates). The memory lives in a named key-value store of your account (`ryanair-flights-scraper-seen`, up to 150,000 rows per key) and is only updated with rows that really reached the dataset, so a failed run never hides anything. Give each schedule its own **Memory key** (two schedules sharing a key would hide each other's rows), and tick **Reset memory** once to start over.

#### Monitoring: price drops and rises

Tick **Price changes** as well (it needs **Only new rows**) and set the threshold in percent (3 by default). The first run delivers every row and remembers its price. Each later run returns, besides the new flights, the flights already delivered whose price has moved by at least the threshold: `previousPrice`, `priceChange` and `priceChangePct` are filled. A row whose price moved less is skipped and costs nothing. Schedule it daily on the routes you follow to catch the drops.

#### Reading the seats left

Ryanair shows the number of seats left at a price only when 5 or fewer remain. `seatsLeftAtThisPrice` is that number (1 to 5); `null` means more than 5, not unknown.

### 🔌 Integrations and API

Call the Actor via the Apify API, the JavaScript or Python clients, or connect it with integrations and webhooks (Make, Zapier, n8n, Google Sheets, Slack, Airtable…). The dataset can be fetched as JSON or CSV from any tool.

### 🤖 Use with AI agents (MCP)

AI agents (Claude, ChatGPT, Cursor…) can find and run this Actor through the [Apify MCP server](https://mcp.apify.com), billed to their Apify account like any run. It returns one row per Ryanair flight, calendar day, destination or scheduled flight. Actor id: `nice_dev/ryanair-flights-scraper`; MCP server with this Actor only: `https://mcp.apify.com/?tools=fetch-actor-details,nice_dev/ryanair-flights-scraper`.

Smallest input, for a cheap first call:

```json
{
    "origin": "STN",
    "destination": "DUB",
    "maxItems": 10
}
```

Key output fields: `route`, `flightNumber`, `departureDateTime`, `arrivalDateTime`, `price`, `currency`, `seatsLeftAtThisPrice` and `url`.

Cost: pay per row plus a fee per run start, see the pricing section above. Cap each call with `maxItems` and, through the API, with the run option `maxTotalChargeUsd`.

### ❓ FAQ

#### Is it legal to scrape Ryanair?

The Actor only reads the flights, fares and timetables that Ryanair shows publicly to any anonymous visitor. It logs in to nothing and solves no captcha. The data is prices, times and airports: no personal data. You are responsible for using the data in compliance with Ryanair's Terms of Use and applicable law. This Actor is not affiliated with Ryanair.

#### Does it need a login or a proxy?

No login. The proxy is included in the price: leave the default setting (the residential proxy is not available). A request the site turns away is retried at once on a new proxy session, up to 10 times on top of the retries (without a proxy, after a pause of 5 seconds, doubled at each retry up to 150 seconds).

#### Which currency are the prices in?

Ryanair sells its flights in the currency of the departure country (pounds from London, euros from Dublin): that is the currency of the `flights` mode, and it is never converted. The calendar and destinations modes follow the `currency` you set. Each row says which one it uses in `currency`.

#### Is the data safe to open in Excel or to show on a web page?

The values are airport names, codes, times and prices written by Ryanair: no text written by other users. As with any data from a third party, escape the fields before showing them on a web page.

#### Known limitations

- Ryanair shows the seats left at a price only below 6: `seatsLeftAtThisPrice` is `null` above.
- Flights are returned in the currency of the departure country; the calendar and destinations modes can be asked for another one.
- Infants travel on the lap of an adult: at most one per adult.
- Most routes have no connecting flights; ask for them with **Include connecting flights**.
- A day more than about 12 months ahead has no flights: Ryanair does not sell them yet.
- `onlyNew` remembers rows, not their content: without **Price changes** a flight whose price changed is not returned again.
- Two runs sharing the same `stateKey` at the same time may both return the same new row.

**A run that reaches its timeout** stops itself about 45 seconds before it: no new request is made, what it read is saved and, with `onlyNew`, remembered, and the run ends *Succeeded* with "Stopped before the run's timeout". Resurrect it to go on from there, or give the next run a longer timeout (Run options).

**A run the platform stops without warning** (out of memory)

- Resurrect it: it goes on from where it stood at most a minute before the stop. What it had read since is read again, and the rows already saved are skipped: none is delivered or charged twice, and `maxItems` still counts them.
- With `onlyNew`, the memory is saved every 5 rows written, at each checkpoint and when the run ends or stops itself: resurrect the stopped run and the rows it had saved meanwhile join the memory; leave it stopped for good, and the next run may return up to 4 rows of that run once more.

#### Something doesn't work?

The last line of the log counts the rows saved, filtered out and the requests that failed after every retry. Those requests are listed, with the reason, in the `FAILED_REQUESTS` record of the run's key-value store. A run that saved nothing and had failed requests fails, and its last message gives the cause (an unknown airport says so, instead of "run it again").

If Ryanair changes its pages, you are told instead of paying for blank rows. If the first 20 rows read all lack a field every row of their kind always has (airports, times, flight number, price on a destination fare), the run saves nothing more, stops and fails, and its last message names the missing field: at most those first rows are charged. A run of fewer rows (a scheduled `onlyNew` run that finds a few new flights, a small **Max rows**) is checked at its end, from 5 rows: its rows are already saved, and the run fails with the missing field instead of ending green.

### 🛟 Support

Open an issue in the **Issues** tab with a link to your run: the run log and the `FAILED_REQUESTS` record of the key-value store show exactly which requests failed and why.

# Actor input Schema

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

`flights`: one row per flight and day (outbound and, for a round trip, return), with the price of THAT flight, the seats left at this price and the fare per passenger type. `calendar`: one row per day with the cheapest price of the day. `destinations`: one row per destination reachable from the departure airport, with its lowest fare in the date range (empty **To** = every destination). `timetable`: one row per scheduled flight, without price.

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

Departure airport IATA code (`STN`, `DUB`), or a city name as on ryanair.com (`London` = every Ryanair airport of London). Several, separated by commas = one search per airport.

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

Several departure airports in one run, one per line. Added to **From**: every departure is searched to every destination (departures x destinations x dates: max 500 searches).

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

Arrival airport IATA code or city name, several separated by commas. Empty = every destination Ryanair flies to from the departure airport (one search per route in the `flights`, `calendar` and `timetable` modes; the `destinations` mode reads all the destinations of the airport, a few more requests on a round trip or with arrival countries).

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

Several arrival airports in one run, one per line. Added to **To**.

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

Ready-made routes, one per line: `STN-DUB`, optionally with their own dates `STN-DUB 2026-12-10` (one-way) or `STN-DUB 2026-12-10 2026-12-17` (round trip). A route without dates uses the dates below. Added to the airports above; max 500 routes.

## `startUrls` (type: `array`):

Ryanair search links copied from the address bar (`https://www.ryanair.com/gb/en/trip/flights/select?adults=1&teens=0&children=0&infants=0&dateOut=2026-12-10&dateIn=&isReturn=false&originIata=STN&destinationIata=DUB`, any country site): their airports, dates, passengers and trip type are kept. Added to the searches of this form. Max 1 000 links.

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

`roundTrip` also reads the return flights (`direction` = `inbound`) with the return dates below, or the trip length. In `destinations` mode one row = the cheapest outbound + return pair.

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

First departure day: a date (`2026-12-10`) or a period from the run date (`7 days`, `2 weeks`, `1 month`) - a saved task then always looks the same distance ahead. Empty = today.

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

Last departure day (included), a date or a period from the run date. Empty = 6 days after **Departure from** in `flights` mode (one week), 1 month after it in the other modes. Max 12 months ahead (Ryanair sells about 10-12 months ahead).

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

Round trip only: first return day, a date or a period from the run date. Empty = use **Trip length** below, or the same window as the departure.

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

Round trip only: last return day (included). Empty = 6 days after **Return from** (`flights`), 1 month after it (other modes).

## `tripDurationFrom` (type: `integer`):

Round trip only: shortest stay, in days (return day - departure day). Empty = any.

## `tripDurationTo` (type: `integer`):

Round trip only: longest stay, in days. Empty = any.

## `flexDays` (type: `integer`):

Widen each single date of a pasted link or of a route with its own date by this many days after it (Ryanair's own flexible search, 0-6). 0 = the day only. The form dates above are already a range.

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

Passengers aged 16 or more.

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

Passengers aged 12-15.

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

Passengers aged 2-11.

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

Under 2, on the lap of an adult: at most one per adult. The infant fee is added to `totalPrice`.

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

3-letter code (`EUR`, `USD`, `GBP`, `PLN`) for the `calendar` and `destinations` modes. The `flights` mode always uses the currency of the departure country (Ryanair sells in it: GBP from London, EUR from Dublin) - `currency` on each row says which. Empty = the departure country's currency everywhere.

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

Country site and language of the booking links (`url`) and of the cheapest-fare search.

## `promoCode` (type: `string`):

Ryanair promo code applied to the `flights` mode. An unknown code is ignored by Ryanair.

## `includeConnectingFlights` (type: `boolean`):

`flights` mode: also ask Ryanair for its connecting flights (two Ryanair flights, `stops` = 1). Most routes have none.

## `maxItems` (type: `integer`):

Most rows saved for the whole run (after filters): flights, calendar days, destinations or scheduled flights. 0 = no limit. Rows of the options are not counted here.

## `maxItemsPerQuery` (type: `integer`):

Cap for EACH search (route x dates, or pasted link), so that the first route cannot use up the whole **Max rows**. Applied after the sort below. 0 = no per-search cap.

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

Order of the rows of each search, before the per-search cap. Earliest departure first puts ways out and ways back in date order; in destinations mode a row is the cheapest fare of a destination and that mode keeps the cheapest destinations first.

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

Highest adult fare, in the row's currency (also sent to Ryanair in `destinations` mode). Empty = no limit.

## `minPrice` (type: `number`):

Lowest adult fare, in the row's currency. Empty = no limit.

## `departureTimeFrom` (type: `string`):

Earliest local departure time, `HH:MM` (`06:00`). Empty = any. Later than the latest time (`22:00` to `05:00`) = a window that passes midnight: keeps the night flights. In calendar mode a day is its cheapest flight, the window checks that flight only.

## `departureTimeTo` (type: `string`):

Latest local departure time, `HH:MM` (`10:00`). Empty = any. With an earliest time that is later (`22:00` → `05:00`) the window passes midnight and keeps the night flights. In calendar mode a day is its cheapest flight, the window checks that flight only.

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

Keep only the departures on these days. Empty = every day.

## `arrivalCountries` (type: `array`):

Keep only these arrival countries, 2-letter codes (`ES`, `IT`). Sent to Ryanair in `destinations` mode. Empty = every country.

## `maxDurationMinutes` (type: `integer`):

Longest flight, in minutes. `flights` mode only: the other modes have no flight duration and ignore it. Empty = any.

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

Also save the flights Ryanair sells no seat on (`flights` mode) and the calendar days that are sold out or without flight (`soldOut` / `unavailable`, `price` null). Off = rows with a price only. Rows without a price are never charged.

## `excludeKeywords` (type: `array`):

Drop the rows whose departure or arrival airport, city or country name contains one of these WHOLE words (case and accents ignored): `Tenerife` drops both Tenerife airports.

## `includeRouteSummary` (type: `boolean`):

Add one row per search - a route, or a departure airport in `destinations` mode (`recordType` = `routeSummary`): cheapest day and flight, lowest, highest, median and average price, the lowest price of each month, number of flights and of days. Built from the rows already read: no extra request. Charged per summary row, see Pricing.

## `onlyNew` (type: `boolean`):

Skip the rows a previous run (same **Memory key**) already delivered: not saved, not charged. A row = same flight on the same day (or the same calendar day, destination and dates). First run = everything is new.

## `trackPriceChanges` (type: `boolean`):

Needs **Only new rows**. A row already delivered comes back when its price has moved by at least the threshold below since the run that delivered it: `previousPrice`, `priceChange` and `priceChangePct` are filled. Charged per row that comes back as a price change, on top of the row itself, see Pricing; a row whose price did not move enough is skipped and costs nothing.

## `priceChangeThreshold` (type: `number`):

Used with **Price changes**: 3 means a price going from 100 to 103 or to 97.

## `stateKey` (type: `string`):

Name of the memory used by **Only new rows**. Give each schedule / task its own key (e.g. `stn-dub`). Letters, digits, `-` and `_`.

## `resetState` (type: `boolean`):

Forget the rows delivered under this **Memory key** before the run: this run returns (and charges) every row again. Untick it afterwards.

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

Apify Proxy or your own proxies. Keep the default: it is included in the price. The residential Apify proxy is not available in this Actor.

## `maxConcurrency` (type: `integer`):

Maximum number of requests processed in parallel.

## `maxRequestsPerMinute` (type: `integer`):

Most requests to Ryanair in any 60 seconds, all of them counted (session page, flights, fares, timetable, airports). A budget, not an even pace: spread them with the minimum delay below. Lower it if the log shows HTTP 409 / 429.

## `minRequestIntervalMs` (type: `integer`):

Smallest gap between two requests, in milliseconds. 0 = no gap.

## `maxRequestRetries` (type: `integer`):

Retries per request before it is marked as failed. A request Ryanair turns away (409 session refused) is retried with a new session up to 10 times without using up these retries.

## `debugLog` (type: `boolean`):

Include debug messages in the run log.

## Actor input object example

```json
{
  "mode": "flights",
  "origin": "STN",
  "origins": [],
  "destination": "DUB",
  "destinations": [],
  "routes": [],
  "startUrls": [],
  "tripType": "oneWay",
  "flexDays": 0,
  "adults": 1,
  "teens": 0,
  "children": 0,
  "infants": 0,
  "market": "en-gb",
  "includeConnectingFlights": false,
  "maxItems": 50,
  "maxItemsPerQuery": 0,
  "sortBy": "departure",
  "daysOfWeek": [],
  "arrivalCountries": [],
  "includeUnavailable": false,
  "excludeKeywords": [],
  "includeRouteSummary": false,
  "onlyNew": false,
  "trackPriceChanges": false,
  "priceChangeThreshold": 3,
  "stateKey": "default",
  "resetState": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  },
  "maxConcurrency": 4,
  "maxRequestsPerMinute": 60,
  "minRequestIntervalMs": 0,
  "maxRequestRetries": 5,
  "debugLog": false
}
```

# Actor output Schema

## `results` (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 = {
    "mode": "flights",
    "origin": "STN",
    "destination": "DUB",
    "maxItems": 50,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("nice_dev/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 = {
    "mode": "flights",
    "origin": "STN",
    "destination": "DUB",
    "maxItems": 50,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("nice_dev/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 '{
  "mode": "flights",
  "origin": "STN",
  "destination": "DUB",
  "maxItems": 50,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call nice_dev/ryanair-flights-scraper --silent --output-dataset

```

## MCP server setup

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