Flight Prices API

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

About the API:  

Unlock the Sky: Introducing the Flight Prices API

In a world that thrives on connectivity and global exploration, the Flight Prices API stands as the ultimate tool to empower travelers, developers, and businesses alike. This comprehensive API endpoint opens up a universe of possibilities, delivering unmatched functionality and convenience for the aviation industry.

Retrieve, Monitor, and Explore Flights

With the Flight Prices API, the power to retrieve, monitor, and explore a vast array of flight options is at your fingertips. Whether you're a globe-trotting traveler seeking the best deals or a travel agency streamlining booking processes, this API is your gateway to seamless flight discovery. By specifying your desired origin and destination, you can effortlessly query an extensive database of flight routes, schedules, and pricing details.

Pricing Transparency

Gone are the days of navigating the complexities of airline pricing. Our API grants you access to precise and up-to-date pricing information, ensuring that you can make informed decisions. Know the cost of your journey down to the penny, with real-time updates that reflect market fluctuations and promotional fares.

Tailor Results to Your Needs

The Flight Prices API is not just about data retrieval; it's about customization. Apply a diverse range of filters to refine your search results. Filter by airlines, departure times, layovers, cabin classes, and more. Craft your ideal travel experience by sorting and prioritizing flights according to your unique preferences.

Optimized for Business Solutions

For businesses in the travel industry, this API is a game-changer. Enhance your booking platforms with real-time pricing data, streamline inventory management, and provide customers with a seamless booking experience. Improve your competitive edge by offering comprehensive flight information that sets you apart.

 

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

This API will allow you to retrieve and compare flight prices alongside other relevant data. 

 

What are the most common use cases of this API?

  1. Website Quality Assurance: Web development and quality assurance teams can use the API to ensure the integrity of their websites. By systematically checking for dead links and redirects, they can maintain a high-quality user experience and prevent potential SEO penalties.

  2. Content Auditing and SEO Optimization: Content managers and SEO professionals can employ the API to conduct thorough content audits. Identifying and rectifying broken links not only improves user experience but also enhances search engine rankings, ultimately driving more organic traffic.

  3. E-commerce Site Health Monitoring: E-commerce platforms can utilize the API to continuously monitor the health of their product listings and navigation. Detecting broken links in real-time ensures a smooth shopping experience for customers, reducing cart abandonment rates.

  4. Educational Platforms and Learning Resources: Educational websites and e-learning platforms rely on accurate links to provide students with valuable resources. The API helps maintain a reliable educational environment by identifying and correcting dead links in course materials and references.

  5. Media and News Outlets: Media organizations can use the API to ensure that articles, news reports, and multimedia content remain accessible and free of broken links. This ensures that their audiences receive the latest and most reliable information.

 

Are there any limitations to your plans?

Besides the number of API calls available for the plan, there are no other limitations.

Documentación de la API

Endpoints


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/2620/flight+prices+api/2631/get+countries
                                                                            
                                                                        

Get Countries - Características del Endpoint

Objeto Descripción
Probar Endpoint

RESPUESTA DE EJEMPLO DE LA API

       
                                                                                                        
                                                                                                                                                                                                                            [{"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 - CÓDIGOS DE EJEMPLO


curl --location --request GET 'https://zylalabs.com/api/2620/flight+prices+api/2631/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/2620/flight+prices+api/2632/get+airports
                                                                            
                                                                        

Get Airports - Características del Endpoint

Objeto Descripción
query [Requerido] Location name of the situated Airport
Probar Endpoint

RESPUESTA DE EJEMPLO DE LA API

       
                                                                                                        
                                                                                                                                                                                                                            [{"skyId":"JED","entityId":"95673390","presentation":{"title":"Jeddah","suggestionTitle":"Jeddah (JED)","subtitle":"Saudi Arabia"},"navigation":{"entityId":"95673390","entityType":"AIRPORT","localizedName":"Jeddah","relevantFlightParams":{"skyId":"JED","entityId":"95673390","flightPlaceType":"AIRPORT","localizedName":"Jeddah"},"relevantHotelParams":{"entityId":"27542964","entityType":"CITY","localizedName":"Jeddah"}}}]
                                                                                                                                                                                                                    
                                                                                                    

Get Airports - CÓDIGOS DE EJEMPLO


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


    

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/2620/flight+prices+api/2633/get+flights
                                                                            
                                                                        

Get Flights - Características del Endpoint

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

RESPUESTA DE EJEMPLO DE LA API

       
                                                                                                        
                                                                                                                                                                                                                            {"context":{"status":"incomplete","sessionId":"Cl0IARJZCk4KJDUyNzA3Y2NiLThiOWQtNDk3ZS05ZTliLThhNjVjOTFkZDM4OBACGiRiOTRkNmViNS1mNTIxLTRiMzAtYjBjYy1jOGViMDBlNmYxNDgQlvTj7cgyGAESKHVzc180ODIyY2VmYy1mOWMzLTQ0NDEtOTM3MS1hMGQ1MmRmODM3NWUiAlVT","totalResults":2},"itineraries":[{"id":"13548-2501222005--32339-1-18467-2501230815|18467-2502211430--32339-1-13548-2502221855","price":{"raw":1863,"formatted":"$1,863","pricingOptionId":"ZDJWp4aJ2MZg"},"legs":[{"id":"13548-2501222005--32339-1-18467-2501230815","origin":{"id":"LHE","entityId":"128667890","name":"Lahore","displayCode":"LHE","city":"Lahore","country":"Pakistan","isHighlighted":false},"destination":{"id":"YYZ","entityId":"95673353","name":"Toronto Pearson International","displayCode":"YYZ","city":"Toronto","country":"Canada","isHighlighted":false},"durationInMinutes":1330,"stopCount":1,"isSmallestStops":false,"departure":"2025-01-22T20:05:00","arrival":"2025-01-23T08:15:00","timeDeltaInDays":1,"carriers":{"marketing":[{"id":-32339,"alternateId":"60","logoUrl":"https:\/\/logos.skyscnr.com\/images\/airlines\/favicon\/60.png","name":"Etihad Airways"}],"operationType":"fully_operated"},"segments":[{"id":"13548-9618-2501222005-2501222250--32339","origin":{"flightPlaceId":"LHE","displayCode":"LHE","parent":{"flightPlaceId":"LHEA","displayCode":"LHE","name":"Lahore","type":"City"},"name":"Lahore","type":"Airport","country":"Pakistan"},"destination":{"flightPlaceId":"AUH","displayCode":"AUH","parent":{"flightPlaceId":"AUHA","displayCode":"AUH","name":"Abu Dhabi","type":"City"},"name":"Zayed International","type":"Airport","country":"United Arab Emirates"},"departure":"2025-01-22T20:05:00","arrival":"2025-01-22T22:50:00","durationInMinutes":225,"flightNumber":"289","marketingCarrier":{"id":-32339,"name":"Etihad Airways","alternateId":"60","allianceId":0,"displayCode":""},"operatingCarrier":{"id":-32339,"name":"Etihad Airways","alternateId":"60","allianceId":0,"displayCode":""}},{"id":"9618-18467-2501230235-2501230815--32339","origin":{"flightPlaceId":"AUH","displayCode":"AUH","parent":{"flightPlaceId":"AUHA","displayCode":"AUH","name":"Abu Dhabi","type":"City"},"name":"Zayed International","type":"Airport","country":"United Arab Emirates"},"destination":{"flightPlaceId":"YYZ","displayCode":"YYZ","parent":{"flightPlaceId":"YTOA","displayCode":"YTO","name":"Toronto","type":"City"},"name":"Toronto Pearson International","type":"Airport","country":"Canada"},"departure":"2025-01-23T02:35:00","arrival":"2025-01-23T08:15:00","durationInMinutes":880,"flightNumber":"21","marketingCarrier":{"id":-32339,"name":"Etihad Airways","alternateId":"60","allianceId":0,"displayCode":""},"operatingCarrier":{"id":-32339,"name":"Etihad Airways","alternateId":"60","allianceId":0,"displayCode":""}}]},{"id":"18467-2502211430--32339-1-13548-2502221855","origin":{"id":"YYZ","entityId":"95673353","name":"Toronto Pearson International","displayCode":"YYZ","city":"Toronto","country":"Canada","isHighlighted":false},"destination":{"id":"LHE","entityId":"128667890","name":"Lahore","displayCode":"LHE","city":"Lahore","country":"Pakistan","isHighlighted":false},"durationInMinutes":1105,"stopCount":1,"isSmallestStops":false,"departure":"2025-02-21T14:30:00","arrival":"2025-02-22T18:55:00","timeDeltaInDays":1,"carriers":{"marketing":[{"id":-32339,"alternateId":"60","logoUrl":"https:\/\/logos.skyscnr.com\/images\/airlines\/favicon\/60.png","name":"Etihad Airways"}],"operationType":"fully_operated"},"segments":[{"id":"18467-9618-2502211430-2502221220--32339","origin":{"flightPlaceId":"YYZ","displayCode":"YYZ","parent":{"flightPlaceId":"YTOA","displayCode":"YTO","name":"Toronto","type":"City"},"name":"Toronto Pearson International","type":"Airport","country":"Canada"},"destination":{"flightPlaceId":"AUH","displayCode":"AUH","parent":{"flightPlaceId":"AUHA","displayCode":"AUH","name":"Abu Dhabi","type":"City"},"name":"Zayed International","type":"Airport","country":"United Arab Emirates"},"departure":"2025-02-21T14:30:00","arrival":"2025-02-22T12:20:00","durationInMinutes":770,"flightNumber":"22","marketingCarrier":{"id":-32339,"name":"Etihad Airways","alternateId":"60","allianceId":0,"displayCode":""},"operatingCarrier":{"id":-32339,"name":"Etihad Airways","alternateId":"60","allianceId":0,"displayCode":""}},{"id":"9618-13548-2502221445-2502221855--32339","origin":{"flightPlaceId":"AUH","displayCode":"AUH","parent":{"flightPlaceId":"AUHA","displayCode":"AUH","name":"Abu Dhabi","type":"City"},"name":"Zayed International","type":"Airport","country":"United Arab Emirates"},"destination":{"flightPlaceId":"LHE","displayCode":"LHE","parent":{"flightPlaceId":"LHEA","displayCode":"LHE","name":"Lahore","type":"City"},"name":"Lahore","type":"Airport","country":"Pakistan"},"departure":"2025-02-22T14:45:00","arrival":"2025-02-22T18:55:00","durationInMinutes":190,"flightNumber":"288","marketingCarrier":{"id":-32339,"name":"Etihad Airways","alternateId":"60","allianceId":0,"displayCode":""},"operatingCarrier":{"id":-32339,"name":"Etihad Airways","alternateId":"60","allianceId":0,"displayCode":""}}]}],"isSelfTransfer":false,"isProtectedSelfTransfer":false,"farePolicy":{"isChangeAllowed":false,"isPartiallyChangeable":false,"isCancellationAllowed":false,"isPartiallyRefundable":false},"eco":{"ecoContenderDelta":23.388111},"fareAttributes":[],"tags":["second_cheapest","shortest"],"isMashUp":false,"hasFlexibleOptions":false,"score":0.999},{"id":"13548-2501222005--32339-1-18467-2501230815|18467-2502211430--32339-1-13548-2502230310","price":{"raw":1793,"formatted":"$1,793","pricingOptionId":"J0uAXyH3EEFj"},"legs":[{"id":"13548-2501222005--32339-1-18467-2501230815","origin":{"id":"LHE","entityId":"128667890","name":"Lahore","displayCode":"LHE","city":"Lahore","country":"Pakistan","isHighlighted":false},"destination":{"id":"YYZ","entityId":"95673353","name":"Toronto Pearson International","displayCode":"YYZ","city":"Toronto","country":"Canada","isHighlighted":false},"durationInMinutes":1330,"stopCount":1,"isSmallestStops":false,"departure":"2025-01-22T20:05:00","arrival":"2025-01-23T08:15:00","timeDeltaInDays":1,"carriers":{"marketing":[{"id":-32339,"alternateId":"60","logoUrl":"https:\/\/logos.skyscnr.com\/images\/airlines\/favicon\/60.png","name":"Etihad Airways"}],"operationType":"fully_operated"},"segments":[{"id":"13548-9618-2501222005-2501222250--32339","origin":{"flightPlaceId":"LHE","displayCode":"LHE","parent":{"flightPlaceId":"LHEA","displayCode":"LHE","name":"Lahore","type":"City"},"name":"Lahore","type":"Airport","country":"Pakistan"},"destination":{"flightPlaceId":"AUH","displayCode":"AUH","parent":{"flightPlaceId":"AUHA","displayCode":"AUH","name":"Abu Dhabi","type":"City"},"name":"Zayed International","type":"Airport","country":"United Arab Emirates"},"departure":"2025-01-22T20:05:00","arrival":"2025-01-22T22:50:00","durationInMinutes":225,"flightNumber":"289","marketingCarrier":{"id":-32339,"name":"Etihad Airways","alternateId":"60","allianceId":0,"displayCode":""},"operatingCarrier":{"id":-32339,"name":"Etihad Airways","alternateId":"60","allianceId":0,"displayCode":""}},{"id":"9618-18467-2501230235-2501230815--32339","origin":{"flightPlaceId":"AUH","displayCode":"AUH","parent":{"flightPlaceId":"AUHA","displayCode":"AUH","name":"Abu Dhabi","type":"City"},"name":"Zayed International","type":"Airport","country":"United Arab Emirates"},"destination":{"flightPlaceId":"YYZ","displayCode":"YYZ","parent":{"flightPlaceId":"YTOA","displayCode":"YTO","name":"Toronto","type":"City"},"name":"Toronto Pearson International","type":"Airport","country":"Canada"},"departure":"2025-01-23T02:35:00","arrival":"2025-01-23T08:15:00","durationInMinutes":880,"flightNumber":"21","marketingCarrier":{"id":-32339,"name":"Etihad Airways","alternateId":"60","allianceId":0,"displayCode":""},"operatingCarrier":{"id":-32339,"name":"Etihad Airways","alternateId":"60","allianceId":0,"displayCode":""}}]},{"id":"18467-2502211430--32339-1-13548-2502230310","origin":{"id":"YYZ","entityId":"95673353","name":"Toronto Pearson International","displayCode":"YYZ","city":"Toronto","country":"Canada","isHighlighted":false},"destination":{"id":"LHE","entityId":"128667890","name":"Lahore","displayCode":"LHE","city":"Lahore","country":"Pakistan","isHighlighted":false},"durationInMinutes":1600,"stopCount":1,"isSmallestStops":false,"departure":"2025-02-21T14:30:00","arrival":"2025-02-23T03:10:00","timeDeltaInDays":2,"carriers":{"marketing":[{"id":-32339,"alternateId":"60","logoUrl":"https:\/\/logos.skyscnr.com\/images\/airlines\/favicon\/60.png","name":"Etihad Airways"}],"operationType":"fully_operated"},"segments":[{"id":"18467-9618-2502211430-2502221220--32339","origin":{"flightPlaceId":"YYZ","displayCode":"YYZ","parent":{"flightPlaceId":"YTOA","displayCode":"YTO","name":"Toronto","type":"City"},"name":"Toronto Pearson International","type":"Airport","country":"Canada"},"destination":{"flightPlaceId":"AUH","displayCode":"AUH","parent":{"flightPlaceId":"AUHA","displayCode":"AUH","name":"Abu Dhabi","type":"City"},"name":"Zayed International","type":"Airport","country":"United Arab Emirates"},"departure":"2025-02-21T14:30:00","arrival":"2025-02-22T12:20:00","durationInMinutes":770,"flightNumber":"22","marketingCarrier":{"id":-32339,"name":"Etihad Airways","alternateId":"60","allianceId":0,"displayCode":""},"operatingCarrier":{"id":-32339,"name":"Etihad Airways","alternateId":"60","allianceId":0,"displayCode":""}},{"id":"9618-13548-2502222305-2502230310--32339","origin":{"flightPlaceId":"AUH","displayCode":"AUH","parent":{"flightPlaceId":"AUHA","displayCode":"AUH","name":"Abu Dhabi","type":"City"},"name":"Zayed International","type":"Airport","country":"United Arab Emirates"},"destination":{"flightPlaceId":"LHE","displayCode":"LHE","parent":{"flightPlaceId":"LHEA","displayCode":"LHE","name":"Lahore","type":"City"},"name":"Lahore","type":"Airport","country":"Pakistan"},"departure":"2025-02-22T23:05:00","arrival":"2025-02-23T03:10:00","durationInMinutes":185,"flightNumber":"...
                                                                                                                                                                                                                    
                                                                                                    

Get Flights - CÓDIGOS DE EJEMPLO


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


    

Clave de Acceso a la API y Autenticación

Después de registrarte, a cada desarrollador se le asigna una clave de acceso a la API personal, una combinación única de letras y dígitos proporcionada para acceder a nuestro endpoint de la API. Para autenticarte con el Flight Prices API simplemente incluye tu token de portador en el encabezado de Autorización.
Encabezados
Encabezado Descripción
Autorización [Requerido] Debería ser Bearer access_key. Consulta "Tu Clave de Acceso a la API" arriba cuando estés suscrito.

Precios Simples y Transparentes

Sin compromiso a largo plazo. Mejora, reduce o cancela en cualquier momento. La Prueba Gratuita incluye hasta 50 solicitudes.

🚀 PLAN CORPORATIVO A MEDIDA

Comienza en
$ 10.000/Año


  • Volumen Personalizado
  • Límite de solicitudes personalizado
  • Soporte al Cliente Especializado
  • Monitoreo de API en Tiempo Real

Funciones favoritas de los clientes

  • ✔︎ Paga Solo por Solicitudes Exitosas
  • ✔︎ Prueba Gratuita de 7 Días
  • ✔︎ Soporte Multilenguaje
  • ✔︎ Una Clave API, Todas las APIs.
  • ✔︎ Panel de Control Intuitivo
  • ✔︎ Manejo de Errores Integral
  • ✔︎ Documentación Amigable para Desarrolladores
  • ✔︎ Integración con Postman
  • ✔︎ Conexiones HTTPS Seguras
  • ✔︎ Tiempo de Actividad Fiable

Flight Prices API FAQs

The Flight Prices API is a robust tool for retrieving real-time flight information. It allows you to search for flights between specified origin and destination airports and provides pricing details, among other functionalities.

The flight data in the API is updated in real-time, ensuring that you have access to the latest flight options, availability, and pricing information.

The API supports various filters, including airline, departure time, layovers, cabin class, and more. You can customize your search criteria to narrow down the results to meet your specific preferences.

No, the Flight Prices API is primarily an information and search tool. While it provides pricing details, you would need to integrate a booking system separately to complete the booking process

Yes, the API supports both domestic and international flight searches. You can specify the origin and destination airports anywhere in the world.

The "Get Countries" endpoint returns a list of countries, including details such as country code, market, currency title, currency code, and currency symbol. This data helps users understand the geographical and economic context for flight searches.

The "Get Flights" endpoint response includes fields such as flight ID, price, legs (with origin and destination details), duration, stop count, and departure/arrival times. These fields provide comprehensive information for evaluating flight options.

The response from the "Get Airports" endpoint is structured as an array of airport objects, each containing fields like skyId, entityId, title, and navigation details. This organization allows easy access to relevant airport information.

The "Get Flights" endpoint accepts parameters such as origin, destination, departure date, return date, and filters for airlines, cabin classes, and layovers. Users can customize their requests to find flights that meet specific criteria.

The "Get Flight Details" endpoint provides comprehensive information about a specific flight, including pricing, itinerary details, carrier information, and flight duration. This data is essential for understanding the specifics of a chosen flight.

Users can analyze the returned data by comparing prices, evaluating flight durations, and assessing layover options. This allows for informed decision-making when selecting flights that best fit their travel needs.

The Flight Prices API aggregates data from various airlines, travel agencies, and flight databases. This diverse sourcing helps ensure a wide range of flight options and accurate pricing information.

Typical use cases include displaying available countries for flight searches, setting up user preferences based on currency, and providing geographical context for travel planning. This data enhances user experience in travel applications.

General FAQs

Zyla API Hub es como una gran tienda de APIs, donde puedes encontrar miles de ellas en un solo lugar. También ofrecemos soporte dedicado y monitoreo en tiempo real de todas las APIs. Una vez que te registres, puedes elegir qué APIs quieres usar. Solo recuerda que cada API necesita su propia suscripción. Pero si te suscribes a varias, usarás la misma clave para todas, lo que hace todo más fácil para ti.

Los precios se muestran en USD (dólar estadounidense), EUR (euro), CAD (dólar canadiense), AUD (dólar australiano) y GBP (libra esterlina). Aceptamos todas las principales tarjetas de débito y crédito. Nuestro sistema de pago utiliza la última tecnología de seguridad y está respaldado por Stripe, una de las compañías de pago más confiables del mundo. Si tienes algún problema para pagar con tarjeta, contáctanos en [email protected]


Además, si ya tienes una suscripción activa en cualquiera de estas monedas (USD, EUR, CAD, AUD, GBP), esa moneda se mantendrá para suscripciones posteriores. Puedes cambiar la moneda en cualquier momento siempre que no tengas suscripciones activas.

La moneda local que aparece en la página de precios se basa en el país de tu dirección IP y se proporciona solo como referencia. Los precios reales están en USD (dólar estadounidense). Cuando realices un pago, el cargo aparecerá en tu estado de cuenta en USD, incluso si ves el monto equivalente en tu moneda local en nuestro sitio web. Esto significa que no puedes pagar directamente en tu moneda local.

Ocasionalmente, un banco puede rechazar el cargo debido a sus configuraciones de protección contra fraude. Te sugerimos comunicarte con tu banco primero para verificar si están bloqueando nuestros cargos. También puedes acceder al Portal de Facturación y cambiar la tarjeta asociada para realizar el pago. Si esto no funciona y necesitas más ayuda, por favor contacta a nuestro equipo en [email protected]

Los precios se determinan mediante una suscripción recurrente mensual o anual, dependiendo del plan elegido.

Las llamadas a la API se descuentan de tu plan en base a solicitudes exitosas. Cada plan incluye una cantidad específica de llamadas que puedes realizar por mes. Solo las llamadas exitosas, indicadas por una respuesta con estado 200, se contarán en tu total. Esto asegura que las solicitudes fallidas o incompletas no afecten tu cuota mensual.

Zyla API Hub funciona con un sistema de suscripción mensual recurrente. Tu ciclo de facturación comenzará el día en que compres uno de los planes de pago, y se renovará el mismo día del mes siguiente. Así que recuerda cancelar tu suscripción antes si quieres evitar futuros cargos.

Para actualizar tu plan de suscripción actual, simplemente ve a la página de precios de la API y selecciona el plan al que deseas actualizarte. La actualización será instantánea, permitiéndote disfrutar inmediatamente de las funciones del nuevo plan. Ten en cuenta que las llamadas restantes de tu plan anterior no se transferirán al nuevo plan, por lo que debes considerar esto al actualizar. Se te cobrará el monto total del nuevo plan.

Para verificar cuántas llamadas a la API te quedan en el mes actual, revisa el campo 'X-Zyla-API-Calls-Monthly-Remaining' en el encabezado de la respuesta. Por ejemplo, si tu plan permite 1,000 solicitudes por mes y has usado 100, este campo mostrará 900 llamadas restantes.

Para ver el número máximo de solicitudes a la API que permite tu plan, revisa el encabezado de la respuesta 'X-Zyla-RateLimit-Limit'. Por ejemplo, si tu plan incluye 1,000 solicitudes por mes, este encabezado mostrará 1,000.

El encabezado 'X-Zyla-RateLimit-Reset' muestra el número de segundos hasta que tu límite se restablezca. Esto te indica cuándo tu conteo de solicitudes se reiniciará. Por ejemplo, si muestra 3,600, significa que faltan 3,600 segundos para que el límite se restablezca.

Sí, puedes cancelar tu plan en cualquier momento desde tu cuenta, seleccionando la opción de cancelación en la página de Facturación. Ten en cuenta que las actualizaciones, degradaciones y cancelaciones tienen efecto inmediato. Además, al cancelar ya no tendrás acceso al servicio, incluso si te quedaban llamadas en tu cuota.

Puedes contactarnos a través de nuestro canal de chat para recibir asistencia inmediata. Siempre estamos en línea de 8 a. m. a 5 p. m. (EST). Si nos contactas fuera de ese horario, te responderemos lo antes posible. Además, puedes escribirnos por correo electrónico a [email protected]

Para darte la oportunidad de probar nuestras APIs sin compromiso, ofrecemos una prueba gratuita de 7 días que te permite realizar hasta 50 llamadas a la API sin costo. Esta prueba solo se puede usar una vez, por lo que recomendamos aplicarla a la API que más te interese. Aunque la mayoría de nuestras APIs ofrecen prueba gratuita, algunas pueden no hacerlo. La prueba finaliza después de 7 días o cuando realices 50 solicitudes, lo que ocurra primero. Si alcanzas el límite de 50 solicitudes durante la prueba, deberás "Iniciar tu Plan de Pago" para continuar haciendo solicitudes. Puedes encontrar el botón "Iniciar tu Plan de Pago" en tu perfil bajo Suscripción -> Elige la API a la que estás suscrito -> Pestaña de Precios. Alternativamente, si no cancelas tu suscripción antes del día 7, tu prueba gratuita finalizará y tu plan se cobrará automáticamente, otorgándote acceso a todas las llamadas a la API especificadas en tu plan. Ten esto en cuenta para evitar cargos no deseados.

Después de 7 días, se te cobrará el monto total del plan al que estabas suscrito durante la prueba. Por lo tanto, es importante cancelar antes de que finalice el periodo de prueba. No se aceptan solicitudes de reembolso por olvidar cancelar a tiempo.

Cuando te suscribes a una prueba gratuita de una API, puedes realizar hasta 50 llamadas. Si deseas realizar más llamadas después de este límite, la API te pedirá que "Inicies tu Plan de Pago". Puedes encontrar el botón "Iniciar tu Plan de Pago" en tu perfil bajo Suscripción -> Elige la API a la que estás suscrito -> Pestaña de Precios.

Las Órdenes de Pago se procesan entre el día 20 y el 30 de cada mes. Si envías tu solicitud antes del día 20, tu pago será procesado dentro de ese período.

 Nivel de Servicio
100%
 Tiempo de Respuesta
3.845ms

APIs Relacionadas


También te puede interesar