[
{
"price_range_in_relation_to_other_periods": "typical",
"price_insights_low": 55,
"price_insights_high": 130,
"from_airport": "London (LHR)",
"to_airport": "Barcelona (BCN)",
"departure_date": "2027-06-15",
"price": "$58",
"price_as_number": 58,
"duration": "2 hr 20 min",
"duration_seconds": 8400,
"buy_link": "https://www.google.com/travel/flights?tfs=GjwSCjIwMjctMDYtMTUiIAoDTEhSEgoyMDI3LTA2LTE1GgNCQ04qAlZZMgQ3NjQzagUSA0xIUnIFEgNCQ05CAQFIAZgBAg&curr=usd",
"airline": "Vueling | Iberia, British Airways",
"stops": 0,
"stops_info": [],
"segments": [
{
"from_airport": "LHR",
"to_airport": "BCN",
"airline_code": "VY",
"flight_number": "7643",
"departure_date": "2027-06-15"
}
],
"departure_description": "8:50 PM on Tue, Jun 15",
"arrival_description": "12:10 AM on Wed, Jun 16"
},
{
"price_range_in_relation_to_other_periods": "typical",
"price_insights_low": 55,
"price_insights_high": 130,
"from_airport": "London (LHR)",
"to_airport": "Barcelona (BCN)",
"departure_date": "2027-06-15",
"price": "$64",
"price_as_number": 64,
"duration": "2 hr 20 min",
"duration_seconds": 8400,
"buy_link": "https://www.google.com/travel/flights?tfs=GjwSCjIwMjctMDYtMTUiIAoDTEhSEgoyMDI3LTA2LTE1GgNCQ04qAlZZMgQ3NjQxagUSA0xIUnIFEgNCQ05CAQFIAZgBAg&curr=usd",
"airline": "Vueling | Iberia, British Airways",
"stops": 0,
"stops_info": [],
"segments": [
{
"from_airport": "LHR",
"to_airport": "BCN",
"airline_code": "VY",
"flight_number": "7641",
"departure_date": "2027-06-15"
}
],
"departure_description": "9:55 AM on Tue, Jun 15",
"arrival_description": "1:15 PM on Tue, Jun 15"
}
]
curl --location --request POST 'https://zylalabs.com/api/14437/live+flight+prices+api/36485/one-way+flight+search' --header 'Authorization: Bearer YOUR_API_KEY'
--data-raw '{"from_airport":"LHR","to_airport":"BCN","departure_date":"2027-06-15","limit":2}'
[
{
"price_range_in_relation_to_other_periods": "typical",
"price_insights_low": 135,
"price_insights_high": 210,
"from_airport": "Berlin (BER)",
"to_airport": "Paris (CDG)",
"departure_date": "2027-06-15",
"return_date": "2027-06-18",
"total_price": "$154",
"total_price_as_number": 154,
"total_duration_seconds": 12900,
"total_stops": 0,
"buy_link": "https://www.google.com/travel/flights?tfs=GjwSCjIwMjctMDYtMTUiIAoDQkVSEgoyMDI3LTA2LTE1GgNDREcqAlUyMgQ1MTU5agUSA0JFUnIFEgNDREcaPBIKMjAyNy0wNi0xOCIgCgNDREcSCjIwMjctMDYtMTgaA0JFUioCVTIyBDUxNjBqBRIDQ0RHcgUSA0JFUkIBAUgBmAEB&curr=usd",
"departure_flight_departure_description": "6:15 AM on Tue, Jun 15",
"departure_flight_arrival_description": "8:05 AM on Tue, Jun 15",
"departure_flight_airline": "easyJet",
"departure_flight_stops": 0,
"departure_flight_duration": "1 hr 50 min",
"departure_stops_info": [],
"return_flight_departure_description": "8:35 AM on Fri, Jun 18",
"return_flight_arrival_description": "10:20 AM on Fri, Jun 18",
"return_flight_airline": "easyJet",
"return_flight_stops": 0,
"return_flight_duration": "1 hr 45 min",
"return_stops_info": []
},
{
"price_range_in_relation_to_other_periods": "typical",
"price_insights_low": 135,
"price_insights_high": 210,
"from_airport": "Berlin (BER)",
"to_airport": "Paris (CDG)",
"departure_date": "2027-06-15",
"return_date": "2027-06-18",
"total_price": "$160",
"total_price_as_number": 160,
"total_duration_seconds": 12900,
"total_stops": 0,
"buy_link": "https://www.google.com/travel/flights?tfs=GjwSCjIwMjctMDYtMTUiIAoDQkVSEgoyMDI3LTA2LTE1GgNDREcqAlUyMgQ1MTYxagUSA0JFUnIFEgNDREcaPBIKMjAyNy0wNi0xOCIgCgNDREcSCjIwMjctMDYtMTgaA0JFUioCVTIyBDUxNjBqBRIDQ0RHcgUSA0JFUkIBAUgBmAEB&curr=usd",
"departure_flight_departure_description": "5:05 PM on Tue, Jun 15",
"departure_flight_arrival_description": "6:55 PM on Tue, Jun 15",
"departure_flight_airline": "easyJet",
"departure_flight_stops": 0,
"departure_flight_duration": "1 hr 50 min",
"departure_stops_info": [],
"return_flight_departure_description": "8:35 AM on Fri, Jun 18",
"return_flight_arrival_description": "10:20 AM on Fri, Jun 18",
"return_flight_airline": "easyJet",
"return_flight_stops": 0,
"return_flight_duration": "1 hr 45 min",
"return_stops_info": []
}
]
curl --location --request POST 'https://zylalabs.com/api/14437/live+flight+prices+api/36486/round+trip+flight+search' --header 'Authorization: Bearer YOUR_API_KEY'
--data-raw '{"from_airport":"BER","to_airport":"CDG","departure_date":"2027-06-15","return_date":"2027-06-18","limit":2}'
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 Live Flight Prices API simply include your bearer token in the Authorization header.
| Header | Description |
|---|---|
Authorization
|
Required
Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.
|
No long-term commitment. Upgrade, downgrade, or cancel anytime. Free Trial includes up to 50 requests.
Live Flight Prices API fares for one-way and round-trip searches: price, airlines, stops, duration, a booking link and Google's own low, typical or high price verdict.
Each endpoint returns live flight fare data, including details for one-way or round-trip flights. This includes price, airlines, stops, duration, and a booking link, along with Google's price verdict (low, typical, high).
Key fields include `price`, `airline`, `stops`, `duration`, `buy_link`, and `departure_description`. For round trips, additional fields like `return_date` and `total_price` are included.
The returned data is structured as a JSON array of objects. Each object contains flight details, such as price insights, airport codes, flight segments, and descriptions of departure and arrival times.
The one-way endpoint provides details for single flights, while the round-trip endpoint offers comprehensive information for both legs of a journey, including total price and duration.
The response data is organized into objects representing individual flights or itineraries. Each object contains nested fields for detailed flight information, making it easy to parse and utilize.
The data is sourced from Google Flights, ensuring access to live and accurate flight pricing and availability. This helps maintain high data quality and reliability.
Typical use cases include travel planning, fare comparison, and booking assistance. Users can leverage the API to find the best flight options based on their preferences and travel dates.
Users can customize requests by specifying parameters such as departure and arrival airports, travel dates, and flight type (one-way or round-trip) to tailor the search results to their needs.
To obtain your API key, first sign in to your account and navigate to the API you want to use. From the API's Pricing section, choose a plan and complete the subscription process. Once subscribed, return to the API page and you will see your API Access Key displayed at the top of the documentation page. You can use this key to authenticate your requests.
You can’t switch APIs during the free trial. If you subscribe to a different API, your trial will end and the new subscription will start as a paid plan.
The free trial lasts for 7 days and allows you to make up to 50 API requests.
No, the free trial is available only once, so we recommend using it on the API that interests you the most. Most of our APIs offer a free trial, but some may not include this option.
Yes. If the API offers a free trial, you will see a "Free 7-Day Trial" option in its Pricing section. The trial lasts for 7 days and allows up to 50 API requests, enabling you to evaluate the API before subscribing to a paid plan.
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.
You can monitor your API usage through the response headers included with every request:
x-zyla-api-calls-monthly-used: Shows the total number of API requests you have used during the current billing period.
x-zyla-api-calls-monthly-remaining: Shows the number of API requests you have remaining for the current billing period.
Yes, you can cancel your subscription at any time. Simply go to the Pricing section of the API you're subscribed to and click the "Unsubscribe" button.
Please note that upgrades, downgrades, and cancellations take effect immediately. Once your subscription is canceled, access to the service will end immediately, regardless of any remaining API calls in your quota.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund