Google Flights API & Scraper - Fares by Route and Date avatar

Google Flights API & Scraper - Fares by Route and Date

Pricing

from $7.50 / 1,000 route searches

Go to Apify Store
Google Flights API & Scraper - Fares by Route and Date

Google Flights API & Scraper - Fares by Route and Date

Get every flight and fare for a route and date, as listed on Google Flights: airline, flight numbers, times, stops, layovers, price, CO2 and price level, one row per itinerary. One-way or round trip, any cabin, date ranges, 500 searches a run. $15 per 1,000 route searches; failures free.

Pricing

from $7.50 / 1,000 route searches

Rating

0.0

(0)

Developer

Tenfold Fleet

Tenfold Fleet

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

a day ago

Last modified

Features

Limited permissions

Share

What does this Flights API do?

This flights API (listed as Google Flights Scraper before) turns a Google Flights search into clean rows of data. Give it a route and a departure date (or a whole date range, or lists of airports) and it returns every itinerary Google Flights lists: airlines, flight numbers, departure and arrival times, total duration, number of stops, layover airports and minutes, price, CO2 estimate and Google's price level for that search (low, typical or high).

It works like a Google Flights API: plain HTTP requests, no browser, no Google account and no proxy to manage. Run it from Apify Console, the Apify API, a schedule, MCP, Make, Zapier or n8n. You pay $0.015 per route search that finds flights, whatever the number of itineraries; searches with no flights are free.

Not affiliated with, endorsed by or sponsored by Google. Google Flights is a trademark of Google LLC.

Why use it?

  • 📉 Fare monitoring: schedule the same routes daily or weekly with relative dates ("+30 days") and log how the cheapest fare and each flight's price move.
  • 🧳 Travel agencies and trip planners: pull all options for a client's route and dates into a sheet, filtered by cabin, stops and passenger count.
  • 📊 Price-trend and airline analysis: compare carriers, nonstop share, durations and fares across routes, countries and seasons.
  • 🗓️ Cheapest-date search: run one route over a date range and pick the cheapest departure day from the results.
  • 🌱 Emissions reporting: every itinerary carries Google's CO2 estimate and how it compares with typical flights on that route.
  • 🤖 AI travel agents: give an LLM agent a tool that answers "what flights go from JFK to LAX on 12 December and what do they cost?" with structured data.

What data can it extract?

Sample output of Flights API, rows from a real run: Search, #, Price, Cur., Airlines, Flights

One row per itinerary:

FieldExample
searchId, from, to, departDate, returnDateJFK-LAX-2026-11-20, JFK, LAX, 2026-11-20, null
price, priceExact, currency215, 214.4, USD (total for all passengers; price is the whole number Google displays, priceExact the fare before rounding; round trips show the round-trip total)
airlines, flightNumbers["American"], ["AA 171"]
departTime, arriveTime, arriveDate06:00, 09:22, 2026-11-20 (local times)
durationMinutes, stops382, 0
layovers[{ "airport": "FLL", "minutes": 54, "city": "Fort Lauderdale" }]
co2Kg, co2VsTypicalPct, typicalCo2Kg274, -20, 344
isBest, ranktrue for Google's "Top flights", then the order Google shows
priceLevel, lowestPrice, typicalPriceLow, typicalPriceHightypical, 160, 120, 280 (Google's "prices are currently ..." box)
segmentseach flight leg: airports, times, dates, airline, flight number, aircraft, legroom, CO2
bookingUrlthe Google Flights results page for this search
tripType, cabin, adults, children, scrapedAtone-way, economy, 1, 0, ISO time

How to scrape Google Flights

  1. Click Try for free.
  2. Add one or more searches such as {"from": "JFK", "to": "LAX", "date": "2026-12-12"} (add "returnDate" for a round trip), or fill from, to and a date range to search every day in between. Put several airports in from or to (JFK,EWR,LGA) to search every pair.
  3. Pick cabin, passengers, max stops and currency if needed.
  4. Click Start. Most searches finish in 1-3 seconds.
  5. Download the flights as JSON, CSV, Excel or HTML, or read them through the API.

How much does it cost?

This scraper charges per search, not per row: $0.015 for each route and date that returns flights ($15 per 1,000 searches), plus a $0.00005 start fee per run. Every itinerary Google lists for that search is included. In a 59-route test on Apify in October 2026, Google listed 8 to 71 itineraries per search (median 19).

Free: searches that find no flights, searches where Google lists flights but no prices, unknown airport codes, past dates, and pages Google blocks. Many other Google Flights scrapers on the Store bill per row (per flight) instead, so compare by the number of searches you plan to run.

Examples: tracking 10 routes once a day for 30 days is 300 searches = $4.50. A 60-day date range on one route is 60 searches = $0.90. Three New York airports to two London airports over 30 days is 3 x 2 x 30 = 180 searches = $2.70.

The free Apify plan has no extra limits here: its monthly credit (about $5) covers roughly 330 searches.

Input

{
"searches": [
{ "from": "JFK", "to": "LAX", "date": "2026-12-12" },
{ "from": "LHR", "to": "JFK", "date": "+45 days", "returnDate": "+52 days" }
],
"cabin": "economy",
"adults": 1,
"maxStops": "any",
"currency": "USD"
}

Date range instead (one search per day, round trips of 7 days):

{
"from": "SFO",
"to": "NRT",
"dateRangeStart": "2026-12-01",
"dateRangeEnd": "2026-12-31",
"tripType": "round-trip",
"tripLengthDays": 7
}

Several origins and destinations at once, every pair for every date:

{
"from": "JFK,EWR,LGA",
"to": "LHR,LGW",
"dateRangeStart": "+30 days",
"dateRangeEnd": "+59 days"
}

Up to 500 searches per run (searches over the limit are skipped and logged, never charged). Airport lists also work inside searches: {"from": "JFK,EWR", "to": "LAX", "date": "2026-12-12"}. Dates can be absolute (2026-12-12) or relative to the day the run starts ("+30 days", "2 weeks"), so a scheduled run always looks the same distance ahead.

Output

{
"searchId": "JFK-LAX-2026-11-20",
"from": "JFK",
"to": "LAX",
"departDate": "2026-11-20",
"returnDate": null,
"rank": 4,
"isBest": false,
"price": 160,
"priceExact": 159.21,
"currency": "USD",
"airlines": ["JetBlue"],
"flightNumbers": ["B6 1301", "B6 101"],
"departTime": "16:54",
"arriveTime": "23:50",
"arriveDate": "2026-11-20",
"durationMinutes": 596,
"stops": 1,
"layovers": [{ "airport": "FLL", "minutes": 54, "city": "Fort Lauderdale" }],
"co2Kg": 549,
"co2VsTypicalPct": 60,
"typicalCo2Kg": 344,
"priceLevel": "typical",
"lowestPrice": 160,
"typicalPriceLow": 120,
"typicalPriceHigh": 280,
"tripType": "one-way",
"cabin": "economy",
"adults": 1,
"children": 0,
"segments": [
{ "from": "JFK", "to": "FLL", "departTime": "16:54", "arriveTime": "20:05", "airline": "JetBlue", "flightNumber": "B6 1301", "aircraft": "Airbus A321", "legroom": "32 in", "co2Kg": 165 }
],
"bookingUrl": "(the Google Flights results page for this search)",
"error": null
}

A search that fails gives one free row with from, to, departDate and an error message. You can download the dataset as JSON, CSV, Excel or HTML.

Tips

  • Round trips: the rows are the outbound options, each priced at Google's round-trip total for the cheapest matching return. Return-flight details are not included.
  • Prices for groups: price is the total for all adults and children in the search.
  • Point of sale: country (gl) and currency change the market Google prices for; fares can differ between countries. If Google doesn't support a currency code it prices in USD, and the currency field always shows the currency actually used.
  • Cheapest day: run a date range, then sort the rows by price or keep the lowestPrice of each searchId.
  • Schedules: use relative dates and an Apify schedule to build a daily fare history without editing the input.
  • If Apify returns a concurrent-run limit error when you start many runs at once, wait 60 seconds and start the run again.

Use it with AI agents (MCP)

Give Claude, ChatGPT, Cursor or any MCP client this Actor as a tool through Apify's MCP server: add https://mcp.apify.com?tools=tenfoldfleet/google-flights-scraper as a remote MCP server and sign in with your Apify account. The agent fills in the input, runs the Actor and reads the flights itself; you pay the same per-search price as a normal run.

FAQ

Which airports can I use?

Any airport Google Flights knows, by its 3-letter IATA code (JFK, LHR, NRT, SYD). City names are not accepted; list the airports instead, separated by commas (JFK,EWR,LGA for New York).

Google Flights sells about 11 months ahead. Dates further out, and dates in the past, return a free error row.

Can I book through it?

No. It reads public search results. bookingUrl opens the same search on Google Flights, where you can pick a fare and continue to the airline or agent.

Why is price sometimes empty?

Google occasionally lists a flight with "price unavailable". The row is still included so the schedule is complete.

Does it need a proxy?

No. Requests go out directly. If Google rate-limits a request, it is retried through Apify Proxy automatically when your plan includes it. If Google blocks 15 searches in a row, the run stops early instead of retrying the rest, and none of them is charged.

Disclaimer

This Actor collects publicly available flight search results. Prices change constantly and may differ at booking; always confirm the fare with the airline or agent before buying. You are responsible for using the data in line with applicable laws and Google's terms.

More tools from Tenfold Fleet

ActorOutput
Google Hotels Scraper - Nightly Prices, Stars & Booking Siteshotel
Google Travel Hotel Rate Tracker - OTA Prices for Every Nightoffer
Google Ads Transparency Center Scraper - Competitor Ads by Sitead
Google AI Overviews Checker - Citations & Domain Trackerkeyword checked
Google Images API - Image Search Results in 90+ Countriesimage result
Google for Jobs Scraper - Openings by City, Pay & Job Boardjob listing
Google Keyword Planner Alternative - Ideas, Bids & Volumekeyword idea
Google Maps Extractor - Business Leads, Phones & Websitesplace
Google Maps Rank Tracker - Geo-Grid Rank Changes & Competitorsgrid point checked
Google News Scraper - Articles, Real URLs & Full Textarticle
Google Trends Scraper - Search Interest by Region and Over Timekeyword
ASO Keyword Rank Tracker: iOS & Android App Positionskeyword check

All 122 tools: apify.com/tenfoldfleet. If this Actor saves you time, save it (the bookmark on its Store page) and leave a review: both help other people find it. Found a bug or need another field? Tell us on the Issues tab of this page.