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.

26 lifetime users4,297 total runsNo public reviews yet

Apify store response · 2026-11-28. Usage counts do not measure output accuracy.

01 / Recorded output

See what comes back.

· Build 1.0.16 · 5 rows reviewed. Previewing 5 below.

Swipe the table to inspect more fields →

Selected fields from a recorded google-flights-scraper run
from_airportto_airportdateairline_namesprice
JFKLAX2026-10-15["Alaska"]194
JFKLAX2026-10-15["Alaska"]194
JFKLAX2026-10-15["JetBlue"]219
JFKLAX2026-10-15["JetBlue"]219
JFKLAX2026-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.

All 5 Google Flights Scraper tasks →

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.

Full input schema ↗·API setup and dataset export

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.

Selected documented output fields
FieldTypeMeaning
from_airportstringThree-letter IATA code of the departure airport used in the search (e.g. JFK).
to_airportstringThree-letter IATA code of the destination airport used in the search (e.g. LAX).
datestringOutbound date of the search in YYYY-MM-DD format.
airline_namesarrayHuman-readable names of the airlines operating the itinerary.
pricenumber | nullTotal itinerary price in the displayed currency (typically USD). Null when Google Flights shows no price.
duration_min_totalinteger | nullTotal travel time across all segments, in minutes.
stopsintegerNumber of layovers. 0 means a direct flight.
departurestring | nullDeparture time of the first segment as a local ISO 8601 datetime.
arrivalstring | nullArrival time of the last segment as a local ISO 8601 datetime.
Download the dated input and field references ↓

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.