---
title: "Ryanair API: one-way, return, cheapest-per-day fares as JSON"
description: "Ryanair API for one-way, return and cheapest-per-day fares, flight availability and schedules, airports and routes as JSON. 1 credit per successful call."
url: https://perceptlayer.com/apis/ryanair
---

[APIs](https://perceptlayer.com/apis) / [Travel](https://perceptlayer.com/verticals/travel) / Ryanair

1 credit per call 12 endpoints 9 datapoints 

# Ryanair API

Ryanair API for one-way, return and cheapest-per-day fares, flight availability and schedules, airports and routes as JSON. 1 credit per successful call.

[Get a free API key](https://perceptlayer.com/signup) Run it below

Ryanair

GET /v1/ryanair/airports-active 

```
{
  "success": true,
  "data": {
    "airports": [
      {
        "base": false,
        "city": {
          "code": "AARHUS",
          "name": "Aarhus"
        },
        "code": "AAR",
        "coordinates": {
          "latitude": 56.3,
          "longitude": 10.619
        },
        "country": {
          "code": "dk",
          "currency": "DKK",
          "defaultAirportCode": "BLL",
          "iso3code": "DNK",
          "name": "Denmark",
          "schengen": true
        },
        "name": "Aarhus",
        "region": {
          "code": "EAST_JUTLAND",
          "name": "East Jutland"
        },
        "seoName": "aarhus",
        "timeZone": "Europe/Copenhagen"
      },
      {
        "base": false,
        "city": {
          "code": "ABERDEEN",
          "name": "Aberdeen"
        },
        "code": "ABZ",
        "coordinates": {
          "latitude": 57.2019,
          "longitude": -2.19778
        },
        "country": {
          "code": "gb",
          "currency": "GBP",
          "defaultAirportCode": "STN",
          "iso3code": "GBR",
          "name": "United Kingdom",
          "schengen": false
        },
        "name": "Aberdeen",
        "region": {
          "code": "SCOTLAND",
          "name": "Scotland"
        },
        "seoName": "aberdeen",
        "timeZone": "Europe/London"
      },
      {
        "base": true,
        "city": {
          "code": "LANZAROTE",
          "name": "Lanzarote"
        },
        "code": "ACE",
        "coordinates": {
          "latitude": 28.9455,
          "longitude": -13.6052
        },
        "country": {
          "code": "es",
          "currency": "EUR",
          "defaultAirportCode": "BCN",
          "iso3code": "ESP",
          "name": "Spain",
          "schengen": true
        },
        "name": "Lanzarote",
        "region": {
          "code": "CANARY_ISLES",
          "name": "Canary Isles"
        },
        "seoName": "lanzarote",
        "timeZone": "Atlantic/Canary"
      }
    ],
    "cached": false
  },
  "meta": {
    "endpoint_family": "reference.airports",
    "source": "ryanair",
    "request_id": "req_aff638acffe041e48e49d241e6675d72",
    "credits_charged": 1,
    "credits_remaining": 972
  }
}
```

200 OK JSON X-Credits-Used: 1

Recorded from our API and shortened.

Sample data

## What one call returns

A recorded run of `airports-active`: the fields and shapes you will get, shortened to 3 items.

| # | base boolean | city object | code string | coordinates object | country object | name string | region object | seoName string | timeZone string |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
| 1 | false | {2 fields} | AAR | {2 fields} | {6 fields} | Aarhus | {2 fields} | aarhus | Europe/Copenhagen |
| 2 | false | {2 fields} | ABZ | {2 fields} | {6 fields} | Aberdeen | {2 fields} | aberdeen | Europe/London |
| 3 | true | {2 fields} | ACE | {2 fields} | {6 fields} | Lanzarote | {2 fields} | lanzarote | Atlantic/Canary |

Recorded from our API · 3 items shown · 9 datapoints per item GET /v1/ryanair/airports-active

9 datapoints

### Identity

-   name string
-   seoName string

### Location

-   city object
-   country object
-   region object
-   timeZone string

### Other

-   base boolean
-   code string
-   coordinates object

Playground

## Run this API

cURL shell 

```
curl "https://api.perceptlayer.com/v1/ryanair/airports-active" \
  -H "X-API-Key: $API_KEY"
```

Ryanair · 12 endpoints

## Endpoints

Every endpoint takes the same key. Open one for its parameters, the fields it returns and an example request.

| Endpoint | Required parameters | Returns | Cost |
| --- | --- | --- | --- |
| [GET `/v1/ryanair/airports-active`](https://perceptlayer.com/apis/ryanair/airports-active) | none | `base` `city` `code` `coordinates` `country` `name` +3 more | 1 credit |
| [GET `/v1/ryanair/airports-detail`](https://perceptlayer.com/apis/ryanair/airports-detail) | `code` | `airport` | 1 credit |
| [GET `/v1/ryanair/fares-cheapest-per-day`](https://perceptlayer.com/apis/ryanair/fares-cheapest-per-day) | `origin` `destination` `month` +2 optional | `departure_date` `arrival_date` `price` `currency` `day` | 1 credit |
| [GET `/v1/ryanair/fares-one-way`](https://perceptlayer.com/apis/ryanair/fares-one-way) | `origin` `destination` `departure_date_from` `departure_date_to` +8 optional | `departure_date` `arrival_date` `origin` `destination` `flight_number` `price` +2 more | 1 credit |
| [GET `/v1/ryanair/fares-round-trip`](https://perceptlayer.com/apis/ryanair/fares-round-trip) | `origin` `destination` `departure_date_from` `departure_date_to` +8 optional | `outbound` `inbound` `price` `currency` | 1 credit |
| [GET `/v1/ryanair/flights-active-dates`](https://perceptlayer.com/apis/ryanair/flights-active-dates) | `origin` `destination` | `date` | 1 credit |
| [GET `/v1/ryanair/flights-availability`](https://perceptlayer.com/apis/ryanair/flights-availability) | `origin` `destination` `date` +6 optional | `date` `flight_number` `departure_time_local` `arrival_time_local` `departure_time_utc` `arrival_time_utc` +6 more | 1 credit |
| [GET `/v1/ryanair/flights-schedules`](https://perceptlayer.com/apis/ryanair/flights-schedules) | `origin` `destination` `year` `month` | `schedules` | 1 credit |
| [GET `/v1/ryanair/reference-sitemap`](https://perceptlayer.com/apis/ryanair/reference-sitemap) | none | `sitemaps` `cached` | 1 credit |
| [GET `/v1/ryanair/routes-from-airport`](https://perceptlayer.com/apis/ryanair/routes-from-airport) | `code` | `arrivalAirport` `operator` `recent` `seasonal` | 1 credit |
| [GET `/v1/ryanair/routes-served-period`](https://perceptlayer.com/apis/ryanair/routes-served-period) | `origin` `destination` | `period` | 1 credit |
| [GET `/v1/ryanair/routes-served-periods`](https://perceptlayer.com/apis/ryanair/routes-served-periods) | `origin` | `destination` `firstFlightDate` `lastFlightDate` `monthsFromToday` `months` | 1 credit |

Overview

## About the Ryanair API

## What you can get

The Ryanair API returns Ryanair fares, flights, airports and routes as JSON through 12 endpoints.

-   **Fares:** `fares-cheapest-per-day` takes an `origin`, a `destination` and a `month`, with `currency` and `adults`. `fares-one-way` and `fares-round-trip` take an `origin`, a `destination`, `departure_date_from` and `departure_date_to`, with `inbound_date_from`, `inbound_date_to`, `nights_from`, `nights_to`, `currency`, `adults`, `market` and `limit`.
-   **Flights:** `flights-availability` takes an `origin`, a `destination` and a `date`, with `adults`, `teens`, `children`, `infants`, `flex` and `market`. `flights-schedules` takes an `origin`, a `destination`, a `year` and a `month`. `flights-active-dates` takes an `origin` and a `destination`.
-   **Airports and routes:** `airports-active` takes no parameters; `airports-detail` and `routes-from-airport` take a `code`; `routes-served-period` takes an `origin` and a `destination`; `routes-served-periods` takes an `origin`.
-   **Reference:** `reference-sitemap` takes no parameters and returns `sitemaps`, a list of sitemap URLs.

`currency` takes one of 21 codes, including `EUR`, `GBP`, `USD`, `PLN` and `SEK`. `market` takes one of 38 locale codes, such as `en-gb`, `en-ie`, `en-us` and `de-de`.

The recorded `fares-one-way` call from `DUB` to `STN` for departures between 2026-12-15 and 2026-12-22 returns one fare: `FR255` on 2026-12-15 at 14.99 EUR, with `departure_date`, `arrival_date`, `origin`, `destination`, `flight_number`, `price`, `currency` and a `summary`. The recorded `flights-schedules` call for the same route in January 2027 returns `schedules` keyed by date, 31 days, each flight with `flight_number`, `departure_time`, `arrival_time` and `time_basis`.

## How a call works

Find a route, then price it: `GET /v1/ryanair/routes-from-airport?code=DUB`, with your key in the `X-API-Key` header, returns `routes`, each with an `arrivalAirport` and its `code`. `GET /v1/ryanair/flights-active-dates?origin=DUB&destination=STN` returns the `dates` that route flies. Then `GET /v1/ryanair/fares-one-way?origin=DUB&destination=STN&departure_date_from=2027-01-05&departure_date_to=2027-01-12` returns the fare, or `flights-availability` with a `date` returns each flight's times and `fares`. Every successful call costs 1 credit; failed calls cost nothing.

Travel JSON REST MCP

### More travel APIs

[ADS-B History](https://perceptlayer.com/apis/adsb-history) [Agoda](https://perceptlayer.com/apis/agoda) [Airbnb](https://perceptlayer.com/apis/airbnb) [Airportia](https://perceptlayer.com/apis/airportia) [Bandsintown](https://perceptlayer.com/apis/bandsintown) [Booking.com](https://perceptlayer.com/apis/booking) [Economy Car Rentals](https://perceptlayer.com/apis/economy-car-rentals) [Eventbrite](https://perceptlayer.com/apis/eventbrite) [Eventim](https://perceptlayer.com/apis/eventim) [Expedia](https://perceptlayer.com/apis/expedia) [FlightAware](https://perceptlayer.com/apis/flightaware) [Flightradar24](https://perceptlayer.com/apis/flightradar24)

Use cases

### Track the cheapest fare per day on a route for a month

`Use the Ryanair API to track the cheapest fare per day on a route for a month` 

### Price return trips across a date window and a length of stay with \`nights\_from\` and \`nights\_to\`

`` Use the Ryanair API to price return trips across a date window and a length of stay with `nights_from` and `nights_to` `` 

### List every destination served from an airport, with \`seasonal\` and \`recent\` flags

`` Use the Ryanair API to list every destination served from an airport, with `seasonal` and `recent` flags `` 

### Build a route's monthly timetable from \`flights-schedules\`

`` Use the Ryanair API to build a route's monthly timetable from `flights-schedules` `` 

FAQ

## Questions

**How much does the Ryanair API cost?**

Each successful call costs one credit, whichever endpoint you call. New accounts get free credits to start, and credit packs bring the price down as you scale.

**Can I search return trips?**

Yes. \`fares-round-trip\` takes the outbound window in \`departure\_date\_from\` and \`departure\_date\_to\` and the return window in \`inbound\_date\_from\` and \`inbound\_date\_to\`. The recorded call from \`DUB\` to \`STN\` returns \`fares\`, each with an \`outbound\` and an \`inbound\` flight and a total \`price\` of 34.98 EUR.

**How far ahead does a route fly?**

\`routes-served-period\` returns \`firstFlightDate\`, \`lastFlightDate\` and \`months\` for one route. For \`DUB\` to \`STN\`, the recording runs from 2026-11-18 to 2027-10-30. \`routes-served-periods\` returns the same for every destination from an \`origin\`.

**What format are responses in?**

Every endpoint returns JSON, with no HTML parsing on your side.

**Is this the official Ryanair API?**

No. Perceptlayer is an independent service and is not affiliated with Ryanair. It returns Ryanair data as JSON with a Perceptlayer key, so there is no Ryanair developer account, app review or partner approval to get first. It only reads data: if Ryanair has an official API and you need to act on your own Ryanair account, such as posting, managing orders or reading private data, use that one.

**Should I build a Ryanair scraper instead?**

You can, but a Ryanair scraper is code you maintain: page changes break it, requests get blocked, and Ryanair's terms govern how you collect data. The Ryanair API gives you 12 endpoints of named JSON fields for 1 credit per successful call, and failed calls cost nothing. A scraper makes sense only for data these endpoints don't return, so check the response in the playground on this page first.

## Try the Ryanair API with 100 free credits

No credit card. Failed calls are never billed.

[Get a free API key](https://perceptlayer.com/signup) [Read the docs](https://docs.perceptlayer.com)
