ssh.autos

Catalog / Travel

TRAVEL

Google Flights: Flight Prices & Fare Deals

Google Flights scraper: live one-way and round-trip prices for any route or pasted Google Flights link.

PER CALL · X402 / MPP From $0.02 per call 1 endpoint at api.ssh.autos. Pay in USDC, no account. See the endpoint
APIFY STORE Public actor Run it with your Apify account: bulk runs, schedules and exports. Open on Apify

About this data

Google Flights scraper: live one-way and round-trip prices for any route or pasted Google Flights link. Airline, stops, times, airports, duration, layovers, CO2 and Google's price outlook. Compare up to 14 departure dates; filter by cabin, passengers, stops and airlines.

From the actor’s Apify Store listing. The per-call endpoint may return a bounded subset; its own description is below.

Buy per call over x402

One endpoint at api.ssh.autos. Each call is one JSON POST, paid in USDC with no account or API key, and answered in the same HTTP response.

POST /v1/travel/google-flights/deals

Live Google Flights one-way quotes for one airport pair and departure date: price and currency, airline, stops, departure and arrival airports/dates/times, duration, cabin, passenger count, Google-provided CO2 estimates and price-level indicator, with a source search URL and route/date/currency verification metadata.

PRICE$0.02 per call, in USDC
RESULTUp to 20 per call
PAYMENTx402 or MPP · no account

Up to 20 itineraries from one dated search page.

Input

Send a JSON body to POST https://api.ssh.autos/v1/travel/google-flights/deals.

FieldTypeRequiredNotes
originstringoptionalpattern ^[A-Z]{3}$; default "JFK"
destinationstringoptionalpattern ^[A-Z]{3}$; default "LAX"
departDatestringoptionalpattern ^\d{4}-\d{2}-\d{2}$
currencystringoptionalone of USD, EUR, PEN, MXN, GBP, BRL, COP, ARS, CLP; default "USD"
maxResultsintegeroptional1–20; default 5

Returned fields

The answer is JSON: records, a list of up to 20, and summary, the run status and counts. Each record has these 35 fields; a field the source does not publish comes back null.

35 fields per record
FieldTypeNotes
routestringRoute label: {ORIG}→{DEST} as requested.
urlstringGoogle Flights search URL associated with the itinerary.
priceintegerTotal itinerary price in the requested currency, for all passengers searched (round-trip total on round trips).
currencystringISO currency code (matches the currency input).
tripstringone-way or round-trip, as priced by Google Flights; always the trip type you searched.
stopsstringNonstop, 1 stop, 2 stops ... null when the label omits it.
airlinestringMarketing airline displayed for the itinerary.
depart_airportstringDeparture airport full name.
depart_airport_codestringDeparture airport IATA code, e.g. LHR.
depart_timestringDeparture clock time, e.g. 3:05 AM.
depart_datestringDeparture date as displayed, e.g. Friday, November 20.
depart_date_isostringDeparture date as YYYY-MM-DD.
arrive_airportstringArrival airport full name.
arrive_airport_codestringArrival airport IATA code, e.g. BCN.
arrive_timestringArrival clock time.
arrive_datestringArrival date as displayed (differs from the departure date on overnight flights).
arrive_date_isostringArrival date as YYYY-MM-DD.
durationstringTotal duration as displayed, e.g. 8 hr 55 min.
duration_minutesintegerTotal duration in minutes.
layoversarray of objectsOne entry per stop, in order: airport, airport_code, city, duration, duration_minutes, overnight. Empty for nonstop flights.
co2_kgintegerEstimated carbon emissions for the itinerary, in kilograms.
co2_vs_typical_pctintegerEmissions versus a typical flight on this route, in percent (0 = average, -14 = 14% less).
is_basic_economybooleanTrue when the fare excludes overhead bin access (basic economy).
is_top_flightbooleanTrue when Google Flights lists the itinerary among its top flights; null when the page shows no top/other split.
price_levelstringGoogle Flights price outlook for this search: low, typical or high. Same value on every row of a search.
one of low, typical, high
cheapest_time_to_bookstringWhen booking is usually cheapest for this search, as Google Flights words it, e.g. now, until Nov 3.
search_depart_datestringThe departure date searched (YYYY-MM-DD), useful with a date window; null for undated searches and pasted links.
cabin_classstringConfirmed cabin for the search: economy, premium-economy, business or first; null when it cannot be confirmed.
passengersintegerConfirmed passenger count for the search; null when it cannot be confirmed.
return_date_verifiedbooleanOptional on round-trip rows only. True when the requested return date is confirmed; false when it is not or no requested return date is available for checking. Rows can be returned either way; the ru…
verificationobjectOptional evidence status for route, dates (including inferred years), cabin and passengers. Unverified labels must not be treated as confirmed search facts.
sourcestringSource: google.com/travel/flights.
scraped_atstringUTC ISO-8601 collection timestamp.
legs_statusstringFull search mode only: 'verified' when segment details are confirmed for the itinerary; 'unverified' when they cannot be confirmed (no legs then). Absent in the default deals mode.
one of verified, unverified
legsarray of objectsFull search mode only: one entry per flight segment, in order. Absent when legs_status is unverified or in the default deals mode.

Example call

TERMINAL · $0.02 PER RUN
npx agentcash@latest fetch https://api.ssh.autos/v1/travel/google-flights/deals -m POST -b '{"origin": "JFK", "destination": "LAX", "maxResults": 3}'

The example values come from the API spec or the actor’s own sample input. Running it is a paid call.

What is and isn’t charged

Free

  • Invalid input (422), busy (503), source failure (502), timeout (504) and calls whose client hung up are never charged.
  • Invalid input and source failures are not charged.

Prefer a subscription? Run it on Apify

This data source is a public actor on the Apify Store: Google Flights Scraper: Flight Prices & Fare Deals. Run it with your Apify account and plan for larger, scheduled or exported runs; it may offer more input options than the per-call endpoint.

Open on Apify

How x402 payment works

  1. Your client sends the request. The API answers 402 Payment Required with the price and where to pay.
  2. The client pays from its own wallet: USDC on Base or Solana over x402, or over MPP on Tempo. No account, sign-up or API key.
  3. The client retries with the payment attached and gets the JSON answer in the same call. You are only charged for answers.

The AgentCash CLI in the example does all three steps for you and pays from your AgentCash wallet. Any x402 or MPP client works the same way.

Machine-readable: openapi.json · llms.txt

Some links to Apify are affiliate links. We may earn a commission if you sign up and become a paying customer.