APIs / Travel / Ryanair

1 credit per call12 endpoints9 datapointsChecked working 6 Dec 2026

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.

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 OKJSONX-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.

#basebooleancityobjectcodestringcoordinatesobjectcountryobjectnamestringregionobjectseoNamestringtimeZonestring
1false{2 fields}AAR{2 fields}{6 fields}Aarhus{2 fields}aarhusEurope/Copenhagen
2false{2 fields}ABZ{2 fields}{6 fields}Aberdeen{2 fields}aberdeenEurope/London
3true{2 fields}ACE{2 fields}{6 fields}Lanzarote{2 fields}lanzaroteAtlantic/Canary

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

9 datapoints

Identity

  • namestring
  • seoNamestring

Location

  • cityobject
  • countryobject
  • regionobject
  • timeZonestring

Other

  • baseboolean
  • codestring
  • coordinatesobject

Playground

Run this API

cURLshell
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.

EndpointRequired parametersReturnsCost
GET/v1/ryanair/airports-active
none
basecitycodecoordinatescountryname+3 more
1 credit
GET/v1/ryanair/airports-detail
code
airport
1 credit
GET/v1/ryanair/fares-cheapest-per-day
origindestinationmonth+2 optional
departure_datearrival_datepricecurrencyday
1 credit
GET/v1/ryanair/fares-one-way
origindestinationdeparture_date_fromdeparture_date_to+8 optional
departure_datearrival_dateorigindestinationflight_numberprice+2 more
1 credit
GET/v1/ryanair/fares-round-trip
origindestinationdeparture_date_fromdeparture_date_to+8 optional
outboundinboundpricecurrency
1 credit
GET/v1/ryanair/flights-active-dates
origindestination
date
1 credit
GET/v1/ryanair/flights-availability
origindestinationdate+6 optional
dateflight_numberdeparture_time_localarrival_time_localdeparture_time_utcarrival_time_utc+6 more
1 credit
GET/v1/ryanair/flights-schedules
origindestinationyearmonth
schedules
1 credit
GET/v1/ryanair/reference-sitemap
none
sitemapscached
1 credit
GET/v1/ryanair/routes-from-airport
code
arrivalAirportoperatorrecentseasonal
1 credit
GET/v1/ryanair/routes-served-period
origindestination
period
1 credit
GET/v1/ryanair/routes-served-periods
origin
destinationfirstFlightDatelastFlightDatemonthsFromTodaymonths
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.

TravelJSONRESTMCP

More travel APIs

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.