Datapika / Places & travel
Google Flights scraper: flight prices and itineraries as data
Observed flight prices, routes and itineraries. Itineraries with airlines, prices, durations and stops where available.
Apify store response · 2026-11-28. Usage counts do not measure output accuracy.
· Build 1.0.16 · 5 rows reviewed. Previewing 5 below.
Swipe the table to inspect more fields →
| from_airport | to_airport | date | airline_names | price |
|---|---|---|---|---|
| JFK | LAX | 2026-10-15 | ["Alaska"] | 194 |
| JFK | LAX | 2026-10-15 | ["Alaska"] | 194 |
| JFK | LAX | 2026-10-15 | ["JetBlue"] | 219 |
| JFK | LAX | 2026-10-15 | ["JetBlue"] | 219 |
| JFK | LAX | 2026-10-15 | ["JetBlue"] | 219 |
Selected public fields from one recorded run. Text may be shortened to 20 words and non-HTTPS links are omitted. Missing values are preserved; this sample does not establish complete source coverage. Downloads contain all reviewed rows and selected fields. CSV text cells are escaped for spreadsheet safety.
Inspect the first JSON record
{
"from_airport": "JFK",
"to_airport": "LAX",
"date": "2026-10-15",
"airline_names": [
"Alaska"
],
"price": 194,
"duration_min_total": 537,
"stops": 1,
"departure": "2026-10-15T07:22:00",
"arrival": "2026-10-15T17:03:00"
}Ready-made tasks
Start from a tested task.
- Compare Airline Prices on One Route with Google Flights
- Google Flights Price Tracker: Daily Fares as JSON
- Flights from New York to Tokyo: Live Google Flights Fares
- Historical Flight Prices: Build Your Own Fare History
- Business Class Fares: Google Flights Prices by Route
02 / Run your own query
From a console, code or agent.
Use Apify's input form, or start a run with your own API token. The small starter input below was checked against build 1.0.16's published input schema on September 9, 2026. Recorded samples can use different inputs or older builds.
curl -X POST \
"https://api.apify.com/v2/acts/openclawai~google-flights-scraper/runs?maxTotalChargeUsd=1" \
-H "Authorization: Bearer $APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{"from_airport":"JFK","to_airport":"LAX","max_results":5}'This starts an asynchronous paid run with a $1 total run cap. Use the returned defaultDatasetId to retrieve results after the run succeeds. Never put your API token in public frontend code.
03 / Field reference
Plan your data model.
Selected documented fields from build 1.0.16, reviewed September 9, 2026. Availability varies by mode and source. Missing and null values stay visible in the recorded samples.
| Field | Type | Meaning |
|---|---|---|
| from_airport | string | Three-letter IATA code of the departure airport used in the search (e.g. JFK). |
| to_airport | string | Three-letter IATA code of the destination airport used in the search (e.g. LAX). |
| date | string | Outbound date of the search in YYYY-MM-DD format. |
| airline_names | array | Human-readable names of the airlines operating the itinerary. |
| price | number | null | Total itinerary price in the displayed currency (typically USD). Null when Google Flights shows no price. |
| duration_min_total | integer | null | Total travel time across all segments, in minutes. |
| stops | integer | Number of layovers. 0 means a direct flight. |
| departure | string | null | Departure time of the first segment as a local ISO 8601 datetime. |
| arrival | string | null | Arrival time of the last segment as a local ISO 8601 datetime. |
04 / Know before you run
Coverage, without the guesswork.
Not a booking or ticketing API. Prices are observations, not guaranteed fares; an itinerary is not the same billing unit as a search.
How much does it cost to scrape Google Flights data?
This scraper charges $0.0015 per itinerary at the list price, which works out to $1.50 for 1,000 results. max_results caps the itineraries per search at 25 by default, so a default search costs at most $0.0375; the prefilled JFK to LAX search returned 25 itineraries in 5 seconds on October 28, 2026.
What data does a Google Flights scraper return?
Each itinerary includes the total price, airline names and IATA codes, stop count, total flying time in minutes (layovers not counted), ISO departure and arrival times, and the airports, times, and aircraft for every segment. It also reports each itinerary's CO2 emissions in grams next to the typical figure for that route, with results available in 30+ languages.