# Ryanair API

> Ryanair workflow and API: cheapest fares and fare calendar. Returns fares, fare, currency and flight date as JSON.

Ryanair data from ryanair.com: cheapest fares and fare calendar.

- Page: https://fous.com/workflows/ryanair
- Handle: `@ryanair`
- Category: [Travel](https://fous.com/workflows/category/travel)
- Source website: https://ryanair.com
- Last verified: Sep 29, 2026
- Fous is not affiliated with Ryanair.

## Methods

### Get fare calendar

Operation `get_fare_calendar`, version 1. 1 credit per call.

Get the lowest one-way fare on each day of a month for a direct Ryanair route. For a city with multiple airports, returns the airport pair with the lowest fare that month; fares can change and some months may have no available flights.

**Input**

| Field | Type | Required | Example | Description |
|---|---|---|---|---|
| `month` | string | yes | `"2026-11"` | Month of departure, for example 2026-11 (YYYY-MM). |
| `origin` | string | yes | `"London"` | Departure city or airport, for example London Stansted. |
| `destination` | string | yes | `"Barcelona"` | Arrival city or airport, for example Barcelona. |

**Input schema**

```json
{
  "type": "object",
  "required": [
    "origin",
    "destination",
    "month"
  ],
  "properties": {
    "month": {
      "type": "string",
      "title": "Month",
      "pattern": "^[0-9]{4}-(0[1-9]|1[0-2])$",
      "description": "Month of departure, for example 2026-11 (YYYY-MM).",
      "examples": [
        "2026-11"
      ]
    },
    "origin": {
      "type": "string",
      "title": "From",
      "minLength": 1,
      "description": "Departure city or airport, for example London Stansted.",
      "examples": [
        "London",
        "London Stansted",
        "Barcelona"
      ]
    },
    "destination": {
      "type": "string",
      "title": "To",
      "minLength": 1,
      "description": "Arrival city or airport, for example Barcelona.",
      "examples": [
        "Barcelona",
        "London Stansted",
        "Aarhus"
      ]
    }
  },
  "additionalProperties": false,
  "examples": [
    {
      "month": "2026-11",
      "origin": "London",
      "destination": "Barcelona"
    },
    {
      "month": "2026-11",
      "origin": "London Stansted",
      "destination": "Barcelona"
    },
    {
      "month": "2026-11",
      "origin": "Barcelona",
      "destination": "London Stansted"
    }
  ]
}
```

**Output**

| Field | Type | Example | Description |
|---|---|---|---|
| `days` | array |  | Fares in calendar order. |
| `days[].date` | string | `"2026-11-01"` | Departure date. |
| `days[].page_link` | string | `"https://www.ryanair.com/gb/en/trip/flights/select?adults=1&dateOut=2026-11-01&originIata=STN&destinationIata=BCN&isRetu` | Ryanair flight-search page for this date. |
| `days[].cheapest_fare` | number or null | `15.99` | Lowest fare that day, or null if not available. |
| `days[].flights_operate` | string | `"yes"` | Whether the route has flights on this date, including sold-out flights. |
| `cheapest_day` | string or null | `"2026-11-07"` | Date with the lowest available fare, or null. |
| `cheapest_fare` | number or null | `14.99` | Lowest available one-way fare in the shown currency, or null. |
| `currency_code` | string | `"GBP"` | Currency Ryanair uses for the fare. |
| `arrival_airport` | string | `"Barcelona"` | Arrival airport name. |
| `departure_airport` | string | `"London Stansted"` | Departure airport name. |
| `arrival_airport_code` | string | `"BCN"` | Arrival airport IATA code. |
| `departure_airport_code` | string | `"STN"` | Departure airport IATA code. |

**Example input**

```json
{
  "month": "2026-11",
  "origin": "London",
  "destination": "Barcelona"
}
```

**Example output**

```json
{
  "days": [
    {
      "date": "2026-11-01",
      "page_link": "https://www.ryanair.com/gb/en/trip/flights/select?adults=1&dateOut=2026-11-01&originIata=STN&destinationIata=BCN&isReturn=false",
      "cheapest_fare": 15.99,
      "flights_operate": "yes"
    },
    {
      "date": "2026-11-02",
      "page_link": "https://www.ryanair.com/gb/en/trip/flights/select?adults=1&dateOut=2026-11-02&originIata=STN&destinationIata=BCN&isReturn=false",
      "cheapest_fare": 17.99,
      "flights_operate": "yes"
    },
    {
      "date": "2026-11-03",
      "page_link": "https://www.ryanair.com/gb/en/trip/flights/select?adults=1&dateOut=2026-11-03&originIata=STN&destinationIata=BCN&isReturn=false",
      "cheapest_fare": 16.99,
      "flights_operate": "yes"
    }
  ],
  "cheapest_day": "2026-11-07",
  "cheapest_fare": 14.99,
  "currency_code": "GBP",
  "arrival_airport": "Barcelona",
  "departure_airport": "London Stansted",
  "arrival_airport_code": "BCN",
  "departure_airport_code": "STN"
}
```

### List cheapest fares

Operation `list_cheapest_fares`, version 1. 1 credit per call.

List the cheapest one-way Ryanair fare to each destination from a city or airport during a date range, sorted by price. Booking links open flight selection; prices and availability can change.

**Input**

| Field | Type | Required | Example | Description |
|---|---|---|---|---|
| `origin` | string | yes | `"London Stansted"` | Departure city or airport, for example Dublin or London Stansted. |
| `date_to` | string | no | `"2026-10-29"` | Last departure date, for example 2026-10-29. Defaults to 30 days from today. |
| `date_from` | string | no | `"2026-10-01"` | First departure date, for example 2026-10-01. Defaults to today. |
| `max_price` | number | no | `60` | Maximum one-way fare in the displayed currency, for example 50. No limit by default. |
| `destination` | string | no | `"Spain"` | Destination country, city or airport, for example Spain or Barcelona. Defaults to anywhere. |
| `max_results` | integer | no | `10` | Maximum destinations to return, for example 30. Defaults to 30 (up to 100). |

**Input schema**

```json
{
  "type": "object",
  "required": [
    "origin"
  ],
  "properties": {
    "origin": {
      "type": "string",
      "title": "From",
      "description": "Departure city or airport, for example Dublin or London Stansted.",
      "examples": [
        "London Stansted",
        "Dublin",
        "London"
      ]
    },
    "date_to": {
      "type": "string",
      "format": "date",
      "description": "Last departure date, for example 2026-10-29. Defaults to 30 days from today.",
      "examples": [
        "2026-10-29"
      ]
    },
    "date_from": {
      "type": "string",
      "format": "date",
      "description": "First departure date, for example 2026-10-01. Defaults to today.",
      "examples": [
        "2026-10-01"
      ]
    },
    "max_price": {
      "type": "number",
      "minimum": 0,
      "description": "Maximum one-way fare in the displayed currency, for example 50. No limit by default.",
      "examples": [
        60
      ]
    },
    "destination": {
      "type": "string",
      "title": "To",
      "description": "Destination country, city or airport, for example Spain or Barcelona. Defaults to anywhere.",
      "examples": [
        "Spain",
        "Ireland"
      ]
    },
    "max_results": {
      "type": "integer",
      "default": 30,
      "maximum": 100,
      "minimum": 1,
      "description": "Maximum destinations to return, for example 30. Defaults to 30 (up to 100).",
      "x-fous-developer": true,
      "examples": [
        10,
        15
      ]
    }
  },
  "additionalProperties": false,
  "examples": [
    {
      "origin": "London Stansted",
      "date_to": "2026-10-29",
      "date_from": "2026-10-01",
      "max_price": 60,
      "destination": "Spain",
      "max_results": 10
    },
    {
      "origin": "Dublin",
      "date_to": "2026-10-29",
      "date_from": "2026-10-01"
    },
    {
      "origin": "London",
      "date_to": "2026-10-29",
      "date_from": "2026-10-01",
      "destination": "Ireland",
      "max_results": 15
    }
  ]
}
```

**Output**

| Field | Type | Example | Description |
|---|---|---|---|
| `fares` | array |  | Cheapest fares, sorted by price. |
| `fares[].fare` | number | `14.99` | Cheapest one-way fare. |
| `fares[].currency` | string | `"GBP"` | Currency of the fare. |
| `fares[].flight_date` | string | `"2026-10-04"` | Local departure date. |
| `fares[].arrival_time` | string | `"2026-10-04T10:50:00+02:00"` | Local arrival time with UTC offset. |
| `fares[].booking_link` | string | `"https://www.ryanair.com/gb/en/trip/flights/select?adults=1&teens=0&children=0&infants=0&dateOut=2026-10-04&isReturn=fal` | Ryanair flight selection link for this route and date. |
| `fares[].flight_number` | string | `"FR8378"` | Flight number. |
| `fares[].departure_time` | string | `"2026-10-04T07:40:00+01:00"` | Local departure time with UTC offset. |
| `fares[].destination_city` | string | `"Santiago"` | Destination city. |
| `fares[].destination_airport` | string | `"Santiago"` | Destination airport name. |
| `fares[].destination_country` | string | `"Spain"` | Destination country. |
| `fares[].origin_airport_code` | string | `"STN"` | Departure airport IATA code. |
| `fares[].destination_airport_code` | string | `"SCQ"` | Arrival airport IATA code. |

**Example input**

```json
{
  "origin": "London Stansted",
  "date_to": "2026-10-29",
  "date_from": "2026-10-01",
  "max_price": 60,
  "destination": "Spain",
  "max_results": 10
}
```

**Example output**

```json
{
  "fares": [
    {
      "fare": 14.99,
      "currency": "GBP",
      "flight_date": "2026-10-04",
      "arrival_time": "2026-10-04T10:50:00+02:00",
      "booking_link": "https://www.ryanair.com/gb/en/trip/flights/select?adults=1&teens=0&children=0&infants=0&dateOut=2026-10-04&isReturn=false&originIata=STN&destinationIata=SCQ",
      "flight_number": "FR8378",
      "departure_time": "2026-10-04T07:40:00+01:00",
      "destination_city": "Santiago",
      "destination_airport": "Santiago",
      "destination_country": "Spain",
      "origin_airport_code": "STN",
      "destination_airport_code": "SCQ"
    },
    {
      "fare": 14.99,
      "currency": "GBP",
      "flight_date": "2026-10-07",
      "arrival_time": "2026-10-07T11:50:00+02:00",
      "booking_link": "https://www.ryanair.com/gb/en/trip/flights/select?adults=1&teens=0&children=0&infants=0&dateOut=2026-10-07&isReturn=false&originIata=STN&destinationIata=MAD",
      "flight_number": "FR347",
      "departure_time": "2026-10-07T08:20:00+01:00",
      "destination_city": "Madrid",
      "destination_airport": "Madrid",
      "destination_country": "Spain",
      "origin_airport_code": "STN",
      "destination_airport_code": "MAD"
    },
    {
      "fare": 14.99,
      "currency": "GBP",
      "flight_date": "2026-10-07",
      "arrival_time": "2026-10-08T01:15:00+02:00",
      "booking_link": "https://www.ryanair.com/gb/en/trip/flights/select?adults=1&teens=0&children=0&infants=0&dateOut=2026-10-07&isReturn=false&originIata=STN&destinationIata=GRO",
      "flight_number": "FR6077",
      "departure_time": "2026-10-07T22:10:00+01:00",
      "destination_city": "Girona",
      "destination_airport": "Barcelona Girona",
      "destination_country": "Spain",
      "origin_airport_code": "STN",
      "destination_airport_code": "GRO"
    }
  ]
}
```

## Quick start

Call the API with a Fous API key (`FOUS_API_KEY`). To create one, turn on Developer mode in Fous Studio, then open Keys & connections → API keys (https://app.fous.com/keys).

```bash
# First set your key: export FOUS_API_KEY='YOUR_FOUS_API_KEY'
: "${FOUS_API_KEY:?Set FOUS_API_KEY before running this example}"

curl 'https://api.fous.com/v1/query' \
  --fail-with-body --silent --show-error --max-time 120 \
  -H "Authorization: Bearer $FOUS_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "api": "@ryanair",
  "visibility": "public",
  "operation": "get_fare_calendar",
  "version": 1,
  "input": {
    "month": "2026-11",
    "origin": "London",
    "destination": "Barcelona"
  },
  "response": {
    "format": "json"
  }
}'
```

```python
# Save as fous.py and run with python3 fous.py. No packages needed.
# First set your key: export FOUS_API_KEY='YOUR_FOUS_API_KEY'
import json
import os
import urllib.error
import urllib.request

api_key = os.environ.get("FOUS_API_KEY")
if not api_key:
    raise RuntimeError("Set FOUS_API_KEY before running this example")

body = json.loads("{\n  \"api\": \"@ryanair\",\n  \"visibility\": \"public\",\n  \"operation\": \"get_fare_calendar\",\n  \"version\": 1,\n  \"input\": {\n    \"month\": \"2026-11\",\n    \"origin\": \"London\",\n    \"destination\": \"Barcelona\"\n  },\n  \"response\": {\n    \"format\": \"json\"\n  }\n}")
request = urllib.request.Request(
    "https://api.fous.com/v1/query",
    data=json.dumps(body).encode("utf-8"),
    headers={
        "Authorization": f"Bearer {api_key}",
        "Content-Type": "application/json",
    },
    method="POST",
)
try:
    with urllib.request.urlopen(request, timeout=120) as response:
        result = json.load(response)
except urllib.error.HTTPError as error:
    raise RuntimeError(f"HTTP {error.code}: {error.read().decode('utf-8', errors='replace')}") from error
if result.get("success") is False:
    raise RuntimeError(result.get("error", {}).get("message", "Request failed"))
print(json.dumps(result["data"]["output"], indent=2))
```

```typescript
// Save as fous.mts and run with npx tsx fous.mts.
// First set your key: export FOUS_API_KEY='YOUR_FOUS_API_KEY'
const apiKey = process.env.FOUS_API_KEY;
if (!apiKey) throw new Error("Set FOUS_API_KEY before running this example");

const response = await fetch("https://api.fous.com/v1/query", {
  method: "POST",
  headers: {
    "Authorization": `Bearer ${apiKey}`,
    "Content-Type": "application/json",
  },
  signal: AbortSignal.timeout(120_000),
  body: JSON.stringify({
  "api": "@ryanair",
  "visibility": "public",
  "operation": "get_fare_calendar",
  "version": 1,
  "input": {
    "month": "2026-11",
    "origin": "London",
    "destination": "Barcelona"
  },
  "response": {
    "format": "json"
  }
}),
});
type ApiResult = { success: boolean; data?: { output: unknown }; error?: { message: string } };
const result: ApiResult = await response.json();
if (!response.ok || result.success === false) {
  throw new Error(result.error?.message ?? `HTTP ${response.status}`);
}
if (!result.data) throw new Error("Missing API response data");
console.log(result.data.output);
```

Or describe the data in plain language: send `{"api":"@ryanair","prompt":"Describe the data you need, with every detail"}` to the same URL. Fous fills in the input, runs the method that fits and returns only the fields you asked for; `data.route.calls[].request` is the exact call it made. Routing is free; the run costs the same.

## FAQ

### Is Fous affiliated with Ryanair?

No. Fous is not affiliated with Ryanair. This workflow reads the public ryanair.com website and returns its data.

### How much does it cost?

Each run costs 1 credit. With pay-as-you-go, a credit costs 1¢; monthly plans cost less per credit.

### Do I need a Ryanair account?

No. You only need a Fous account.

### How current is the data?

Fous gets the data from ryanair.com when you run it; repeating the same request within a day may return the saved result. Fous checks this workflow automatically; it last passed a check on Sep 29, 2026.

## Related

- [Google Flights API](https://fous.com/workflows/google-flights.md): Google Flights returns route schedules, public fares, monthly lowest prices, and flight or destination options with times, stops, emissions, and fares that may change.
- [Kayak API](https://fous.com/workflows/kayak.md): Kayak compares flight and hotel prices across booking sites and current rental car offers; hotel rates assume two adults per room and cover public location pages, while prices and availability can change at booking.
- [Trip.com API](https://fous.com/workflows/trip-com.md): Trip.com offers hotel and flight bookings, with hotel listings limited to initial public results and prices and fares subject to change.
- [Expedia API](https://fous.com/workflows/expedia.md): Expedia helps travelers find hotels, vacation stays, and travel deals, with hotel prices and flight options for selected destinations and dates; flight listings may be limited.
- [Rome2rio API](https://fous.com/workflows/rome2rio.md): Compare ways to travel between places by train, bus, ferry, plane and car.
- [FlixBus API](https://fous.com/workflows/flixbus.md): Find and book bus and train trips on FlixBus.
- [FlightAware API](https://fous.com/workflows/flightaware.md): FlightAware provides public flight status and dated flight details, airport arrivals and departures limited to displayed history and 20 flights per direction, plus today’s delays and cancellations when shown.
- [Flightradar24 API](https://fous.com/workflows/flightradar24.md): Flightradar24 provides live flight tracking, recent history, flight status and times, plus upcoming airport departures and arrivals; history and schedules are limited to recent and upcoming flights.
- [All Travel workflows](https://fous.com/workflows/category/travel)
