I took the itinerary id, origin and destination sky ids, as well as their entity ids from the flight search API and replaced the fields in the URL but I always get “page not found”, how can I get this to work?
Join in the discussion - add comment below:
Olá, com que faço para consegui api para eu coloca no meu projeto???
Hello,
We need to check with this senario. Please allow us some time.
Thanks.
Hi,
that gives the URL for a single flight, that’s great, but is there a way to get a working link for an itinerary, the page that contains both the outgoing and return flight?
i.e https://www.skyscanner.co.il/transport/flights/ltn/nyca/240820/240830/config/13771-2408201520–32356,-30667-1-12712-2408202215|12712-2408300030–30667,-32356-1-13771-2408301740?adultsv2=1&cabinclass=economy&childrenv2=&inboundaltsenabled=false&outboundaltsenabled=false&preferdirects=false&ref=home&rtn=1
Hello,
Do you need the URL of the Sksycanner website for the flight you’ve chosen? If yes, you can generate in the format below.
https://www.skyscanner.net/transport/flights/SOURCE_CODE/DESTINATION_CODE/DATE(YYMMDD)/config/ITINERARIES_ID
EXAMPLE
https://www.skyscanner.net/transport/flights/bom/del/240330/config/10075-2403300930–32213-0-10957-2403301140
Otherwise, we already provide the partner URL in the api/v1/flights/getFlightDetails endpoint.
Let me know if this help you.
Thanks.