# Ryanair Flight Search (`mrdoe/ryanair-flight-search`) Actor

Returns the cheapest real Ryanair fare for each day in a date range, with departure and arrival times, straight from Ryanair's own live data.

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

## Pricing

from $3.00 / 1,000 flight option returneds

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/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 Flight Search - real flight options and prices for any route and date.](https://api.apify.com/v2/key-value-stores/kE36venAoVchGsE6b/records/ryanair-flight-search--hero.png)

### What does Ryanair Flight Search do?

Ryanair Flight Search reads [Ryanair](https://www.ryanair.com)'s own live availability data for a route and date range and returns the cheapest fare found for each day, with its real price, departure time and arrival time. No scraping delay, no AI involved - this reads the same structured data Ryanair's own website uses to show you prices, so results are exact and fast.

### Why use Ryanair Flight Search?

- Real prices straight from Ryanair, no mock or estimated data.
- Fast: typically finishes in a couple of seconds.
- No login or account needed.
- Built to feed into multi-airline price comparison.

### How to use Ryanair Flight Search

1. Set **From** and **To** as 3-letter airport codes (e.g. `STN` for London Stansted, `BCN` for Barcelona).
2. Optionally set a **Start date** and **End date** (`YYYY-MM-DD`). Leave empty to search today only.
3. Click **Start**.
4. Open the **Output** tab to see the cheapest fare for each day in range, with the overall best pick flagged.

### Input

| Field | Type | Description |
| --- | --- | --- |
| `originCode` | string | 3-letter IATA departure airport code. Default `STN`. |
| `destinationCode` | string | 3-letter IATA arrival airport code. Default `BCN`. |
| `startDate` | string | First day to search, `YYYY-MM-DD`. Leave empty to use today's date automatically. |
| `endDate` | string | Last day to search, `YYYY-MM-DD`. Leave empty to search the start date only. |
| `departureTimeFrom` | string | Optional. Only return flights departing at or after this time (`HH:mm`, 24-hour). |
| `departureTimeTo` | string | Optional. Only return flights departing at or before this time (`HH:mm`, 24-hour). |
| `maxResults` | integer | Maximum flight options to return. Default 5; set 0 for everything found. |
| `proxyConfiguration` | object | Not required - Ryanair's fare data is reachable without a proxy. |

### Output

```json
{
  "airline": "Ryanair",
  "carrierCode": "FR",
  "departureDateTime": "2026-11-13T21:15:00",
  "arrivalDateTime": "2026-11-14T00:25:00",
  "date": "2026-11-13",
  "price": 47.39,
  "currency": "GBP",
  "isBestPick": true,
  "scrapedAt": "2026-11-10T06:02:29.000Z"
}
```

### Known limitations

- This returns the cheapest fare found per day, not every scheduled flight on busy days with multiple departures.
- A day shown as sold out or unavailable by Ryanair is skipped entirely rather than given a fabricated price.
- Prices change constantly; a result is a snapshot at the moment it ran.
- This Actor covers Ryanair only. For other airlines on the same route, use their own Flight Search Actor and compare results.

### Frequently Asked Questions

**Where does the data come from?** Ryanair's own live availability data, the same prices shown on ryanair.com.

**Do I need an account?** No. Public data only, no login required.

**Can I run this on a schedule?** Yes. Create a Task with your route and date range, and add a schedule in Apify Console to track price changes over time.

### Responsible use

This Actor reads publicly available pricing data only. It does not place bookings. Use the collected data in line with Ryanair's own terms of service.

# Actor input Schema

## `originCode` (type: `string`):

3-letter IATA code for the departure airport, e.g. STN (London Stansted) or BVA (Paris Beauvais).

## `destinationCode` (type: `string`):

3-letter IATA code for the arrival airport, e.g. BCN (Barcelona).

## `startDate` (type: `string`):

First day to search, as YYYY-MM-DD. Leave empty to use today's date automatically.

## `endDate` (type: `string`):

Last day to search, as YYYY-MM-DD. Leave empty to search the start date only (a single day).

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

Only return flights departing at or after this time, as HH:mm (24-hour), e.g. 06:00. Leave empty for no lower limit.

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

Only return flights departing at or before this time, as HH:mm (24-hour), e.g. 18:00. Leave empty for no upper limit.

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

Maximum number of flight options to return. Default is 5 for a quick test; set 0 to return every option found in the date range.

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

Not required - Ryanair's fare data is reachable without a proxy. Only turn one on if you're running at high volume and want to avoid rate limits.

## Actor input object example

```json
{
  "originCode": "STN",
  "destinationCode": "BCN",
  "startDate": "",
  "endDate": "",
  "departureTimeFrom": "",
  "departureTimeTo": "",
  "maxResults": 5,
  "proxyConfiguration": {
    "useApifyProxy": 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 = {
    "originCode": "STN",
    "destinationCode": "BCN",
    "startDate": "",
    "endDate": "",
    "departureTimeFrom": "",
    "departureTimeTo": "",
    "maxResults": 5,
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("mrdoe/ryanair-flight-search").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 = {
    "originCode": "STN",
    "destinationCode": "BCN",
    "startDate": "",
    "endDate": "",
    "departureTimeFrom": "",
    "departureTimeTo": "",
    "maxResults": 5,
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("mrdoe/ryanair-flight-search").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 '{
  "originCode": "STN",
  "destinationCode": "BCN",
  "startDate": "",
  "endDate": "",
  "departureTimeFrom": "",
  "departureTimeTo": "",
  "maxResults": 5,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call mrdoe/ryanair-flight-search --silent --output-dataset

```

## MCP server setup

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

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/QiJs5GhLtBghY8lhh/builds/HR9JFgB4vyTGSg6HC/openapi.json
