Search Flight Prices API

Check the fares for any flight you are looking for with this reliable API. Join other travel agencies that trust this service.

About the API:

Be able to retrieve the best prices for the flights that you want. This API is ideal to find the cheapest flights for the given Airports. 

 

What this API receives and what your API provides (input/output)?

This API will receive the departure and arrival airports' IATA codes, the date of the flight, and the number of passengers. You will be receiving the latest sales for the named flights, with additional information like Airline Company, flight duration, and if it has 1 or more stopovers. 

 

What are the most common uses cases of this API?

Get the best sales for any flight 
 If you want to keep track of the best prices for the flights you want, this is the API for you. 
 
Get additional information about the flights

Retrieve complementary information for your flight's page. Get flight duration, stopovers, and which Airplane company is providing the service. 

 

Are there any limitations with your plans?

Besides the number of API calls per month:

  • Free plan: 10 requests per minute. 
  • Paid plans: 60 requests per minute. 

API Documentation

Endpoints


This API endpoint offers the functionality to retrieve, monitor, and explore a wide range of flight options. It allows you to search for flights between specified origin and destination, including pricing details. The API further supports the application of filters and provides the ability to sort results according to your preferences.



                                                                            
GET https://zylalabs.com/api/173/search+flight+prices+api/195/get+prices
                                                                            
                                                                        

Get Prices - Endpoint Features

Object Description
originSkyId [Required] Extract the originSkyId code from the Get Airports endpoint.
destinationSkyId [Required] Retrieve the destinationSkyId code from the Get Airports endpoint.
originEntityId [Required] The originEntityId code is attainable from the Get Airports endpoint.
destinationEntityId [Required] The destinationEntityId code is retrievable from the Get Airports endpoint
date [Required] Date of departure or travel. Format: YYYY-MM-DD.
returnDate [Optional] Date of return. Format: YYYY-MM-DD
adults [Optional] Number of adults (aged 18 and over) Default value: 1.
cabinClass [Optional] Possible values: best, price_high, fastest, outbound_take_off_time, outbound_landing_time, return_take_off_time, return_landing_time
currency [Optional] Desired currency. For example USD. Can be obtained from the endpoint Get Countries
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"itineraries":{"buckets":[{"id":"Best","name":"Best","items":[{"id":"13554-2209211735--32332-1-9828-2209212205","price":{"raw":105,"formatted":"$105"},"legs":[{"id":"13554-2209211735--32332-1-9828-2209212205","origin":{"id":"LHR","name":"London Heathrow","displayCode":"LHR","city":"London","isHighlighted":false},"destination":{"id":"BER","name":"Berlin Brandenburg","displayCode":"BER","city":"Berlin","isHighlighted":false},"durationInMinutes":210,"stopCount":1,"isSmallestStops":true,"departure":"2022-09-21T17:35:00","arrival":"2022-09-21T22:05:00","timeDeltaInDays":0,"carriers":{"marketing":[{"id":-32332,"logoUrl":"https://logos.skyscnr.com/images/airlines/favicon/EW.png","name":"Eurowings"}],"operationType":"fully_operated"},"segments":[{"id":"13554-11165-2209211735-2209212000--32332","origin":{"flightPlaceId":"LHR","parent":{"flightPlaceId":"LOND","name":"London","type":"City"},"name":"London Heathrow","type":"Airport"},"destination":{"flightPlaceId":"DUS","parent":{"flightPlaceId":"DUSS","name":"Dusseldorf","type":"City"},"name":"Dusseldorf International","type":"Airport"},"departure":"2022-09-21T17:35:00","arrival":"2022-09-21T20:00:00","durationInMinutes":85,"flightNumber":"9465","marketingCarrier":{"id":-32332,"name":"Eurowings","alternateId":"EW","allianceId":0},"operatingCarrier":{"id":-32332,"name":"Eurowings","alternateId":"EW","allianceId":0}},{"id":"11165-9828-2209212055-2209212205--32332","origin":{"flightPlaceId":"DUS","parent":{"flightPlaceId":"DUSS","name":"Dusseldorf","type":"City"},"name":"Dusseldorf International","type":"Airport"},"destination":{"flightPlaceId":"BER","parent":{"flightPlaceId":"BERL","name":"Berlin","type":"City"},"name":"Berlin Brandenburg","type":"Airport"},"departure":"2022-09-21T20:55:00","arrival":"2022-09-21T22:05:00","durationInMinutes":70,"flightNumber":"8047","marketingCarrier":{"id":-32332,"name":"Eurowings","alternateId":"EW","allianceId":0},"operatingCarrier":{"id":-32332,"name":"Eurowings","alternateId":"EW","allianceId":0}}]}],"isSelfTransfer":false,"tags":["cheapest"],"isMashUp":false,"hasFlexibleOptions":false,"score":5.47619,"deeplink":"https://www.skyscanner.net/transport/flights/lhr/ber/220921/config/13554-2209211735--32332-1-9828-2209212205?adults=1&adultsv2=1&cabinclass=economy&children=0&childrenv2=&destinationentityid=27547053&originentityid=27544008&inboundaltsenabled=false&infants=0&outboundaltsenabled=false&preferdirects=false&ref=home&rtn=0"},{"id":"13554-2209211750--32478-1-9828-2209212210","price":{"raw":157,"formatted":"$157"},"legs":[{"id":"13554-2209211750--32478-1-9828-2209212210","origin":{"id":"LHR","name":"London Heathrow","displayCode":"LHR","city":"London","isHighlighted":false},"destination":{"id":"BER","name":"Berlin Brandenburg","displayCode":"BER","city":"Berlin","isHighlighted":false},"durationInMinutes":200,"stopCount":1,"isSmallestStops":true,"departure":"2022-09-21T17:50:00","arrival":"2022-09-21T22:10:00","timeDeltaInDays":0,"carriers":{"marketing":[{"id":-32478,"logoUrl":"https://logos.skyscnr.com/images/airlines/favicon/SN.png","name":"Brussels Airlines"}],"operationType":"fully_operated"},"segments":[{"id":"13554-10141-2209211750-2209212000--32478","origin":{"flightPlaceId":"LHR","parent":{"flightPlaceId":"LOND","name":"London","type":"City"},"name":"London Heathrow","type":"Airport"},"destination":{"flightPlaceId":"BRU","parent":{"flightPlaceId":"BRUS","name":"Brussels","type":"City"},"name":"Brussels International","type":"Airport"},"departure":"2022-09-21T17:50:00","arrival":"2022-09-21T20:00:00","durationInMinutes":70,"flightNumber":"2096","marketingCarrier":{"id":-32478,"name":"Brussels Airlines","alternateId":"SN","allianceId":-31999},"operatingCarrier":{"id":-32478,"name":"Brussels Airlines","alternateId":"SN","allianceId":-31999}},{"id":"10141-9828-2209212050-2209212210--32478","origin":{"flightPlaceId":"BRU","parent":{"flightPlaceId":"BRUS","name":"Brussels","type":"City"},"name":"Brussels International","type":"Airport"},"destination":{"flightPlaceId":"BER","parent":{"flightPlaceId":"BERL","name":"Berlin","type":"City"},"name":"Berlin Brandenburg","type":"Airport"},"departure":"2022-09-21T20:50:00","arrival":"2022-09-21T22:10:00","durationInMinutes":80,"flightNumber":"2591","marketingCarrier":{"id":-32478,"name":"Brussels Airlines","alternateId":"SN","allianceId":-31999},"operatingCarrier":{"id":-32478,"name":"Brussels Airlines","alternateId":"SN","allianceId":-31999}}]}],"isSelfTransfer":false,"tags":["shortest"],"isMashUp":false,"hasFlexibleOptions":false,"score":3.85788,"deeplink":"https://www.skyscanner.net/transport/flights/lhr/ber/220921/config/13554-2209211750--32478-1-9828-2209212210?adults=1&adultsv2=1&cabinclass=economy&children=0&childrenv2=&destinationentityid=27547053&originentityid=27544008&inboundaltsenabled=false&infants=0&outboundaltsenabled=false&preferdirects=false&ref=home&rtn=0"},{"id":"13554-2209211915--32132-1-9828-2209212335","price":{"raw":163,"formatted":"$163"},"legs":[{"id":"13554-2209211915--32132-1-9828-2209212335","origin":{"id":"LHR","name":"London Heathrow","displayCode":"LHR","city":"London","isHighlighted":false},"destination":{"id":"BER","name":"Berlin Brandenburg","displayCode":"BER","city":"Berlin","isHighlighted":false},"durationInMinutes":200,"stopCount":1,"isSmallestStops":true,"departure":"2022-09-21T19:15:00","arrival":"2022-09-21T23:35:00","timeDeltaInDays":0,"carriers":{"marketing":[{"id":-32132,"logoUrl":"https://logos.skyscnr.com/images/airlines/favicon/KL.png","name":"KLM"}],"operating":[{"id":-32131,"logoUrl":"https://logos.skyscnr.com/images/airlines/favicon/WA.png","name":"KLM Cityhopper"}],"operationType":"partially_operated"},"segments":[{"id":"13554-9451-2209211915-2209212125--32132","origin":{"flightPlaceId":"LHR","parent":{"flightPlaceId":"LOND","name":"London","type":"City"},"name":"London Heathrow","type":"Airport"},"destination":{"flightPlaceId":"AMS","parent":{"flightPlaceId":"AMST","name":"Amsterdam","type":"City"},"name":"Amsterdam","type":"Airport"},"departure":"2022-09-21T19:15:00","arrival":"2022-09-21T21:25:00","durationInMinutes":70,"flightNumber":"1030","marketingCarrier":{"id":-32132,"name":"KLM","alternateId":"KL","allianceId":-31998},"operatingCarrier":{"id":-32131,"name":"KLM Cityhopper","alternateId":"WA","allianceId":0}},{"id":"9451-9828-2209212220-2209212335--32132","origin":{"flightPlaceId":"AMS","parent":{"flightPlaceId":"AMST","name":"Amsterdam","type":"City"},"name":"Amsterdam","type":"Airport"},"destination":{"flightPlaceId":"BER","parent":{"flightPlaceId":"BERL","name":"Berlin","type":"City"},"name":"Berlin Brandenburg","type":"Airport"},"departure":"2022-09-21T22:20:00","arrival":"2022-09-21T23:35:00","durationInMinutes":75,"flightNumber":"1835","marketingCarrier":{"id":-32132,"name":"KLM","alternateId":"KL","allianceId":-31998},"operatingCarrier":{"id":-32132,"name":"KLM","alternateId":"KL","allianceId":-31998}}]}],"isSelfTransfer":false,"tags":["shortest"],"isMashUp":false,"hasFlexibleOptions":false,"score":3.70518,"deeplink":"https://www.skyscanner.net/transport/flights/lhr/ber/220921/config/13554-2209211915--32132-1-9828-2209212335?adults=1&adultsv2=1&cabinclass=economy&children=0&childrenv2=&destinationentityid=27547053&originentityid=27544008&inboundaltsenabled=false&infants=0&outboundaltsenabled=false&preferdirects=false&ref=home&rtn=0"}]},{"id":"Fastest","name":"Fastest","items":[{"id":"13554-2209211750--32478-1-9828-2209212210","price":{"raw":157,"formatted":"$157"},"legs":[{"id":"13554-2209211750--32478-1-9828-2209212210","origin":{"id":"LHR","name":"London Heathrow","displayCode":"LHR","city":"London","isHighlighted":false},"destination":{"id":"BER","name":"Berlin Brandenburg","displayCode":"BER","city":"Berlin","isHighlighted":false},"durationInMinutes":200,"stopCount":1,"isSmallestStops":true,"departure":"2022-09-21T17:50:00","arrival":"2022-09-21T22:10:00","timeDeltaInDays":0,"carriers":{"marketing":[{"id":-32478,"logoUrl":"https://logos.skyscnr.com/images/airlines/favicon/SN.png","name":"Brussels Airlines"}],"operationType":"fully_operated"},"segments":[{"id":"13554-10141-2209211750-2209212000--32478","origin":{"flightPlaceId":"LHR","parent":{"flightPlaceId":"LOND","name":"London","type":"City"},"name":"London Heathrow","type":"Airport"},"destination":{"flightPlaceId":"BRU","parent":{"flightPlaceId":"BRUS","name":"Brussels","type":"City"},"name":"Brussels International","type":"Airport"},"departure":"2022-09-21T17:50:00","arrival":"2022-09-21T20:00:00","durationInMinutes":70,"flightNumber":"2096","marketingCarrier":{"id":-32478,"name":"Brussels Airlines","alternateId":"SN","allianceId":-31999},"operatingCarrier":{"id":-32478,"name":"Brussels Airlines","alternateId":"SN","allianceId":-31999}},{"id":"10141-9828-2209212050-2209212210--32478","origin":{"flightPlaceId":"BRU","parent":{"flightPlaceId":"BRUS","name":"Brussels","type":"City"},"name":"Brussels International","type":"Airport"},"destination":{"flightPlaceId":"BER","parent":{"flightPlaceId":"BERL","name":"Berlin","type":"City"},"name":"Berlin Brandenburg","type":"Airport"},"departure":"2022-09-21T20:50:00","arrival":"2022-09-21T22:10:00","durationInMinutes":80,"flightNumber":"2591","marketingCarrier":{"id":-32478,"name":"Brussels Airlines","alternateId":"SN","allianceId":-31999},"operatingCarrier":{"id":-32478,"name":"Brussels Airlines","alternateId":"SN","allianceId":-31999}}]}],"isSelfTransfer":false,"tags":["shortest"],"isMashUp":false,"hasFlexibleOptions":false,"score":3.85788,"deeplink":"https://www.skyscanner.net/transport/flights/lhr/ber/220921/config/13554-2209211750--32478-1-9828-2209212210?adults=1&adultsv2=1&cabinclass=economy&children=0&childrenv2=&destinationentityid=27547053&originentityid=27544008&inboundaltsenabled=false&infants=0&outboundaltsenabled=false&preferdirects=false&ref=home&rtn=0"},{"id":"13554-2209211915--32132-1-9828-2209212335","price":{"raw":163,"formatted":"$163"},"legs":[{"id":"13554-2209211915--32132-1-9828-2209212335","origin":{"...
                                                                                                                                                                                                                    
                                                                                                    

Get Prices - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/173/search+flight+prices+api/195/get+prices?originSkyId=LOND&destinationSkyId=NYCA&originEntityId=27544008&destinationEntityId=27537542&date=2024-05-10' --header 'Authorization: Bearer YOUR_API_KEY' 


    

This API endpoint offers a list of countries along with essential details such as country code, market, currency title, currency code, and currency symbol.



                                                                            
GET https://zylalabs.com/api/173/search+flight+prices+api/4346/get+countries
                                                                            
                                                                        

Get Countries - Endpoint Features

Object Description
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"success":true,"data":[{"country":"Andorra","countryCode":"AD","market":"es-ES","currencyTitle":"Euro","currency":"EUR","currencySymbol":"\u20ac","site":"www.skyscanner.net"},{"country":"United Arab Emirates","countryCode":"AE","market":"en-US","currencyTitle":"United Arab Emirates Dirham","currency":"AED","currencySymbol":"AED","site":"www.skyscanner.ae"},{"country":"Afghanistan","countryCode":"AF","market":"en-GB","currencyTitle":"Afghan Afghani","currency":"AFN","currencySymbol":"AFN","site":"www.skyscanner.net"},{"country":"Antigua and Barbuda","countryCode":"AG","market":"en-GB","currencyTitle":"East Caribbean Dollar","currency":"XCD","currencySymbol":"$","site":"www.skyscanner.net"},{"country":"Anguilla","countryCode":"AI","market":"en-GB","currencyTitle":"East Caribbean Dollar","currency":"XCD","currencySymbol":"$","site":"www.skyscanner.net"},{"country":"Albania","countryCode":"AL","market":"en-GB","currencyTitle":"Albanian Lek","currency":"ALL","currencySymbol":"Lek","site":"www.skyscanner.net"},{"country":"Armenia","countryCode":"AM","market":"ru-RU","currencyTitle":"Armenian Dram","currency":"AMD","currencySymbol":"\u0564\u0580.","site":"www.skyscanner.net"},{"country":"Angola","countryCode":"AO","market":"pt-PT","currencyTitle":"Angolan Kwanza","currency":"AOA","currencySymbol":"Kz","site":"www.skyscanner.net"},{"country":"Antarctica","countryCode":"AQ","market":"en-GB","currencyTitle":"US Dollar","currency":"USD","currencySymbol":"$","site":"www.skyscanner.net"},{"country":"Argentina","countryCode":"AR","market":"es-MX","currencyTitle":"Argentine Peso","currency":"ARS","currencySymbol":"$","site":"www.espanol.skyscanner.com"},{"country":"American Samoa","countryCode":"AS","market":"en-GB","currencyTitle":"US Dollar","currency":"USD","currencySymbol":"$","site":"www.skyscanner.net"},{"country":"Austria","countryCode":"AT","market":"de-DE","currencyTitle":"Euro","currency":"EUR","currencySymbol":"\u20ac","site":"www.skyscanner.at"},{"country":"Australia","countryCode":"AU","market":"en-GB","currencyTitle":"Australian Dollar","currency":"AUD","currencySymbol":"$","site":"www.skyscanner.com.au"},{"country":"Aruba","countryCode":"AW","market":"en-GB","currencyTitle":"Aruban Florin","currency":"AWG","currencySymbol":"Afl.","site":"www.skyscanner.net"},{"country":"Azerbaijan","countryCode":"AZ","market":"en-GB","currencyTitle":"Azerbaijani Manat","currency":"AZN","currencySymbol":"\u20bc","site":"www.skyscanner.net"},{"country":"Bosnia and Herzegovina","countryCode":"BA","market":"en-GB","currencyTitle":"Bosnia-Herzegovina Convertible Mark","currency":"BAM","currencySymbol":"\u041a\u041c","site":"www.skyscanner.net"},{"country":"Barbados","countryCode":"BB","market":"en-GB","currencyTitle":"Barbadian Dollar","currency":"BBD","currencySymbol":"$","site":"www.skyscanner.net"},{"country":"Bangladesh","countryCode":"BD","market":"en-GB","currencyTitle":"Bangladeshi Taka","currency":"BDT","currencySymbol":"BDT","site":"www.skyscanner.net"},{"country":"Belgium","countryCode":"BE","market":"nl-NL","currencyTitle":"Euro","currency":"EUR","currencySymbol":"\u20ac","site":"www.skyscanner.net"},{"country":"Burkina Faso","countryCode":"BF","market":"en-GB","currencyTitle":"West African CFA Franc","currency":"XOF","currencySymbol":"F","site":"www.skyscanner.net"},{"country":"Bulgaria","countryCode":"BG","market":"bg-BG","currencyTitle":"Bulgarian Lev","currency":"BGN","currencySymbol":"\u043b\u0432.","site":"www.skyscanner.net"},{"country":"Bahrain","countryCode":"BH","market":"en-GB","currencyTitle":"Bahraini Dinar","currency":"BHD","currencySymbol":"\u062f.\u0628.\u200f","site":"www.skyscanner.net"},{"country":"Burundi","countryCode":"BI","market":"en-GB","currencyTitle":"Burundian Franc","currency":"BIF","currencySymbol":"FBu","site":"www.skyscanner.net"},{"country":"Benin","countryCode":"BJ","market":"en-GB","currencyTitle":"West African CFA Franc","currency":"XOF","currencySymbol":"F","site":"www.skyscanner.net"},{"country":"Saint Barthelemy","countryCode":"BL","market":"en-GB","currencyTitle":"Euro","currency":"EUR","currencySymbol":"\u20ac","site":"www.skyscanner.net"},{"country":"Bermuda","countryCode":"BM","market":"en-GB","currencyTitle":"Bermudan Dollar","currency":"BMD","currencySymbol":"$","site":"www.skyscanner.com"},{"country":"Brunei","countryCode":"BN","market":"en-GB","currencyTitle":"Brunei Dollar","currency":"BND","currencySymbol":"$","site":"www.skyscanner.net"},{"country":"Bolivia","countryCode":"BO","market":"es-MX","currencyTitle":"Bolivian Boliviano","currency":"BOB","currencySymbol":"Bs","site":"www.espanol.skyscanner.com"},{"country":"Caribbean Netherlands","countryCode":"BQ","market":"en-GB","currencyTitle":"US Dollar","currency":"USD","currencySymbol":"$","site":"www.skyscanner.net"},{"country":"Brazil","countryCode":"BR","market":"pt-BR","currencyTitle":"Brazilian Real","currency":"BRL","currencySymbol":"R$","site":"www.skyscanner.com.br"},{"country":"Bahamas","countryCode":"BS","market":"en-GB","currencyTitle":"Bahamian Dollar","currency":"BSD","currencySymbol":"$","site":"www.skyscanner.net"},{"country":"Bhutan","countryCode":"BT","market":"en-GB","currencyTitle":"Bhutanese Ngultrum","currency":"BTN","currencySymbol":"Nu.","site":"www.skyscanner.net"},{"country":"Botswana","countryCode":"BW","market":"en-GB","currencyTitle":"Botswanan Pula","currency":"BWP","currencySymbol":"P","site":"www.skyscanner.net"},{"country":"Belarus","countryCode":"BY","market":"ru-RU","currencyTitle":"Belarusian Ruble","currency":"BYN","currencySymbol":"Br","site":"www.skyscanner.net"},{"country":"Belize","countryCode":"BZ","market":"en-GB","currencyTitle":"Belize Dollar","currency":"BZD","currencySymbol":"BZ$","site":"www.skyscanner.com"},{"country":"Canada","countryCode":"CA","market":"en-US","currencyTitle":"Canadian Dollar","currency":"CAD","currencySymbol":"C$","site":"www.skyscanner.ca"},{"country":"Cocos (Keeling) Islands","countryCode":"CC","market":"en-GB","currencyTitle":"Australian Dollar","currency":"AUD","currencySymbol":"$","site":"www.skyscanner.net"},{"country":"DR Congo","countryCode":"CD","market":"en-GB","currencyTitle":"Congolese Franc","currency":"CDF","currencySymbol":"FC","site":"www.skyscanner.net"},{"country":"Central African Republic","countryCode":"CF","market":"en-GB","currencyTitle":"Central African CFA Franc","currency":"XAF","currencySymbol":"F","site":"www.skyscanner.net"},{"country":"Congo","countryCode":"CG","market":"en-GB","currencyTitle":"Central African CFA Franc","currency":"XAF","currencySymbol":"F","site":"www.skyscanner.net"},{"country":"Switzerland","countryCode":"CH","market":"de-DE","currencyTitle":2,"currency":"CHF","currencySymbol":"CHF","site":"www.skyscanner.ch"},{"country":"Ivory Coast","countryCode":"CI","market":"fr-FR","currencyTitle":"West African CFA Franc","currency":"XOF","currencySymbol":"F","site":"www.skyscanner.fr"},{"country":"Cook Islands","countryCode":"CK","market":"en-GB","currencyTitle":"New Zealand Dollar","currency":"NZD","currencySymbol":"$","site":"www.skyscanner.net"},{"country":"Chile","countryCode":"CL","market":"es-MX","currencyTitle":"Chilean Peso","currency":"CLP","currencySymbol":"$","site":"www.espanol.skyscanner.com"},{"country":"Cameroon","countryCode":"CM","market":"en-GB","currencyTitle":"Central African CFA Franc","currency":"XAF","currencySymbol":"F","site":"www.skyscanner.net"},{"country":"China","countryCode":"CN","market":"zh-CN","currencyTitle":"Chinese Yuan","currency":"CNY","currencySymbol":"\u00a5","site":"www.tianxun.com"},{"country":"Colombia","countryCode":"CO","market":"es-MX","currencyTitle":"Colombian Peso","currency":"COP","currencySymbol":"$","site":"www.espanol.skyscanner.com"},{"country":"Costa Rica","countryCode":"CR","market":"es-MX","currencyTitle":"Costa Rican Col\u00f3n","currency":"CRC","currencySymbol":"\u20a1","site":"www.espanol.skyscanner.com"},{"country":"Cuba","countryCode":"CU","market":"es-MX","currencyTitle":"Cuban Peso","currency":"CUP","currencySymbol":"$MN","site":"www.espanol.skyscanner.com"},{"country":"Cape Verde","countryCode":"CV","market":"en-GB","currencyTitle":"Cape Verdean Escudo","currency":"CVE","currencySymbol":"$","site":"www.skyscanner.net"},{"country":"Curacao","countryCode":"CW","market":"en-GB","currencyTitle":"Netherlands Antillean Guilder","currency":"ANG","currencySymbol":"NAf.","site":"www.skyscanner.net"},{"country":"Christmas Island","countryCode":"CX","market":"en-GB","currencyTitle":"Australian Dollar","currency":"AUD","currencySymbol":"$","site":"www.skyscanner.net"},{"country":"Cyprus","countryCode":"CY","market":"el-GR","currencyTitle":"Euro","currency":"EUR","currencySymbol":"\u20ac","site":"www.skyscanner.net"},{"country":"Czech Republic","countryCode":"CZ","market":"cs-CZ","currencyTitle":"Czech Koruna","currency":"CZK","currencySymbol":"K\u010d","site":"www.skyscanner.cz"},{"country":"Germany","countryCode":"DE","market":"de-DE","currencyTitle":"Euro","currency":"EUR","currencySymbol":"\u20ac","site":"www.skyscanner.de"},{"country":"Djibouti","countryCode":"DJ","market":"en-GB","currencyTitle":"Djiboutian Franc","currency":"DJF","currencySymbol":"Fdj","site":"www.skyscanner.net"},{"country":"Denmark","countryCode":"DK","market":"da-DK","currencyTitle":"Danish Krone","currency":"DKK","currencySymbol":"kr.","site":"www.skyscanner.dk"},{"country":"Dominica","countryCode":"DM","market":"en-GB","currencyTitle":"East Caribbean Dollar","currency":"XCD","currencySymbol":"$","site":"www.skyscanner.net"},{"country":"Dominican Republic","countryCode":"DO","market":"es-MX","currencyTitle":"Dominican Peso","currency":"DOP","currencySymbol":"RD$","site":"www.espanol.skyscanner.com"},{"country":"Algeria","countryCode":"DZ","market":"fr-FR","currencyTitle":"Algerian Dinar","currency":"DZD","currencySymbol":"\u062f.\u062c.\u200f","site":"www.skyscanner.net"},{"country":"Ecuador","countryCode":"EC","market":"es-MX","currencyTitle":"US Dollar","currency":"USD","currencySymbol...
                                                                                                                                                                                                                    
                                                                                                    

Get Countries - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/173/search+flight+prices+api/4346/get+countries' --header 'Authorization: Bearer YOUR_API_KEY' 


    

This API endpoint enables the retrieval of a list of airports situated at the specified location.



                                                                            
GET https://zylalabs.com/api/173/search+flight+prices+api/4347/get+airports
                                                                            
                                                                        

Get Airports - Endpoint Features

Object Description
query [Required] Location name of the situated Airport
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            [{"skyId":"NYCA","entityId":"27537542","presentation":{"title":"New York","suggestionTitle":"New York (Any)","subtitle":"United States"},"navigation":{"entityId":"27537542","entityType":"CITY","localizedName":"New York","relevantFlightParams":{"skyId":"NYCA","entityId":"27537542","flightPlaceType":"CITY","localizedName":"New York"},"relevantHotelParams":{"entityId":"27537542","entityType":"CITY","localizedName":"New York"}}},{"skyId":"EWR","entityId":"95565059","presentation":{"title":"New York Newark","suggestionTitle":"New York Newark (EWR)","subtitle":"United States"},"navigation":{"entityId":"95565059","entityType":"AIRPORT","localizedName":"New York Newark","relevantFlightParams":{"skyId":"EWR","entityId":"95565059","flightPlaceType":"AIRPORT","localizedName":"New York Newark"},"relevantHotelParams":{"entityId":"27537542","entityType":"CITY","localizedName":"New York"}}},{"skyId":"JFK","entityId":"95565058","presentation":{"title":"New York John F. Kennedy","suggestionTitle":"New York John F. Kennedy (JFK)","subtitle":"United States"},"navigation":{"entityId":"95565058","entityType":"AIRPORT","localizedName":"New York John F. Kennedy","relevantFlightParams":{"skyId":"JFK","entityId":"95565058","flightPlaceType":"AIRPORT","localizedName":"New York John F. Kennedy"},"relevantHotelParams":{"entityId":"27537542","entityType":"CITY","localizedName":"New York"}}},{"skyId":"LGA","entityId":"95565057","presentation":{"title":"New York LaGuardia","suggestionTitle":"New York LaGuardia (LGA)","subtitle":"United States"},"navigation":{"entityId":"95565057","entityType":"AIRPORT","localizedName":"New York LaGuardia","relevantFlightParams":{"skyId":"LGA","entityId":"95565057","flightPlaceType":"AIRPORT","localizedName":"New York LaGuardia"},"relevantHotelParams":{"entityId":"27537542","entityType":"CITY","localizedName":"New York"}}},{"skyId":"SWF","entityId":"95566280","presentation":{"title":"Stewart International","suggestionTitle":"Stewart International (SWF)","subtitle":"United States"},"navigation":{"entityId":"95566280","entityType":"AIRPORT","localizedName":"Stewart International","relevantFlightParams":{"skyId":"SWF","entityId":"95566280","flightPlaceType":"AIRPORT","localizedName":"Stewart International"},"relevantHotelParams":{"entityId":"27537542","entityType":"CITY","localizedName":"New York"}}},{"skyId":"NCL","entityId":"95674044","presentation":{"title":"Newcastle","suggestionTitle":"Newcastle (NCL)","subtitle":"United Kingdom"},"navigation":{"entityId":"95674044","entityType":"AIRPORT","localizedName":"Newcastle","relevantFlightParams":{"skyId":"NCL","entityId":"95674044","flightPlaceType":"AIRPORT","localizedName":"Newcastle"},"relevantHotelParams":{"entityId":"27545092","entityType":"CITY","localizedName":"Newcastle"}}},{"skyId":"NQY","entityId":"95673963","presentation":{"title":"Newquay","suggestionTitle":"Newquay (NQY)","subtitle":"United Kingdom"},"navigation":{"entityId":"95673963","entityType":"AIRPORT","localizedName":"Newquay","relevantFlightParams":{"skyId":"NQY","entityId":"95673963","flightPlaceType":"AIRPORT","localizedName":"Newquay"},"relevantHotelParams":{"entityId":"27545149","entityType":"CITY","localizedName":"Newquay"}}},{"skyId":"NZ","entityId":"29475342","presentation":{"title":"New Zealand","suggestionTitle":"New Zealand","subtitle":""},"navigation":{"entityId":"29475342","entityType":"COUNTRY","localizedName":"New Zealand","relevantFlightParams":{"skyId":"NZ","entityId":"29475342","flightPlaceType":"COUNTRY","localizedName":"New Zealand"},"relevantHotelParams":{"entityId":"29475342","entityType":"COUNTRY","localizedName":"New Zealand"}}}]
                                                                                                                                                                                                                    
                                                                                                    

Get Airports - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/173/search+flight+prices+api/4347/get+airports?query=new' --header 'Authorization: Bearer YOUR_API_KEY' 


    

API Access Key & Authentication

After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the Search Flight Prices API REST API, simply include your bearer token in the Authorization header.
Headers
Header Description
Authorization [Required] Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.

Simple Transparent Pricing

No long-term commitment. Upgrade, downgrade, or cancel anytime. Free Trial includes up to 50 requests.

πŸš€ Enterprise

Starts at
$ 10,000/Year


  • Custom Volume
  • Specialized Customer Support
  • Real-Time API Monitoring

Customer favorite features

  • βœ”οΈŽ Only Pay for Successful Requests
  • βœ”οΈŽ Free 7-Day Trial
  • βœ”οΈŽ Multi-Language Support
  • βœ”οΈŽ One API Key, All APIs.
  • βœ”οΈŽ Intuitive Dashboard
  • βœ”οΈŽ Comprehensive Error Handling
  • βœ”οΈŽ Developer-Friendly Docs
  • βœ”οΈŽ Postman Integration
  • βœ”οΈŽ Secure HTTPS Connections
  • βœ”οΈŽ Reliable Uptime

Search Flight Prices API FAQs

The "Get Prices" endpoint returns flight pricing details, including airline, duration, and stopovers. The "Get Countries" endpoint provides a list of countries with their codes, markets, and currency details. The "Get Airports" endpoint returns a list of airports with their identifiers and location information.

Key fields in the "Get Prices" response include "status," "itineraries," and "filterStats." For "Get Countries," important fields are "country," "countryCode," and "currency." The "Get Airports" response features "skyId," "entityId," and "presentation."

The response data is structured in JSON format. For "Get Prices," it includes a context object, itineraries array, and filter statistics. "Get Countries" returns a success flag and a data array, while "Get Airports" provides an array of airport objects with nested details.

The "Get Prices" endpoint accepts parameters such as departure and arrival airport IATA codes, flight date, and number of passengers. Users can customize their requests by specifying these parameters to retrieve tailored flight options.

The "Get Airports" endpoint provides information about airports, including their identifiers, location titles, and relevant flight parameters. It helps users find airports in specific locations and understand their flight-related attributes.

Users can analyze the "Get Prices" data to compare flight options based on price, duration, and stopovers. The "Get Countries" data can assist in understanding currency and market details for travel planning, while "Get Airports" helps identify nearby airports for travel routes.

Typical use cases include finding the best flight deals, retrieving country-specific travel information, and identifying airports for travel itineraries. Travel agencies can leverage this data to enhance their booking platforms and provide users with comprehensive flight options.

Data accuracy is maintained through regular updates from trusted sources and quality checks. The API aggregates information from various flight databases and travel agencies, ensuring users receive reliable and up-to-date flight pricing and airport details.

General FAQs

Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.

Prices are listed in USD (United States Dollar), EUR (Euro), CAD (Canadian Dollar), AUD (Australian Dollar), and GBP (British Pound). We accept all major debit and credit cards. Our payment system uses the latest security technology and is powered by Stripe, one of the world’s most reliable payment companies. If you have any trouble paying by card, just contact us at [email protected]

Additionally, if you already have an active subscription in any of these currencies (USD, EUR, CAD, AUD, GBP), that currency will remain for subsequent subscriptions. You can change the currency at any time as long as you don't have any active subscriptions.

The local currency shown on the pricing page is based on the country of your IP address and is provided for reference only. The actual prices are in USD (United States Dollar). When you make a payment, the charge will appear on your card statement in USD, even if you see the equivalent amount in your local currency on our website. This means you cannot pay directly with your local currency.

Occasionally, a bank may decline the charge due to its fraud protection settings. We suggest reaching out to your bank initially to check if they are blocking our charges. Also, you can access the Billing Portal and change the card associated to make the payment. If these does not work and you need further assistance, please contact our team at [email protected]

Prices are determined by a recurring monthly or yearly subscription, depending on the chosen plan.

API calls are deducted from your plan based on successful requests. Each plan comes with a specific number of calls that you can make per month. Only successful calls, indicated by a Status 200 response, will be counted against your total. This ensures that failed or incomplete requests do not impact your monthly quota.

Zyla API Hub works on a recurring monthly subscription system. Your billing cycle will start the day you purchase one of the paid plans, and it will renew the same day of the next month. So be aware to cancel your subscription beforehand if you want to avoid future charges.

To upgrade your current subscription plan, simply go to the pricing page of the API and select the plan you want to upgrade to. The upgrade will be instant, allowing you to immediately enjoy the features of the new plan. Please note that any remaining calls from your previous plan will not be carried over to the new plan, so be aware of this when upgrading. You will be charged the full amount of the new plan.

To check how many API calls you have left for the current month, refer to the β€˜X-Zyla-API-Calls-Monthly-Remaining’ field in the response header. For example, if your plan allows 1,000 requests per month and you've used 100, this field in the response header will indicate 900 remaining calls.

To see the maximum number of API requests your plan allows, check the β€˜X-Zyla-RateLimit-Limit’ response header. For instance, if your plan includes 1,000 requests per month, this header will display 1,000.

The β€˜X-Zyla-RateLimit-Reset’ header shows the number of seconds until your rate limit resets. This tells you when your request count will start fresh. For example, if it displays 3,600, it means 3,600 seconds are left until the limit resets.

Yes, you can cancel your plan anytime by going to your account and selecting the cancellation option on the Billing page. Please note that upgrades, downgrades, and cancellations take effect immediately. Additionally, upon cancellation, you will no longer have access to the service, even if you have remaining calls left in your quota.

You can contact us through our chat channel to receive immediate assistance. We are always online from 8 am to 5 pm (EST). If you reach us after that time, we will get back to you as soon as possible. Additionally, you can contact us via email at [email protected]

To give you the opportunity to experience our APIs without any commitment, we offer a 7-day free trial that allows you to make up to 50 API calls at no cost. This trial can be used only once, so we recommend applying it to the API that interests you the most. While most of our APIs offer a free trial, some may not. The trial concludes after 7 days or once you've made 50 requests, whichever occurs first. If you reach the 50 request limit during the trial, you will need to "Start Your Paid Plan" to continue making requests. You can find the "Start Your Paid Plan" button in your profile under Subscription -> Choose the API you are subscribed to -> Pricing tab. Alternatively, if you don't cancel your subscription before the 7th day, your free trial will end, and your plan will automatically be billed, granting you access to all the API calls specified in your plan. Please keep this in mind to avoid unwanted charges.

After 7 days, you will be charged the full amount for the plan you were subscribed to during the trial. Therefore, it’s important to cancel before the trial period ends. Refund requests for forgetting to cancel on time are not accepted.

When you subscribe to an API free trial, you can make up to 50 API calls. If you wish to make additional API calls beyond this limit, the API will prompt you to perform an "Start Your Paid Plan." You can find the "Start Your Paid Plan" button in your profile under Subscription -> Choose the API you are subscribed to -> Pricing tab.

Payout Orders are processed between the 20th and the 30th of each month. If you submit your request before the 20th, your payment will be processed within this timeframe.


Related APIs


You might also like