Skip to content

Instantly share code, notes, and snippets.

@vool vool/ryanapi.md
Last active May 29, 2020

Embed
What would you like to do?
Ryanair api endpoints

API domains

https://desktopapps.ryanair.com

https://api.ryanair.com

Airports

https://api.ryanair.com/aggregate/3/common?embedded=airports,countries,cities,regions,nearbyAirports,defaultAirport&market=en-gb

https://desktopapps.ryanair.com/en-gb/res/stations

Closures

https://api.ryanair.com/aggregate/3/common?embedded=closures

Flight info

https://api.ryanair.com/flightinfo/3/flights/?&arrivalAirportIataCode=&departureAirportIataCode=DUB&departureTimeScheduledFrom=00:00&departureTimeScheduledTo=23:59&length=&number=&offset=

Schedules

https://desktopapps.ryanair.com/Calendar?Destination=EIN&IsTwoWay=false&Months=16&Origin=CFU&StartDate=2016-11-06

https://api.ryanair.com/timetable/3/schedules/DUB/LGW/years/2016/months/11

Availability and fares info

https://desktopapps.ryanair.com/en-gb/availability?ADT=1&CHD=0&DateIn=2016-11-24&DateOut=2016-11-10&Destination=STN&FlexDaysIn=6&FlexDaysOut=6&INF=0&Origin=VLC&RoundTrip=true&TEEN=0&ToUs=AGREED

Fair Finder

One way

https://services-api.ryanair.com/farfnd/3/oneWayFares?&departureAirportIataCode=BCN&language=en&limit=16&market=en-gb&offset=0&outboundDepartureDateFrom=2019-02-11&outboundDepartureDateTo=2019-10-28&priceValueTo=150

Return

https://services-api.ryanair.com/farfnd/3/roundTripFares?&arrivalAirportIataCode=STN&departureAirportIataCode=VLC&inboundDepartureDateFrom=2019-04-11&inboundDepartureDateTo=2019-04-28&language=es&limit=16&market=es-es&offset=0&outboundDepartureDateFrom=2019-03-11&outboundDepartureDateTo=2019-03-28&priceValueTo=150

Cheapest per day as well as availability:

https://api.ryanair.com/farefinder/3/oneWayFares/SXF/TSR/cheapestPerDay?market=de-de&outboundMonthOfDate=2017-04-01

FareFinder Image paths

https://www.ryanair.com/de/de.farefinder.json is an JSON file in which several picture paths are declared :)

Currencies

https://desktopapps.ryanair.com/bg-bg/res/currencies

Discounts

https://api.ryanair.com/discount/3/discounts

Markets

https://ryanair.com/ie/en.markets.json https://www.ryanair.com/content/ryanair.markets.json

Requires auth/session

https://desktopapps.ryanair.com/en-gb/checkin/checkinpassengers

@guillemonzo

This comment has been minimized.

Copy link

guillemonzo commented Nov 6, 2016

Hello!
I'm trying to discover some Ryanair API endpoints also. The website (and probably mobile apps too) uses a subdomain that may use the API tranparently: https://desktopapps.ryanair.com. Here are some URLs I've found:

  • Airports: https://desktopapps.ryanair.com/en-gb/res/stations
  • Scheduled flights: https://desktopapps.ryanair.com/Calendar?Destination=EIN&IsTwoWay=false&Months=16&Origin=CFU&StartDate=2016-11-06
  • Availability and fares info: https://desktopapps.ryanair.com/en-gb/availability?ADT=1&CHD=0&DateIn=2016-11-24&DateOut=2016-11-10&Destination=STN&FlexDaysIn=6&FlexDaysOut=6&INF=0&Origin=VLC&RoundTrip=true&TEEN=0

And this ones are for looking for one way or return fares with or without destination:

  • One way: https://api.ryanair.com/farefinder/3/oneWayFares?&departureAirportIataCode=BCN&language=en&limit=16&market=en-gb&offset=0&outboundDepartureDateFrom=2016-10-11&outboundDepartureDateTo=2017-10-28&priceValueTo=150
  • Return: https://api.ryanair.com/farefinder/3/roundTripFares?&arrivalAirportIataCode=STN&departureAirportIataCode=VLC&inboundDepartureDateFrom=2016-10-11&inboundDepartureDateTo=2017-10-28&language=es&limit=16&market=es-es&offset=0&outboundDepartureDateFrom=2016-10-11&outboundDepartureDateTo=2017-10-28&priceValueTo=150

Can we share this Gist? Bye ;)

@vool

This comment has been minimized.

Copy link
Owner Author

vool commented Nov 15, 2016

Hey Guillermo,

That's great ! I have added the endpoints you listed
Sure share the gist as you wish, might be of help to someone :)

Keith

@sukram42

This comment has been minimized.

Copy link

sukram42 commented Mar 2, 2017

Hey,

I don't know if it helps, but https://www.ryanair.com/de/de.farefinder.json is an JSON file in which several picture paths are declared :)

EDIT:

And here some links:

Cheapest per day as well as availability:

https://api.ryanair.com/farefinder/3/oneWayFares/SXF/TSR/cheapestPerDay?market=de-de&outboundMonthOfDate=2017-04-01

Theres an "simular" endpoint, but I don't know its function:

https://api.ryanair.com/farefinder/3/oneWayFares/SXF/TSR/cheapestPerDay?market=de-de&outboundMonthOfDate=2017-04-01)

This Endpoint gives you the session ID or something like that
https://ryanair.tt.omtrdc.net/m2/ryanair/mbox/json?

@caltv

This comment has been minimized.

Copy link

caltv commented Mar 15, 2017

This is great, does Ryanair intend this to be used by developers ? I don't see it documented anywhere by them

@publicocean0

This comment has been minimized.

Copy link

publicocean0 commented Mar 22, 2017

There is a limitation about calls for domain ? I didn't find docs about it

@ashrocket

This comment has been minimized.

Copy link

ashrocket commented Apr 20, 2017

https://www.ryanair.com/us/en/corporate/terms-of-use Look for Screen Scraping. Expressly prohibited. I would not build a commercial app based on being able to hack their endpoints. They can and will block you, and if you figure out how to avoid being blocked they eventually sue you.

@vpiskunov

This comment has been minimized.

Copy link

vpiskunov commented Apr 21, 2017

They have sued other companies for screen-scraping with further resale of tickets - to avoid such issues, you can use the data to find tickets, but send your users to book the actual tickets either to RyanAir.com or any other booking website which has an agreement with them. E.g. you can send them to a referral link thru Skyscanner for Business, and still earn a commission.

@jaydeepvirani

This comment has been minimized.

Copy link

jaydeepvirani commented Jun 24, 2017

@ikmcs it's works Thanks

@caltv

This comment has been minimized.

Copy link

caltv commented Jun 27, 2017

I get 404s after about 10 minutes of hitting the API every few seconds, anyone found a way around this?

@jaydeepvirani

This comment has been minimized.

Copy link

jaydeepvirani commented Jul 26, 2017

@caltv same issue is here. Do let me know if you guys have solution for it.

@vool

This comment has been minimized.

Copy link
Owner Author

vool commented Aug 13, 2017

Just spotted these comments now, I don't seen to get notifications on gists

I have updated the doc with updates !

@caltv re usage
I was at a talk where a guy from Ryanair tech said they had an 'open api', I followed up and he said

They are public for approved access...

so maybe contact them, you might be surprised !

https://twitter.com/voolist/status/663113711813582850

@vool

This comment has been minimized.

Copy link
Owner Author

vool commented Aug 13, 2017

@sukram42

That session id seems to be related to Adobe marketing

@vool

This comment has been minimized.

Copy link
Owner Author

vool commented Aug 13, 2017

@DennyWeinberg wow, handy app !

@stunningpixels

This comment has been minimized.

Copy link

stunningpixels commented Aug 27, 2017

Wondering if anyone has hit any usage limits? Particularly interested in airfare endpoints

@patrykgorniak

This comment has been minimized.

Copy link

patrykgorniak commented Aug 29, 2017

Hi,
I also get 404 after couple of minutes. Have you found solution for that ?

@mariusaustr

This comment has been minimized.

Copy link

mariusaustr commented Sep 28, 2017

The same 404 after reuests made for a long time. Maybe there are some free proxy apis available?

@vool

This comment has been minimized.

Copy link
Owner Author

vool commented Oct 20, 2017

Ryanair now have a developer portal with API documentation

http://developer.ryanair.com/

@sarotnem

This comment has been minimized.

Copy link

sarotnem commented Oct 26, 2017

@vool Have they activated your account? I'm waiting for an activation for 3 days now.

@markusenglund

This comment has been minimized.

Copy link

markusenglund commented Nov 9, 2017

Has anyone been able to use the new api? I get the same issue as sarotnem - account doesn't get activated.

@mikface

This comment has been minimized.

Copy link

mikface commented Nov 23, 2017

Same here, waiting for activation for 2 weeks...

@fatters

This comment has been minimized.

Copy link

fatters commented Dec 6, 2017

Same here, been waiting a good month or so now. Guessing they're not just accepting anyone?

@sarotnem

This comment has been minimized.

Copy link

sarotnem commented Dec 10, 2017

Any contact information of their IT would be appreciated.

@caltv

This comment has been minimized.

Copy link

caltv commented Dec 12, 2017

The public APi seems to have stopped working, e.g

https://desktopapps.ryanair.com/en-gb/availability?DateIn=2018-01-24&DateOut=2018-01-25&Destination=STN&FlexDaysIn=6&FlexDaysOut=6&Origin=DUB&RoundTrip=true&ToUs=AGREED

returns

{"message":"No HTTP resource was found that matches the request URI."}

@Lamberthassel

This comment has been minimized.

Copy link

Lamberthassel commented Dec 12, 2017

Unfortunately it looks like somewhat an anti-scraping thing. API stops working after few dozens requests been made in a short period of time.

It's really strange since the official API at http://developer.ryanair.com/ is not available (are there any lucky guys with approved accounts here)?
Is there any other Ryanair API service that allows to get the exact departure and arrival time?

@sarotnem

This comment has been minimized.

@caltv

This comment has been minimized.

Copy link

caltv commented Dec 13, 2017

Strangely the API only returns results for me in Chrome Incognito mode

@lonerunner

This comment has been minimized.

Copy link

lonerunner commented Dec 15, 2017

It looks it's the same for everyone else and it looks like their API is now much more restrictive. It hasn't worked on link i tested for few days, than after few days pause i tested again and it worked on 2 links, after that, banhammer again. But aparently it looks like it's cookies thing since when i tried in Incognito like @caltv it worked, but when i tried in normal it didn't worked. So i went on and deleted all cookies and cache history in my regular Chrome window browser and @sarotnem link started working again and ryanair started showing me prices.

@tibulca

This comment has been minimized.

Copy link

tibulca commented Jan 20, 2018

Using these headers fixed the problem (404 No HTTP resource was found that matches the request URI) for me:
{ "Cookie", "RYANSESSION=WjU-xwolAvIAAHoTKwUAAAAw" }, { "Accept-Language", "en-US,en;q=0.9" }, { "Accept", "*/*" }, { "Accept-Encoding", "gzip, deflate "}, { "user-agent", "PostmanRuntime/7.1.1 "}

@CarloAl

This comment has been minimized.

Copy link

CarloAl commented Feb 24, 2018

Finally got an email from ryanair (after a couple of months), with a licence agreement to sing and send back. Not what I was expecting :)

@Lamberthassel

This comment has been minimized.

Copy link

Lamberthassel commented Feb 26, 2018

@CarloAl same. Still better than nothing. I've already tested Ryanair's new API and it worked quite nice despite the fact there is maximum API request rate that makes flight scrapping quite tricky.

@ItsWendell

This comment has been minimized.

Copy link

ItsWendell commented Mar 6, 2018

@tibulca Do you do this everytime you hit the No HTTP Resource error? You just refresh the session?

@siddhario

This comment has been minimized.

Copy link

siddhario commented Mar 25, 2018

Is anyone making use of this new API? @CarloAl What is the exact limitation for request rate?

@adrianoBP

This comment has been minimized.

Copy link

adrianoBP commented Apr 25, 2018

@siddhario the limit is 200 requests per minute but it is hardly broken; I was making 1 request every 15 secs but it blocked me anyway...

@JacekDuszenko

This comment has been minimized.

Copy link

JacekDuszenko commented May 19, 2018

Well, Schedules API is currently not working.
https://api.ryanair.com/timetable/3/schedules/DUB/LGW/years/2016/months/11

Too bad, especially if someone has a recruitment task connected to this api 👍

@aenonGit

This comment has been minimized.

Copy link

aenonGit commented Jun 19, 2018

I've been able to get the account activated, but the api calls quota limit exceeds after just a dozen calls. Anyone having any luck?

@DennyWeinberg

This comment has been minimized.

Copy link

DennyWeinberg commented Sep 14, 2018

My App is still pending and so my API key doesnt work yet. I hate how Ryanair is handling this. Im trying to contact them for a year and I never get answers to my questions.

Do you know if this (limited) API access can be used for public projects? Maybe even for commercial?

EDIT: My Key/App is now approved. But I have no idea if it's legal to publish an app using this API+Key.

@CarloAl, @Lamberthassel: Where to request a letter like that? Does this make any difference? Is it legal to publish an App?

@licarth

This comment has been minimized.

Copy link

licarth commented Sep 22, 2018

I tried to create a developer accound and did not even receive the confirmation email (looked at the spam).

@julienfortin

This comment has been minimized.

Copy link

julienfortin commented Sep 30, 2018

@licarth I just did the same thing, in SPAM i got the following email:

Thank you for registering at Ryanair for Developers. Your application for an
account is currently pending approval. Once it has been approved, you will
receive another e-mail containing information about how to log in, set your
password, and other details.


--  Ryanair for Developers team
@mkrawetko

This comment has been minimized.

Copy link

mkrawetko commented Oct 17, 2018

I've also registered today. Waiting for activation. :D

@frontend-london

This comment has been minimized.

Copy link

frontend-london commented Oct 18, 2018

I've also registered on Ryanair API website, they made sure that nobody will contact them - there is no email or anything, link to facebook is broken etc. After creating account I didn't receive any email and I couldn't login; few hours later I found out that they activated my account but my apps are still pending.

@dtourassis

This comment has been minimized.

Copy link

dtourassis commented Nov 3, 2018

It's been more that a month and my app is still pending...I guess it's a dead-end.

@DennyWeinberg

This comment has been minimized.

Copy link

DennyWeinberg commented Nov 14, 2018

Just use their API, your apps will be approved automatically. But you all should forget Ryanair. They will send you a damn license agreement with crazy conditions to sign. (Got a contact person after months of try and error). I was scared and stopped my (personal non profit) Android App project. F* them. Seriously, they just don't want to make partnerships... It will not make you happy.

@matkoniecz

This comment has been minimized.

Copy link

matkoniecz commented Nov 23, 2018

"crazy conditions" can you be a bit more specific? I wonder is it really something crazy and a good reason to avoid Ryanair or is it a case of "I get 404s after about 10 minutes of hitting the API every few seconds, anyone found a way around this?".

@maximdyatel

This comment has been minimized.

Copy link

maximdyatel commented Feb 12, 2019

Having problems with API now. Farefinder requests don't work. All answers looks like:
{"total":0,"arrivalAirportCategories":null,"fares":[],"size":0}

Tried with apikey to apigateway.ryanair.com, and also to api.ryanair.com - same problems.

Everything was good week ago. They changed API...?

p.s. f.e. https://api.ryanair.com/farefinder/3/oneWayFares?&departureAirportIataCode=BCN&language=en&limit=16&market=en-gb&offset=0&outboundDepartureDateFrom=2019-02-11&outboundDepartureDateTo=2019-10-28&priceValueTo=150

@maximdyatel

This comment has been minimized.

Copy link

maximdyatel commented Feb 13, 2019

thanks!

@mtrovo

This comment has been minimized.

Copy link

mtrovo commented Feb 13, 2019

@maximdyatel they changed the service to the following endpoint https://services-api.ryanair.com/farfnd/3/oneWayFares

@vool

This comment has been minimized.

Copy link
Owner Author

vool commented Feb 19, 2019

Have updated those farefinder endpoints, thanks @mtrovo @tkon99 !

@raczboldizsar

This comment has been minimized.

Copy link

raczboldizsar commented Mar 3, 2019

Hi, this is awesome. Do you know about API endpoints from other airlines? For example easyJet?

@maximdyatel

This comment has been minimized.

Copy link

maximdyatel commented Mar 4, 2019

  1. Found new feature in farfnd. Its possible to get low fares for ARRIVAL airport, without departure airport.

F.e. this request returns low fares for arrival to KBP
https://services-api.ryanair.com/farfnd/3/oneWayFares?&arrivalAirportIataCode=KBP&language=en&limit=16&market=en-gb&offset=0&outboundDepartureDateFrom=2019-02-11&outboundDepartureDateTo=2019-10-28&priceValueTo=20

2 I've finally got apikey from ryanair! And can make now this request without blocking and receiving 404 mistake
https://apigateway.ryanair.com/pub/v1/reservations/Availability?ADT=1&CHD=1&DateIn=2019-08-05&DateOut=2019-08-02&Destination=BCN&FlexDaysIn=6&FlexDaysout=6&Origin=KBP&RoundTrip=true&ToUs=AGREED&apikey=blabla

Btw in license agreement said that you can send maximum 10 requests per minute, or you would be blocked.

@maximdyatel

This comment has been minimized.

Copy link

maximdyatel commented Mar 4, 2019

Hi, this is awesome. Do you know about API endpoints from other airlines? For example easyJet?

Easyjet, but its very simple and scant
https://github.com/opayen/easyjet-api

I also interested in Wizzair. But I cant find working examples.

@alexcagliari

This comment has been minimized.

Copy link

alexcagliari commented Mar 6, 2019

@mtrovo @tkon99 where did you read about the entrypoint changing? in https://developer.ryanair.com/farefinder-api/apis i actually read "http://apigateway.ryanair.com/pub/v1/farefinder/3/oneWayFares/similar" but using the documente api's i get a 404.

@alexcagliari

This comment has been minimized.

Copy link

alexcagliari commented Mar 7, 2019

@mtrovo @tkon99 where did you read about the entrypoint changing? in https://developer.ryanair.com/farefinder-api/apis i actually read "http://apigateway.ryanair.com/pub/v1/farefinder/3/oneWayFares/similar" but using the documente api's i get a 404.

You can use this for farefinder
https://services-api.ryanair.com/farfnd/3/oneWayFares?&arrivalAirportIataCode=KBP&language=en&limit=16&market=en-gb&offset=0&outboundDepartureDateFrom=2019-02-11&outboundDepartureDateTo=2019-10-28&priceValueTo=20

Yes, i read it before. But what i would like to know is: how do you know about the entrypoint change? is there an official ryanair channel for these communications? in the developer site they have not updated anything ..

@maximdyatel

This comment has been minimized.

Copy link

maximdyatel commented Mar 12, 2019

Yes, i read it before. But what i would like to know is: how do you know about the entrypoint change? is there an official ryanair channel for these communications? in the developer site they have not updated anything ..

yeah, documentation is too old.

Do you manage to make requests to timetable? I have 404
https://apigateway.ryanair.com/pub/v1/timetable/3/schedules/KBP/VIE/years/2018/months/5?apikey={apikey}

@alexcagliari

This comment has been minimized.

Copy link

alexcagliari commented Mar 14, 2019

Any solution for timetable @mtrovo @tkon99 ?

@alexcagliari

This comment has been minimized.

@maximdyatel

This comment has been minimized.

Copy link

maximdyatel commented Mar 15, 2019

@alexcagliari

This comment has been minimized.

Copy link

alexcagliari commented Mar 20, 2019

@maximdyatel @vool @mtrovo @tkon99
Do you find any solution for availability api? I'm getting crazy..I'm using the https://desktopapps.ryanair.com entypoint but every time I get I always get a 404 after a couple of requests...Obviously I don't know their rate limit ... Do you have a reliable solution to know the price of a flight?

@alexcagliari

This comment has been minimized.

Copy link

alexcagliari commented Mar 20, 2019

#Data discrepancy between oneWayFares and website
discrepancy

Why i have this price difference?

@maximdyatel

This comment has been minimized.

Copy link

maximdyatel commented Mar 20, 2019

#Data discrepancy between oneWayFares and website
discrepancy

Why i have this price difference?

Yeah, its happens sometimes. Very often for Spain-Spain flights. After farefinder I always use availability request.

@maximdyatel

This comment has been minimized.

Copy link

maximdyatel commented Mar 20, 2019

@maximdyatel @vool @mtrovo @tkon99
Do you find any solution for availability api? I'm getting crazy..I'm using the https://desktopapps.ryanair.com entypoint but every time I get I always get a 404 after a couple of requests...Obviously I don't know their rate limit ... Do you have a reliable solution to know the price of a flight?

I have solution. 1 request / 15-20 seconds...
I use also https://apigateway.ryanair.com with apikey - 1 request / 10-20 seconds.

@alexcagliari

This comment has been minimized.

Copy link

alexcagliari commented Mar 20, 2019

#Data discrepancy between oneWayFares and website
discrepancy
Why i have this price difference?

Yeah, its happens sometimes. Very often for Spain-Spain flights. After farefinder I always use availability request.

How do you use availability request? I'm getting crazy..I'm using the https://desktopapps.ryanair.com entypoint but every time I get I always get a 404 after a couple of requests...Obviously I don't know their rate limit ... Do you have a reliable solution to know the price of a flight?

@maximdyatel

This comment has been minimized.

Copy link

maximdyatel commented Mar 20, 2019

Guys, use it https://developer.ryanair.com/content/using-reservations-api
1 request per 10-20 seconds, otherwise you would be blocked.

You can alternately use https://desktopapps.ryanair.com without apikey, than https://apigateway.ryanair.com with apikey.

@maximdyatel

This comment has been minimized.

Copy link

maximdyatel commented Mar 20, 2019

alexcagliari, do you know how to extract data from other airlines - wizzair, easyjet etc?

@alexcagliari

This comment has been minimized.

Copy link

alexcagliari commented Mar 20, 2019

Guys, use it https://developer.ryanair.com/content/using-reservations-api
1 request per 10-20 seconds, otherwise you would be blocked.

You can alternately use https://desktopapps.ryanair.com without apikey, than https://apigateway.ryanair.com with apikey.

Where did you read about this "1 request per 10-20 seconds, otherwise you would be blocked" ?

alexcagliari, do you know how to extract data from other airlines - wizzair, easyjet etc?

No..

@maximdyatel

This comment has been minimized.

Copy link

maximdyatel commented Mar 20, 2019

Where did you read about this "1 request per 10-20 seconds, otherwise you would be blocked" ?

By experience.

In license agreement said that you can send maximum 10 requests per minute, or you would be blocked. But I tried few times to send requests every 8-10 seconds - they blocked me for few hours.

@alexcagliari

This comment has been minimized.

Copy link

alexcagliari commented Mar 22, 2019

Does anyone of you knows entrypoint for VUELING ?

@maximdyatel

This comment has been minimized.

Copy link

maximdyatel commented Mar 25, 2019

https://www.vueling.com/Base/BaseProxy/GetPricesMonth/BCN/PRG/5/2019/false/RoundTrip/true?currency=EUR

Great, thanks!

Is it possible to get all flights for one day with time of departing and prices?

@alexcagliari

This comment has been minimized.

Copy link

alexcagliari commented Mar 25, 2019

@mikface do you know an entrypoint in which i can specify adult,children, etc ?

@mikface

This comment has been minimized.

Copy link

mikface commented Mar 26, 2019

@maximdyatel I guess it is, but as I briefly inspected their system, it's some cookie and headers complicated thing.

@alexcagliari Nope, sorry, just found this, as I mentioned above, the endpoint for day to day prices is way more complicated.

For both: whenever I search for endpoints, I go to website, and try to find and replicate requests sent as I searching through the site, in developers console in chrome/opera (tab Network).

@alexcaglairi

This comment has been minimized.

Copy link

alexcaglairi commented Apr 9, 2019

apigateway.ryanair.com has a expired ssl cert....... :(

@alexcaglairi

This comment has been minimized.

Copy link

alexcaglairi commented Jun 5, 2019

Does anyone of yu knows an entrypoint to obtains flight number (i.e. FR 8726) from a given route (i.e. BRI -> CAG) ?

@maximdyatel @mikface

@maximdyatel

This comment has been minimized.

Copy link

maximdyatel commented Jun 11, 2019

Does anyone of yu knows an entrypoint to obtains flight number (i.e. FR 8726) from a given route (i.e. BRI -> CAG) ?

Fields flightKey and flightNumber in availability request. Why not?

https://desktopapps.ryanair.com/en-gb/availability?ADT=1&CHD=0&DateIn=2019-11-24&DateOut=2019-11-10&Destination=BCN&FlexDaysIn=6&FlexDaysOut=6&INF=0&Origin=KBP&RoundTrip=true&TEEN=0&ToUs=AGREED

@SYTrofimov

This comment has been minimized.

Copy link

SYTrofimov commented Jul 22, 2019

Since a couple of days http://apigateway.ryanair.com/pub/v1/core/3/routes/EIN/iataCodes and all other 'core' endpoints return 404 Not Found for me.

The https://apigateway.ryanair.com/pub/v1/reservations/Availability endpoint with the same apikey still works.

Does anyone know if the core endpoints may have moved somewhere?

Thanks!

@alexcaglairi

This comment has been minimized.

Copy link

alexcaglairi commented Aug 22, 2019

http://apigateway.ryanair.com/pub/v1/core/3/airports?apikey=xxxxxxxx does not work :(

Does anyoine of you know a valid entrypoint to get all airports? @maximdyatel @mtrovo @tkon99

@alexcaglairi

This comment has been minimized.

Copy link

alexcaglairi commented Aug 22, 2019

http://apigateway.ryanair.com/pub/v1/core/3/airports?apikey= does not work :(

Does anyoine of you know a valid entrypoint to get all airports?
@maximdyatel @mtrovo @tkon99

Does anyone of yu knows an entrypoint to obtains flight number (i.e. FR 8726) from a given route (i.e. BRI -> CAG) ?

Fields flightKey and flightNumber in availability request. Why not?

https://desktopapps.ryanair.com/en-gb/availability?ADT=1&CHD=0&DateIn=2019-11-24&DateOut=2019-11-10&Destination=BCN&FlexDaysIn=6&FlexDaysOut=6&INF=0&Origin=KBP&RoundTrip=true&TEEN=0&ToUs=AGREED

@vool

This comment has been minimized.

Copy link
Owner Author

vool commented Aug 22, 2019

hey @alexcaglairi

This endpoint still works:
https://desktopapps.ryanair.com/en-gb/res/stations

http://apigateway.ryanair.com/pub/v1/core/3/airports?apikey=xxxxxxxx does not work :(

Does anyoine of you know a valid entrypoint to get all airports? @maximdyatel @mtrovo @tkon99

@alexcaglairi

This comment has been minimized.

Copy link

alexcaglairi commented Aug 22, 2019

Many thanks @vool!
Do you if it is possible to massively get all flight number( for ex FR 8726) ? I can't use the availability request for each route to have this info...

@sebaszczen

This comment has been minimized.

Copy link

sebaszczen commented Sep 4, 2019

Does this developer.ryanair.com website works? I have confirmed account but when i make request with my apikey i get 401 error

@alexcagliari

This comment has been minimized.

Copy link

alexcagliari commented Sep 4, 2019

Does this developer.ryanair.com website works? I have confirmed account but when i make request with my apikey i get 401 error

If you are trying to make calls from the ryanair portal it will fail due to CORS

@alexcagliari

This comment has been minimized.

Copy link

alexcagliari commented Sep 4, 2019

@vool @maximdyatel @tkon99
Does any of you noticed that from midnight (Italian time) the bees respond "Http / 1.1 Service Unavailable" until 5 or 6 in the morning?

@barrypearseburke

This comment has been minimized.

Copy link

barrypearseburke commented Sep 8, 2019

just applied for an api key. how long before they get back to you?

@alexcaglairi

This comment has been minimized.

Copy link

alexcaglairi commented Sep 9, 2019

just applied for an api key. how long before they get back to you?

some weeks/months....

@jgillard

This comment has been minimized.

Copy link

jgillard commented Sep 9, 2019

It’s been months since I applied and I’ve not received one yet.

@sebaszczen

This comment has been minimized.

Copy link

sebaszczen commented Sep 10, 2019

@alexcagliari when i make call from browser (its get request) 'http://apigateway.ryanair.com/pub/v1/core/3/routes?apikey=my_consumer_key' i get message that website can't be find? any advice here? is anybody here who is using now this apigateway.ryanair api?

@maximdyatel

This comment has been minimized.

Copy link

maximdyatel commented Sep 12, 2019

@alexcagliari when i make call from browser (its get request) 'http://apigateway.ryanair.com/pub/v1/core/3/routes?apikey=my_consumer_key' i get message that website can't be find? any advice here? is anybody here who is using now this apigateway.ryanair api?

Use this
services-api.ryanair.com/locate/3/routes

@maximdyatel

This comment has been minimized.

Copy link

maximdyatel commented Sep 12, 2019

Does anyone know about really working Vueling or EasyJet API? Thanks

@TDvorian

This comment has been minimized.

Copy link

TDvorian commented Sep 17, 2019

Hi guys
I recently started to get interested in the topic
If the site limits the number of requests. so why don't we collect data distributed?
We will be able to use a common base for prices, this will save resources and get the most up-to-date data
Respond if someone is interested in distributed data collection,
or someone is already collecting data and ready to share.
I have Wizz prices that I update every 12 hours, ready to share.

@tkon99

This comment has been minimized.

Copy link

tkon99 commented Sep 18, 2019

@TDvorian I was collecting daily Ryanair and Easyjet prices but abandoned the project in the end. You can get around ratelimiting entirely by using a paid (but cheap) proxy, I was using luminati at the time. I set it up to change IP's every 5 requests and to retry http errors automatically and with a new IP. The good thing is that the proxy manager does it for you and all your program needs to do is use one local http proxy. For me it cost about $5/m in the end. Another thing I did was that I saved all the "other currencies" (other than EUR) in the table as well as an estimate in EUR to allow easier (and much faster) search results. Maybe that's useful for you too, if you're not already doing that.

Anyway, it would be great to have a joint database, since, as you said, it saves resources. I have another idea that uses price data and I could also use it for academic purposes as I'm taking some data courses right now. I hope there's someone who has Vueling/Eurowings/Transavia data as well.

@maximdyatel

This comment has been minimized.

Copy link

maximdyatel commented Sep 18, 2019

@tkon99
What API you used for collecting Easyjet prices?

@tkon99

This comment has been minimized.

Copy link

tkon99 commented Sep 18, 2019

The same one as the website, you can change the date range they use to get the whole year for a specific route at once iirc

@alexcaglairi

This comment has been minimized.

Copy link

alexcaglairi commented Sep 18, 2019

@TDvorian I was collecting daily Ryanair and Easyjet prices but abandoned the project in the end. You can get around ratelimiting entirely by using a paid (but cheap) proxy, I was using luminati at the time. I set it up to change IP's every 5 requests and to retry http errors automatically and with a new IP. The good thing is that the proxy manager does it for you and all your program needs to do is use one local http proxy. For me it cost about $5/m in the end. Another thing I did was that I saved all the "other currencies" (other than EUR) in the table as well as an estimate in EUR to allow easier (and much faster) search results. Maybe that's useful for you too, if you're not already doing that.

Anyway, it would be great to have a joint database, since, as you said, it saves resources. I have another idea that uses price data and I could also use it for academic purposes as I'm taking some data courses right now. I hope there's someone who has Vueling/Eurowings/Transavia data as well.

I spoke with a Luminati employee this morning and now the minimum price is about 500 usd/month...Do you know a cheap service that we can use to override api limit?

@tkon99

This comment has been minimized.

Copy link

tkon99 commented Sep 18, 2019

Are you sure? Maybe for residential IP's yes but for shared ones definitely not. See: https://luminati.io/pricing
I was using: Datacenter Proxies - Pay per GB

@alexcagliari

This comment has been minimized.

Copy link

alexcagliari commented Sep 18, 2019

@tkon99

This comment has been minimized.

Copy link

tkon99 commented Sep 18, 2019

Unlimited, if you pay per GB you can use as many as you want.
Looking at alternative the luminati $0.50 per GB is really unbeatable, scraping services are too small for this usecase (tens of millions of requests per month) so only big rotating proxies will work. I found https://www.proxyrotator.com/ which seems good (it's a fixed price at least) and since this workload doesn't have to be x-threaded (because we can just crawl prices during the entire day) their cheapest plan seems a good option.

@alexcagliari

This comment has been minimized.

Copy link

alexcagliari commented Sep 18, 2019

@maximdyatel

This comment has been minimized.

Copy link

maximdyatel commented Sep 19, 2019

The same one as the website, you can change the date range they use to get the whole year for a specific route at once iirc

Could you be more specific? Thank you

@psirens

This comment has been minimized.

Copy link

psirens commented Sep 21, 2019

My solution was a cron job once per minute. There are approx 2300 easyjet route urls and 4700 ryanair. Each time it downloads one easyjet route, and 6 months of a ryanair route. So route data can be up to three days behind but good enough for my purposes, and reliable. Initially I collected every route within 24hrs but requests started being dropped due to rate-limiting causing issues. The database has reached 400mb but I guess I have never looked to remove historic data.

@alexcaglairi

This comment has been minimized.

Copy link

alexcaglairi commented Oct 21, 2019

Hi guys,
i have a data discrepancy problem between these 2 entrypoints:

  1. https://www.ryanair.com/api/farfnd/3/oneWayFares/CAG/BRI/availabilities
  2. https://www.ryanair.com/api/timtbl/3/schedules/BRI/CAG/years/2020/months/03

If you see the results from the first API yu can see that the flights, in this case, are scheduled until October 2020.
If instead the second entrypoint is invoked, the service will run until month 03 (March) ... from month 04 onwards he returns "{" code ":" ResourceNotFound "," message ":" Resource not found "}".
Do any of you know an entrypoint from which you can get month-to-month schedules updated? I necessarily need the flight number and the scheduled time..
@vool @maximdyatel @mtrovo @tkon99

@caltv

This comment has been minimized.

Copy link

caltv commented Nov 12, 2019

Seeing some weird behaviour from availability over the last week, it switches between a higher and lower fare every few minutes but the website never changes

https://desktopapps.ryanair.com/en-gb/availability?RoundTrip=false&DateOut=2020-03-02&Destination=DUB&Origin=BCN&ToUs=AGREED

e.g endpoint shows "amount":25.570000000

website shows

Screenshot 2019-11-12 at 08 37 47

@caltv

This comment has been minimized.

Copy link

caltv commented Nov 13, 2019

And today the fare on the website switched to the lower fare that the API was alternating between last week...

@wesleygas

This comment has been minimized.

Copy link

wesleygas commented Jan 7, 2020

It seems that almost all endpoints except for schedules, availability and farefinder are returning 404/401. Months passed since I've created my account and I still haven't heard from them.

I'm especially interested in the Airport data, does anyone has any lead about how to get it?

@barrypearseburke

This comment has been minimized.

Copy link

barrypearseburke commented Feb 1, 2020

Hi Guys
Ive been using
https://www.ryanair.com/api/farfnd/3/oneWayFares/ORIGIN_AIRPORT_CODE/DEST_AIRPORT_CODE/cheapestPerDay?outboundDateFrom=2020-02-01&outboundDateTo=2021-02-01
to give me the cheapest rates per day.
The api is seem cheaper for a lot of flights compared to the website from what i can see. Anybody else use this and get this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.