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.

API Documentation

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 - 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/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 - Endpoint Features

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

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            [{"skyId":"YHZ","entityId":"104120243","presentation":{"title":"Halifax International","suggestionTitle":"Halifax International (YHZ)","subtitle":"Canada"},"navigation":{"entityId":"104120243","entityType":"AIRPORT","localizedName":"Halifax International","relevantFlightParams":{"skyId":"YHZ","entityId":"104120243","flightPlaceType":"AIRPORT","localizedName":"Halifax International"},"relevantHotelParams":{"entityId":"27536345","entityType":"CITY","localizedName":"Halifax"}}}]
                                                                                                                                                                                                                    
                                                                                                    

Get Airports - CODE SNIPPETS


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 - 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
sortBy [Optional] Possible values: best, price_high, fastest, outbound_take_off_time, outbound_landing_time, return_take_off_time, return_landing_time.
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"context":{"status":"incomplete","sessionId":"Cl0IARJZCk4KJDgxOWVlMjJiLWNiNmYtNDIxOS04Y2MyLTJhMzA2ZTBhOWJiYxACGiQxNjkyM2NkZi01ZDQwLTQwNTAtYmVkMC04NzU2MjRjNzJhOTcQ_YSL7bQyGAESKHVzc19hNmY1NGE2OS1lZDkwLTQzZTktYTQ0OS0wZjFiNzU5ZmQ5NTQ=","totalResults":1},"itineraries":[{"id":"13548-2411212020--32339-1-18467-2411220815|18467-2412211430--32339-1-13548-2412221855","price":{"raw":2299.64,"formatted":"$2,300","pricingOptionId":"avk8kRGGvquF"},"legs":[{"id":"13548-2411212020--32339-1-18467-2411220815","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":1315,"stopCount":1,"isSmallestStops":false,"departure":"2024-11-21T20:20:00","arrival":"2024-11-22T08: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-2411212020-2411212305--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":"2024-11-21T20:20:00","arrival":"2024-11-21T23:05: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-2411220235-2411220815--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":"2024-11-22T02:35:00","arrival":"2024-11-22T08: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-2412211430--32339-1-13548-2412221855","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":"2024-12-21T14:30:00","arrival":"2024-12-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-2412211430-2412221220--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":"2024-12-21T14:30:00","arrival":"2024-12-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-2412221445-2412221855--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":"2024-12-22T14:45:00","arrival":"2024-12-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.62761},"fareAttributes":[],"tags":["cheapest","shortest"],"isMashUp":false,"hasFlexibleOptions":false,"score":1}],"messages":[],"filterStats":{"duration":{"min":1315,"max":1315,"multiCityMin":2420,"multiCityMax":2420},"airports":[{"city":"Lahore","airports":[{"id":"LHE","entityId":"128667890","name":"Lahore"}]},{"city":"Toronto","airports":[{"id":"YYZ","entityId":"95673353","name":"Toronto Pearson International"}]}],"stopPrices":{"direct":{"isPresent":false},"one":{"isPresent":true,"formattedPrice":"$2,300"},"twoOrMore":{"isPresent":false}}},"flightsSessionId":"819ee22b-cb6f-4219-8cc2-2a306e0a9bbc","destinationImageUrl":"https:\/\/content.skyscnr.com\/m\/3719e8f4a5daf43d\/original\/Flights-Placeholder.jpg","sessionId":"819ee22b-cb6f-4219-8cc2-2a306e0a9bbc"}
                                                                                                                                                                                                                    
                                                                                                    

Get Flights - CODE SNIPPETS


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' 


    

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 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
  • Custom Rate Limit
  • 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

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.

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
3,771ms

Category:


Related APIs