Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Skyscanner API and website data discrepancy

Tags:

skyscanner

The Skyscanner API gives different results than Skyscanner website.

For the flight from any airport in Warsaw to any airport in Wrocław, if I use the API the cheapest option is 303.99 zł.

enter image description here

enter image description here

This flight is operated by LOT (LO). Other available flights are operated either by LOT (LO) or by Lufthansa (LH).

On the other hand, if I make the same query using Skyscanner website, the cheapest flight costs 42 zł and is operated by Ryanair (FR).

enter image description here

link: https://www.skyscanner.net/transport/flights/wars/wro/161111/161112/airfares-from-warsaw-to-wroclaw-in-november-2016.html?adults=1&children=0&adultsv2=1&childrenv2=&infants=0&cabinclass=economy&rtn=1&preferdirects=false&outboundaltsenabled=false&inboundaltsenabled=false&ref=home#results

However, if I uncheck Ryanair at the left hand side panel, I receive very similar results to those from the API.

enter image description here

Link: https://www.skyscanner.net/transport/flights/wars/wro/161111/161112/airfares-from-warsaw-to-wroclaw-in-november-2016.html?adults=1&children=0&adultsv2=1&childrenv2=&infants=0&cabinclass=economy&rtn=1&preferdirects=false&outboundaltsenabled=false&inboundaltsenabled=false&ref=home#results

What is more, if I enter the API test as an unlogged user, I can again retrieve the Ryanair flight. The test is available at: http://business.skyscanner.net/portal/en-GB/Documentation/FlightsLivePricingQuickStart

Images:

enter image description here enter image description here

Can you reproduce this behavior? Is there something I am doing wrong about the API? How can I retrieve Ryanair’s prices programmatically?

like image 362
mlu Avatar asked Oct 08 '16 22:10

mlu


People also ask

How does Skyscanner work API?

The Skyscanner API lets you search for flights & access flight prices from pricing index of Skyscanner and request live quotes directly from travel agencies. The Skyscanner APIs integrate you directly to all the data you need to develop a creative website or app.

Is Skyscanner an API?

And that's what we found in the partnership with Skyscanner, a very robust API solution capable of meeting all our development needs, as well as an attentive and highly professional team, supporting and helping BuscaVoo's growth in Brazil and Latin America. “Skyscanner's Flights API was beyond our expectations.

Is Skyscanner API free?

Skyscanner is a large metasearch engine that provides a set of info APIs totally free. This means you can source their data, but you won't be able to set booking on your website.


1 Answers

I don't think you're doing anything wrong, I've the same problem. In fact, I've taken the example apiKey from the test site and copied it to my code (for testing), and it shows Ryanair flights. But not with my apiKey. It appears that they are deliberately excluding Ryanair from the regular api results. I've contacted Skyscanner for Business support weeks ago, and haven't received a reply.

like image 109
Patrick Timmons Avatar answered Jan 03 '23 00:01

Patrick Timmons