Google Flights API by APISH avatar

Google Flights API by APISH

Pricing

$4.00 / 1,000 credits

Go to Apify Store
Google Flights API by APISH

Google Flights API by APISH

Search Google Flights and get fares, segments, return options, cheapest days and cheapest destinations as JSON, via APISH. Pay per credit; failed calls are free.

Pricing

$4.00 / 1,000 credits

Rating

0.0

(0)

Developer

APISH

APISH

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

11 days ago

Last modified

Categories

Features

Limited permissions

Share

Get public Google Flights data as clean, consistent JSON: google Flights autocomplete, google Flights price calendar, google Flights deals (Explore), google Flights price graph, return flights for a chosen outbound, google Flights search. 6 endpoints, one response shape, numbers parsed, absolute URLs.

How to use

  1. Pick an Endpoint. Each option shows what it returns and its price in credits.
  2. Enter its Parameters as JSON, for example {"q":"lond"}. All parameters are listed below.
  3. Run. Each call becomes one row in the dataset. Use Batch to run the same endpoint for many inputs and Pages per input to follow pagination.

Pricing

Pay per event: you pay per APISH credit the call used. The price of each endpoint is in the table below. Calls that fail on our side (server errors, timeouts, blocks) are free.

Endpoints

EndpointReturnsRequired parametersCredits
/google-flights/v1/autocompleteGoogle Flights autocompleteq1
/google-flights/v1/calendarGoogle Flights price calendarorigin, destination1
/google-flights/v1/dealsGoogle Flights deals (Explore)from1
/google-flights/v1/price-graphGoogle Flights price graphorigin, destination1
/google-flights/v1/returnReturn flights for a chosen outboundorigin, destination, depart, return, outbound1
/google-flights/v1/searchGoogle Flights searchorigin, destination, depart2

Output

Each dataset row has endpoint, params, status, credits_used and the endpoint's data. Add "raw": 1 to the parameters to also get the site's original record, or "fields": "a,b.c" to return only the fields you need.

Endpoint details

Google Flights autocomplete

Endpoint /google-flights/v1/autocomplete · 1 credit per successful call.

Google Flights place suggestions for what a user typed: cities, airports, regions and stations with their IATA codes and kgmids, and each city's airports with their distance.

Parameters:

  • q (required): What the user typed, e.g. lond.
  • hl: Language, e.g. en.
  • gl: Country, e.g. us.

Example parameters: {"q":"lond"}

Google Flights price calendar

Endpoint /google-flights/v1/calendar · 1 credit per successful call.

The lowest fare Google Flights shows for each departure day in a range: one-way, or round trips of a fixed length (trip_length). Give a month (YYYY-MM) or start_date/end_date (default: the next 30 days; up to 300 days). Returns every day with its price (and return date for round trips), the cheapest and most expensive day and the median price. Prices are for all passengers together.

Parameters:

  • origin (required): Departure airport or city: 3-letter IATA code; several comma separated (e.g. JFK,EWR).
  • destination (required): Arrival airport or city: 3-letter IATA code; several comma separated.
  • month: A month to show, YYYY-MM (instead of start_date/end_date).
  • start_date: First departure day, YYYY-MM-DD (default tomorrow).
  • end_date: Last departure day, YYYY-MM-DD (default 30 days after start_date).
  • trip_length: Round trip: days between departure and return (1-60). Omit for one-way fares.
  • adults: Adults (1-9, default 1).
  • children: Children (0-8).
  • infants_in_seat: Infants with their own seat (0-8).
  • infants_on_lap: Infants on a lap (0-8).
  • cabin — one of economy, premium_economy, business, first: Cabin class (default economy).
  • stops — one of any, nonstop, 1, 2: At most this many stops: any (default), nonstop, 1, 2.
  • airlines: Only these airlines: 2-letter IATA airline codes, comma separated (e.g. UA,DL).
  • currency: Price currency, a 3-letter code (default USD).
  • country: Two-letter country whose point of sale prices are shown (default US).

Example parameters: {"origin":"JFK","destination":"LAX"}

Google Flights deals (Explore)

Endpoint /google-flights/v1/deals · 1 credit per successful call.

Google Flights Explore from an origin: destinations with the cheapest round trip found for a one-week trip in the next six months: dates, price, airline, stops, flight time, destination airport, coordinates and image, cheapest first. from is an airport code (AUS), a city kgmid (/m/0vzm) or a place name.

Parameters:

  • from (required): Origin: airport code, city kgmid or place name.
  • currency: Currency code, default USD.
  • hl: Language, e.g. en.
  • gl: Country, e.g. us.

Example parameters: {"from":"AUS"}

Google Flights price graph

Endpoint /google-flights/v1/price-graph · 1 credit per successful call.

Google Flights' price graph: the lowest fare per departure day over the next six months by default (or start_date..end_date, up to 300 days), one-way or for round trips of trip_length days. Each day comes with its price and return date; the cheapest and most expensive day and the median price are included.

Parameters:

  • origin (required): Departure airport or city: 3-letter IATA code; several comma separated.
  • destination (required): Arrival airport or city: 3-letter IATA code; several comma separated.
  • trip_length: Round trip: days between departure and return (1-60). Omit for one-way fares.
  • start_date: First departure day, YYYY-MM-DD (default tomorrow).
  • end_date: Last departure day, YYYY-MM-DD (default 180 days after start_date).
  • adults: Adults (1-9, default 1).
  • children: Children (0-8).
  • infants_in_seat: Infants with their own seat (0-8).
  • infants_on_lap: Infants on a lap (0-8).
  • cabin — one of economy, premium_economy, business, first: Cabin class (default economy).
  • stops — one of any, nonstop, 1, 2: At most this many stops: any (default), nonstop, 1, 2.
  • airlines: Only these airlines: 2-letter IATA airline codes, comma separated (e.g. UA,DL).
  • currency: Price currency, a 3-letter code (default USD).
  • country: Two-letter country whose point of sale prices are shown (default US).

Example parameters: {"origin":"JFK","destination":"LHR"}

Return flights for a chosen outbound

Endpoint /google-flights/v1/return · 1 credit per successful call.

The return flights Google Flights offers after an outbound flight is chosen (pass a flight's select from /google-flights/v1/search or this route). Prices are for the whole round trip. Each flight has price, stops, airline, departure and arrival airport, date and time, duration, layovers, emissions against the route's typical emissions and every segment (airports, times, carrier and flight number, aircraft, legroom, codeshares), plus select, the value that picks it.

Parameters:

  • origin (required): Outbound departure airport or city code.
  • destination (required): Outbound arrival code.
  • depart (required): Outbound date (YYYY-MM-DD).
  • return (required): Return date.
  • outbound (required): The chosen outbound flight's select value (segments separated by |).
  • adults: Adults (1-9).
  • currency: Currency (default USD).

Example parameters: {"origin":"JFK","destination":"LHR","depart":"2026-12-10","return":"2026-12-17","outbound":"JFK:LHR:2026-12-10:AA:142"}

Endpoint /google-flights/v1/search · 2 credits per successful call.

The flights embedded in the search page. Google loads more only on a click, so next_cursor is null. Passengers (adults, children, infants_in_seat, infants_on_lap), cabin, stops, airlines and alliance search for exactly that trip (origin and destination must then be airport or city codes); prices are the total for all passengers. max_price, max_duration, departure_window, arrival_window and sort filter and order the returned results. Also returns price_insight.level (low, typical or high, when shown) and applied_filters. Each flight carries select and its segments when the page gives them; pass select to /google-flights/v1/return for the return flights of a round trip. When Google Flights has no flights for the search (no service on those dates, or an airport code that is not the one meant), the answer is flights: [] with no_results: true, route_airports (the airports Google read, with city and country), and the suggested_dates and nearby_airports Google offers instead.

Parameters:

  • origin (required)
  • destination (required)
  • depart (required): Departure date, YYYY-MM-DD.
  • return: Return date (YYYY-MM-DD) for a round trip.
  • currency: Price currency, e.g. USD.
  • adults: Adult passengers, 1-9 (default 1).
  • children: Child passengers, 0-8.
  • infants_in_seat: Infants with their own seat, 0-8.
  • infants_on_lap: Infants on an adult's lap, 0-8 (at most one per adult).
  • cabin — one of economy, premium_economy, business, first: Cabin class.
  • stops — one of any, nonstop, 1, 2: any; nonstop; 1 = at most one stop; 2 = at most two stops.
  • airlines: Only these airlines: 2-character airline codes, comma separated (e.g. DL,AA), up to 10.
  • alliance — one of star_alliance, skyteam, oneworld: Only airlines of this alliance.
  • max_price: Only results at or below this price (whole amount in the chosen currency).
  • max_duration: Only results with a total duration up to this many hours (e.g. 8 or 7.5).
  • departure_window: Only results departing between these hours, local time, as start-end (e.g. 6-12).
  • arrival_window: Only results arriving between these hours, local time, as start-end (e.g. 14-22).
  • sort — one of best, price, duration, departure, arrival, emissions: Order of results (best = the site's own order, the default).

Example parameters: {"origin":"JFK","destination":"LHR","depart":"2026-12-15","currency":"USD"}

Support

Questions, bugs or a missing field? Open an issue in this Actor's Issues tab and we will reply there.

Public data only: nothing behind a login. You are responsible for how you use the data you collect.