Google Flights Search API avatar

Google Flights Search API

Under maintenance

Pricing

from $1.20 / 1,000 successful flight searches

Go to Apify Store
Google Flights Search API

Google Flights Search API

Under maintenance

Fast and reliable Google Flights Search API for retrieving flight prices, airlines, schedules, durations, airport details, price insights, carbon emissions, and booking data in structured JSON. Supports one-way, round-trip, localization, and multiple travel classes.

Pricing

from $1.20 / 1,000 successful flight searches

Rating

5.0

(1)

Developer

Gaurav Kumar Choudhary

Gaurav Kumar Choudhary

Maintained by Community

Actor stats

2

Bookmarked

1

Total users

1

Monthly active users

2 days ago

Last modified

Share

✈️ Google Flights Search API

Search Google Flights and retrieve structured flight search results including prices, airlines, flight duration, carbon emissions, booking tokens, airport information, and much more.

Perfect for travel applications, AI agents, travel analytics, fare monitoring, booking platforms, and market research.


🚀 Features

  • ✅ One-way Flights
  • ✅ Round-trip Flights
  • ✅ Economy, Premium Economy, Business & First Class
  • ✅ Direct or Multi-stop Flights
  • ✅ Multiple Passengers
  • ✅ Currency Selection
  • ✅ Country & Language Localization
  • ✅ Best Flight Recommendations
  • ✅ Other Available Flights
  • ✅ Price Insights
  • ✅ Airport Information
  • ✅ Carbon Emissions
  • ✅ Booking Tokens
  • ✅ Structured JSON Output

Example Input

One Way Flight

{
"departureId": "JFK",
"arrivalId": "LAX",
"outboundDate": "2026-09-10",
"type": 2,
"adults": 1,
"children": 0,
"infantsInSeat": 0,
"infantsOnLap": 0,
"travelClass": 1,
"stops": 0,
"sortBy": 1,
"currency": "USD",
"gl": "US",
"hl": "en"
}

Round Trip

{
"departureId": "JFK",
"arrivalId": "LAX",
"outboundDate": "2026-09-10",
"returnDate": "2026-09-17",
"type": 1,
"adults": 2,
"travelClass": 1,
"currency": "USD",
"gl": "US",
"hl": "en"
}

Input Parameters

ParameterTypeDescription
departureIdstringDeparture Airport IATA Code
arrivalIdstringArrival Airport IATA Code
outboundDatestringYYYY-MM-DD
returnDatestringRequired for Round Trip
typeinteger1 = Round Trip, 2 = One Way
adultsinteger1-9
childreninteger0-9
infantsInSeatinteger0-4
infantsOnLapinteger0-4
travelClassinteger1 Economy, 2 Premium Economy, 3 Business, 4 First
stopsinteger0 Any, 1 Non-stop, 2 One Stop, 3 Multiple Stops
sortByintegerFlight Sorting
currencystringCurrency Code
glstringGoogle Country
hlstringLanguage

Example Response

{
"search_parameters": {},
"best_flights": [],
"other_flights": [],
"price_insights": {},
"airports": []
}

Response Includes

✈️ Best Flights

Every flight includes

  • Airline
  • Flight Number
  • Aircraft
  • Departure Airport
  • Arrival Airport
  • Departure Time
  • Arrival Time
  • Duration
  • Flight Price
  • Travel Class
  • Airline Logo
  • Legroom
  • Carbon Emissions
  • Booking Token

🌍 Airport Information

  • Airport Name
  • IATA Code
  • City
  • Country
  • Country Code
  • Airport Images
  • Latitude
  • Longitude

💰 Price Insights

Includes

  • Lowest Available Price
  • Typical Price Range

🌱 Carbon Emissions

For every flight you receive

  • Flight CO₂ emissions
  • Typical emissions
  • Difference percentage

📊 Other Flights

Additional flight options that don't appear in Google's "Best Flights".


Supported Travel Classes

ValueClass
1Economy
2Premium Economy
3Business
4First

Flight Types

ValueType
1Round Trip
2One Way

Use Cases

  • ✈️ Flight Search Websites
  • 📊 Travel Analytics
  • 💵 Price Monitoring
  • 🤖 AI Travel Assistants
  • 📱 Travel Apps
  • 🏢 Corporate Travel
  • 📈 Fare Comparison
  • 🧠 AI Agents (ChatGPT, Claude, Cursor)
  • 🧳 Booking Platforms

Error Response

{
"error": true,
"message": "Flight search is temporarily unavailable. Please retry shortly."
}

Notes

  • Airport codes must be valid IATA codes (JFK, LAX, ORD, SFO, etc.)
  • Dates must use YYYY-MM-DD format.
  • Round-trip searches require a return date.
  • Returns structured JSON ready for APIs, databases, dashboards, and AI workflows.

Why Choose This API?

✅ Fast Responses

✅ Structured JSON

✅ No HTML Parsing Required

✅ Ready for Production

✅ AI-Friendly Output

✅ Global Flight Coverage

✅ Simple Integration


Pricing

One successful flight search returns all matching flight results for the requested route, including:

  • Best Flights
  • Other Flights
  • Price Insights
  • Airport Information

One API call = One Flight Search.


Need a custom scraper or integration?

Feel free to reach out through my Apify profile.