Search Flight Prices API

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-2209201905--32317-0-12712-2209202150","price":{"raw":584,"formatted":"584 €"},"legs":[{"id":"13554-2209201905--32317-0-12712-2209202150","origin":{"id":"LHR","name":"London Heathrow","displayCode":"LHR","city":"London","isHighlighted":false},"destination":{"id":"JFK","name":"New York John F. Kennedy","displayCode":"JFK","city":"New York","isHighlighted":false},"durationInMinutes":465,"stopCount":0,"isSmallestStops":true,"departure":"2022-09-20T19:05:00","arrival":"2022-09-20T21:50:00","timeDeltaInDays":0,"carriers":{"marketing":[{"id":-32317,"logoUrl":"https://logos.skyscnr.com/images/airlines/favicon/AY.png","name":"Finnair"}],"operating":[{"id":-32480,"logoUrl":"https://logos.skyscnr.com/images/airlines/favicon/BA.png","name":"British Airways"}],"operationType":"not_operated"},"segments":[{"id":"13554-12712-2209201905-2209202150--32317","origin":{"flightPlaceId":"LHR","parent":{"flightPlaceId":"LOND","name":"London","type":"City"},"name":"London Heathrow","type":"Airport"},"destination":{"flightPlaceId":"JFK","parent":{"flightPlaceId":"NYCA","name":"New York","type":"City"},"name":"New York John F. Kennedy","type":"Airport"},"departure":"2022-09-20T19:05:00","arrival":"2022-09-20T21:50:00","durationInMinutes":465,"flightNumber":"5483","marketingCarrier":{"id":-32317,"name":"Finnair","alternateId":"AY","allianceId":-32000},"operatingCarrier":{"id":-32480,"name":"British Airways","alternateId":"BA","allianceId":-32000}}]}],"isSelfTransfer":false,"tags":["shortest"],"isMashUp":false,"hasFlexibleOptions":false,"score":5.08203,"deeplink":"https://www.skyscanner.net/transport/flights/lhr/jfk/220920/config/13554-2209201905--32317-0-12712-2209202150?adults=1&adultsv2=1&cabinclass=economy&children=0&childrenv2=&destinationentityid=27537542&originentityid=27544008&inboundaltsenabled=false&infants=0&outboundaltsenabled=false&preferdirects=false&ref=home&rtn=0"},{"id":"13554-2209201215--32317-0-12712-2209201515","price":{"raw":604,"formatted":"604 €"},"legs":[{"id":"13554-2209201215--32317-0-12712-2209201515","origin":{"id":"LHR","name":"London Heathrow","displayCode":"LHR","city":"London","isHighlighted":false},"destination":{"id":"JFK","name":"New York John F. Kennedy","displayCode":"JFK","city":"New York","isHighlighted":false},"durationInMinutes":480,"stopCount":0,"isSmallestStops":true,"departure":"2022-09-20T12:15:00","arrival":"2022-09-20T15:15:00","timeDeltaInDays":0,"carriers":{"marketing":[{"id":-32317,"logoUrl":"https://logos.skyscnr.com/images/airlines/favicon/AY.png","name":"Finnair"}],"operating":[{"id":-32573,"logoUrl":"https://logos.skyscnr.com/images/airlines/favicon/AA.png","name":"American Airlines"}],"operationType":"not_operated"},"segments":[{"id":"13554-12712-2209201215-2209201515--32317","origin":{"flightPlaceId":"LHR","parent":{"flightPlaceId":"LOND","name":"London","type":"City"},"name":"London Heathrow","type":"Airport"},"destination":{"flightPlaceId":"JFK","parent":{"flightPlaceId":"NYCA","name":"New York","type":"City"},"name":"New York John F. Kennedy","type":"Airport"},"departure":"2022-09-20T12:15:00","arrival":"2022-09-20T15:15:00","durationInMinutes":480,"flightNumber":"4015","marketingCarrier":{"id":-32317,"name":"Finnair","alternateId":"AY","allianceId":-32000},"operatingCarrier":{"id":-32573,"name":"American Airlines","alternateId":"AA","allianceId":-32000}}]}],"isSelfTransfer":false,"isMashUp":false,"hasFlexibleOptions":false,"score":4.76284,"deeplink":"https://www.skyscanner.net/transport/flights/lhr/jfk/220920/config/13554-2209201215--32317-0-12712-2209201515?adults=1&adultsv2=1&cabinclass=economy&children=0&childrenv2=&destinationentityid=27537542&originentityid=27544008&inboundaltsenabled=false&infants=0&outboundaltsenabled=false&preferdirects=false&ref=home&rtn=0"},{"id":"13554-2209201220--32222-0-12712-2209201540","price":{"raw":611,"formatted":"611 €"},"legs":[{"id":"13554-2209201220--32222-0-12712-2209201540","origin":{"id":"LHR","name":"London Heathrow","displayCode":"LHR","city":"London","isHighlighted":false},"destination":{"id":"JFK","name":"New York John F. Kennedy","displayCode":"JFK","city":"New York","isHighlighted":false},"durationInMinutes":500,"stopCount":0,"isSmallestStops":true,"departure":"2022-09-20T12:20:00","arrival":"2022-09-20T15:40:00","timeDeltaInDays":0,"carriers":{"marketing":[{"id":-32222,"logoUrl":"https://logos.skyscnr.com/images/airlines/favicon/IB.png","name":"Iberia"}],"operating":[{"id":-32573,"logoUrl":"https://logos.skyscnr.com/images/airlines/favicon/AA.png","name":"American Airlines"}],"operationType":"not_operated"},"segments":[{"id":"13554-12712-2209201220-2209201540--32222","origin":{"flightPlaceId":"LHR","parent":{"flightPlaceId":"LOND","name":"London","type":"City"},"name":"London Heathrow","type":"Airport"},"destination":{"flightPlaceId":"JFK","parent":{"flightPlaceId":"NYCA","name":"New York","type":"City"},"name":"New York John F. Kennedy","type":"Airport"},"departure":"2022-09-20T12:20:00","arrival":"2022-09-20T15:40:00","durationInMinutes":500,"flightNumber":"4221","marketingCarrier":{"id":-32222,"name":"Iberia","alternateId":"IB","allianceId":-32000},"operatingCarrier":{"id":-32573,"name":"American Airlines","alternateId":"AA","allianceId":-32000}}]}],"isSelfTransfer":false,"isMashUp":false,"hasFlexibleOptions":false,"score":4.52077,"deeplink":"https://www.skyscanner.net/transport/flights/lhr/jfk/220920/config/13554-2209201220--32222-0-12712-2209201540?adults=1&adultsv2=1&cabinclass=economy&children=0&childrenv2=&destinationentityid=27537542&originentityid=27544008&inboundaltsenabled=false&infants=0&outboundaltsenabled=false&preferdirects=false&ref=home&rtn=0"}]},{"id":"Fastest","name":"Fastest","items":[{"id":"13554-2209201905--32317-0-12712-2209202150","price":{"raw":584,"formatted":"584 €"},"legs":[{"id":"13554-2209201905--32317-0-12712-2209202150","origin":{"id":"LHR","name":"London Heathrow","displayCode":"LHR","city":"London","isHighlighted":false},"destination":{"id":"JFK","name":"New York John F. Kennedy","displayCode":"JFK","city":"New York","isHighlighted":false},"durationInMinutes":465,"stopCount":0,"isSmallestStops":true,"departure":"2022-09-20T19:05:00","arrival":"2022-09-20T21:50:00","timeDeltaInDays":0,"carriers":{"marketing":[{"id":-32317,"logoUrl":"https://logos.skyscnr.com/images/airlines/favicon/AY.png","name":"Finnair"}],"operating":[{"id":-32480,"logoUrl":"https://logos.skyscnr.com/images/airlines/favicon/BA.png","name":"British Airways"}],"operationType":"not_operated"},"segments":[{"id":"13554-12712-2209201905-2209202150--32317","origin":{"flightPlaceId":"LHR","parent":{"flightPlaceId":"LOND","name":"London","type":"City"},"name":"London Heathrow","type":"Airport"},"destination":{"flightPlaceId":"JFK","parent":{"flightPlaceId":"NYCA","name":"New York","type":"City"},"name":"New York John F. Kennedy","type":"Airport"},"departure":"2022-09-20T19:05:00","arrival":"2022-09-20T21:50:00","durationInMinutes":465,"flightNumber":"5483","marketingCarrier":{"id":-32317,"name":"Finnair","alternateId":"AY","allianceId":-32000},"operatingCarrier":{"id":-32480,"name":"British Airways","alternateId":"BA","allianceId":-32000}}]}],"isSelfTransfer":false,"tags":["shortest"],"isMashUp":false,"hasFlexibleOptions":false,"score":5.08203,"deeplink":"https://www.skyscanner.net/transport/flights/lhr/jfk/220920/config/13554-2209201905--32317-0-12712-2209202150?adults=1&adultsv2=1&cabinclass=economy&children=0&childrenv2=&destinationentityid=27537542&originentityid=27544008&inboundaltsenabled=false&infants=0&outboundaltsenabled=false&preferdirects=false&ref=home&rtn=0"},{"id":"13554-2209200935--32222-0-12712-2209201225","price":{"raw":690,"formatted":"690 €"},"legs":[{"id":"13554-2209200935--32222-0-12712-2209201225","origin":{"id":"LHR","name":"London Heathrow","displayCode":"LHR","city":"London","isHighlighted":false},"destination":{"id":"JFK","name":"New York John F. Kennedy","displayCode":"JFK","city":"New York","isHighlighted":false},"durationInMinutes":470,"stopCount":0,"isSmallestStops":true,"departure":"2022-09-20T09:35:00","arrival":"2022-09-20T12:25:00","timeDeltaInDays":0,"carriers":{"marketing":[{"id":-32222,"logoUrl":"https://logos.skyscnr.com/images/airlines/favicon/IB.png","name":"Iberia"}],"operating":[{"id":-32480,"logoUrl":"https://logos.skyscnr.com/images/airlines/favicon/BA.png","name":"British Airways"}],"operationType":"not_operated"},"segments":[{"id":"13554-12712-2209200935-2209201225--32222","origin":{"flightPlaceId":"LHR","parent":{"flightPlaceId":"LOND","name":"London","type":"City"},"name":"London Heathrow","type":"Airport"},"destination":{"flightPlaceId":"JFK","parent":{"flightPlaceId":"NYCA","name":"New York","type":"City"},"name":"New York John F. Kennedy","type":"Airport"},"departure":"2022-09-20T09:35:00","arrival":"2022-09-20T12:25:00","durationInMinutes":470,"flightNumber":"7374","marketingCarrier":{"id":-32222,"name":"Iberia","alternateId":"IB","allianceId":-32000},"operatingCarrier":{"id":-32480,"name":"British Airways","alternateId":"BA","allianceId":-32000}}]}],"isSelfTransfer":false,"isMashUp":false,"hasFlexibleOptions":false,"score":4.2544,"deeplink":"https://www.skyscanner.net/transport/flights/lhr/jfk/220920/config/13554-2209200935--32222-0-12712-2209201225?adults=1&adultsv2=1&cabinclass=economy&children=0&childrenv2=&destinationentityid=27537542&originentityid=27544008&inboundaltsenabled=false&infants=0&outboundaltsenabled=false&preferdirects=false&ref=home&rtn=0"},{"id":"13554-2209201215--32317-0-12712-2209201515","price":{"raw":604,"formatted":"604 €"},"legs":[{"id":"13554-2209201215--32317-0-12712-2209201515","origin":{"id":"LHR","name":"London Heathrow","displayCode":"LHR","city":"London","isHighlighted":false},"destination":{"id":"JFK","name":"New York John F. Kennedy","displayCode":"JFK","city":"New York","isHighlighted":false},"durationInMinutes":480,"stopCount":0,"isSmallestStops":true,"departure"...
                                                                                                                                                                                                                    
                                                                                                    

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

       
                                                                                                        
                                                                                                                                                                                                                            [{"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":"$","site":"www.espan...
                                                                                                                                                                                                                    
                                                                                                    

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"}}}]
                                                                                                                                                                                                                    
                                                                                                    

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 commitments. One click upgrade/downgrade or cancellation. No questions asked.

🚀 Enterprise
Starts at
$ 10,000/Year

  • Custom Volume
  • Dedicated account manager
  • Service-level agreement (SLA)

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

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, look at the ‘X-Zyla-API-Calls-Monthly-Remaining’ header. For example, if your plan allows 1000 requests per month and you've used 100, this header will show 900.

To see the maximum number of API requests your plan allows, check the ‘X-Zyla-RateLimit-Limit’ header. For instance, if your plan includes 1000 requests per month, this header will display 1000.

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 3600, it means 3600 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 let you experience our APIs without any commitment, we offer a 7-day free trial that allows you to make API calls at no cost during this period. Please note that you can only use this trial once, so make sure to use it with the API that interests you the most. Most of our APIs provide a free trial, but some may not support it.

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 trial, you can make only 25% of the calls allowed by that plan. For example, if the API plan offers 1000 calls, you can make only 250 during the trial. To access the full number of calls offered by the plan, you will need to subscribe to the full plan.

 Service Level
100%
 Response Time
1,581ms

Category:


Related APIs