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.
{
"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
}
}Sample data
What one call returns
A recorded run of airports-active: the fields and shapes you will get, shortened to 3 items.
| # | baseboolean | cityobject | codestring | coordinatesobject | countryobject | namestring | regionobject | seoNamestring | timeZonestring |
|---|---|---|---|---|---|---|---|---|---|
| 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 |
[
{
"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"
}
]base,city,code,coordinates,country,name,region,seoName,timeZone
false,"{""code"":""AARHUS"",""name"":""Aarhus""}",AAR,"{""latitude"":56.3,""longitude"":10.619}","{""code"":""dk"",""currency"":""DKK"",""defaultAirportCode"":""BLL"",""iso3code"":""DNK"",""name"":""Denmark"",""schengen"":true}",Aarhus,"{""code"":""EAST_JUTLAND"",""name"":""East Jutland""}",aarhus,Europe/Copenhagen
false,"{""code"":""ABERDEEN"",""name"":""Aberdeen""}",ABZ,"{""latitude"":57.2019,""longitude"":-2.19778}","{""code"":""gb"",""currency"":""GBP"",""defaultAirportCode"":""STN"",""iso3code"":""GBR"",""name"":""United Kingdom"",""schengen"":false}",Aberdeen,"{""code"":""SCOTLAND"",""name"":""Scotland""}",aberdeen,Europe/London
true,"{""code"":""LANZAROTE"",""name"":""Lanzarote""}",ACE,"{""latitude"":28.9455,""longitude"":-13.6052}","{""code"":""es"",""currency"":""EUR"",""defaultAirportCode"":""BCN"",""iso3code"":""ESP"",""name"":""Spain"",""schengen"":true}",Lanzarote,"{""code"":""CANARY_ISLES"",""name"":""Canary Isles""}",lanzarote,Atlantic/CanaryRecorded 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
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 | 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-daytakes anorigin, adestinationand amonth, withcurrencyandadults.fares-one-wayandfares-round-triptake anorigin, adestination,departure_date_fromanddeparture_date_to, withinbound_date_from,inbound_date_to,nights_from,nights_to,currency,adults,marketandlimit. - Flights:
flights-availabilitytakes anorigin, adestinationand adate, withadults,teens,children,infants,flexandmarket.flights-schedulestakes anorigin, adestination, ayearand amonth.flights-active-datestakes anoriginand adestination. - Airports and routes:
airports-activetakes no parameters;airports-detailandroutes-from-airporttake acode;routes-served-periodtakes anoriginand adestination;routes-served-periodstakes anorigin. - Reference:
reference-sitemaptakes no parameters and returnssitemaps, 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.
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 monthPrice 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` flagsBuild 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.