Google search and market data

Google Flights Scraper (bulk searches)

Flight options from Google Flights for up to 200 searches per run: price, airlines, flight numbers, departure and arrival times, duration, stops and layover airports, aircraft and CO2 estimate, in Google's order. One-way or round trip, any cabin class and currency. Pay only for delivered flights.

$1.40per 1,000 · Flight listed

One flight option delivered. Searches that fail or return nothing are never charged.

Call it from your code

curl
ACTOR=steadydata~google-flights
URL="https://api.apify.com/v2/acts/$ACTOR/run-sync-get-dataset-items"

curl -X POST "$URL?token=$APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"searches": ["AMS LHR 2026-10-15", "JFK LAX 2026-11-03 2026-11-10"], "seatClass": "economy", "adults": 1}'
python
import os, requests

ACTOR = "steadydata~google-flights"
URL = f"https://api.apify.com/v2/acts/{ACTOR}/run-sync-get-dataset-items"

rows = requests.post(
    URL,
    params={"token": os.environ["APIFY_TOKEN"]},
    json={'searches': ['AMS LHR 2026-10-15', 'JFK LAX 2026-11-03 2026-11-10'], 'seatClass': 'economy', 'adults': 1},
    timeout=900,
).json()

# every row carries a status; failures are records, not exceptions
ok = [r for r in rows if r.get("status") == "ok"]
print(len(ok), "rows delivered")
javascript
const ACTOR = "steadydata~google-flights";
const url =
  `https://api.apify.com/v2/acts/${ACTOR}/run-sync-get-dataset-items` +
  `?token=${process.env.APIFY_TOKEN}`;

const rows = await fetch(url, {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({"searches": ["AMS LHR 2026-10-15", "JFK LAX 2026-11-03 2026-11-10"], "seatClass": "economy", "adults": 1}),
}).then((r) => r.json());

// one object per delivered row, same shape every time
console.log(rows.filter((r) => r.status === "ok").length, "rows");

Use it in an agent

Point an MCP client at Apify's hosted server with this dataset in the tools list, or run our own server locally. The field explanations in the table below travel with the schema, so your agent reads them straight from the platform instead of from this page.

mcp url
https://mcp.apify.com?tools=steadydata/google-flights

# the tool arrives in your agent as steadydata--google-flights

Input

FieldTypeNameWhat it does
searches
required
array of stringSearchesOne search per row: 'FROM TO YYYY-MM-DD' for one-way or 'FROM TO YYYY-MM-DD YYYY-MM-DD' for a round trip, with IATA airport codes, e.g. 'AMS LHR 2026-10-15'. Up to 200 rows; a search without results comes back as a free error record.
seatClassstringCabin classCabin class for every search.
adultsintegerAdultsNumber of adult passengers (1 to 9).
currencystringCurrencyThree-letter currency code for the prices, e.g. EUR, USD, GBP.
maxFlightsPerSearchintegerMax flights per searchCost ceiling per search, in Google's order (its top options first). One delivered flight option is one charged event.

What you get back

output schema, one object per delivered row
{
  "search": string | null,
  "rank": integer | null,
  "group": string | null,
  "price": number | null,
  "currency": string | null,
  "airlines": array | null,
  "airlineCodes": array | null,
  "flightNumbers": array | null,
  "departureAirport": string | null,
  "departureTime": string | null,
  "arrivalAirport": string | null,
  "arrivalTime": string | null,
  "durationMinutes": integer | null,
  "stops": integer | null,
  "layoverAirports": array | null,
  "aircraft": array | null,
  "emissionsKg": number | null,
  "tripType": string | null,
  "seatClass": string | null,
  "bookingUrl": string | null,
  "status": string | null,
  "input": string | null,
  "errorCode": string | null,
  "error": string | null
}
FieldTypeWhen it is filled
searchstring, null
rankinteger, null
groupstring, null
pricenumber, null
currencystring, null
airlinesarray, null
airlineCodesarray, null
flightNumbersarray, null
departureAirportstring, null
departureTimestring, null
arrivalAirportstring, null
arrivalTimestring, null
durationMinutesinteger, null
stopsinteger, null
layoverAirportsarray, null
aircraftarray, null
emissionsKgnumber, null
tripTypestring, null
seatClassstring, null
bookingUrlstring, null
statusstring, nullEither 'ok' or 'error'. An error row carries errorCode and error, and leaves the data fields empty; it is never charged.
inputstring, nullThe input this row was built from, so a row can always be traced back.
errorCodestring, nullFilled on an error row only; a delivered row leaves it empty.
errorstring, nullFilled on an error row only; a delivered row leaves it empty.

Related datasets

Already using this one? Ratings are the first thing other buyers look at, and this dataset has none yet. If it does a job for you, a rating on its Apify page is the one thing that helps. It takes a minute and it is the only thing we ask for.

Open the Apify page