Apify Store
AS
Apify Store
/johnvc/Google-Flights-Data-Scraper-Flight-and-Price-Search

Google Flights API

Google Flights API for extracting flight search data. Search one-way, round-trip, and multi-city itineraries. Filter by price, stops, airlines, and passenger counts. Ideal for travel apps, price monit

liveasyncunknown~30s typical
automationseo toolstravelgoogleflightsflightpricesearch
$0.037
per result + $0.005 call
plus $0.001 platform fee per run
Actor charges $0.03 per result; Cracked adds 25% plus a $0.005 call fee
Bring your own Apify Store key: provider portion drops to $0.
$Set up https://cracked-ai-pearl.vercel.app/SKILL.md, then use Cracked to run apify /johnvc/Google-Flights-Data-Scraper-Flight-and-Price-Search for me.

Input

FieldTypeDescription
departure_idstringDeparture airport code(s), comma-separated for multiple (e.g., 'LAX', 'JFK', 'CDG,ORY'). Required for one-way and round-trip searches. Not used for multi-city trips.
arrival_idstringArrival airport code(s), comma-separated for multiple (e.g., 'JFK', 'SFO', 'LAX,SEA'). Required for one-way and round-trip searches. Not used for multi-city trips.
outbound_datestringDeparture date in YYYY-MM-DD format (e.g., '2025-11-25'). Required for one-way and round-trip searches. Not used for multi-city trips.
return_datestringReturn date in YYYY-MM-DD format (e.g., '2025-11-30'). Optional, used for round-trip searches.
multi_city_jsonstringJSON string for multi-city trips. Format: [{"departure_id":"...","arrival_id":"...","date":"..."},...]. When provided, departure_id, arrival_id, and outbound_date are not required.
adultsintegerNumber of adult passengers (default: 1, minimum: 1) default 1
childrenintegerNumber of child passengers (default: 0, minimum: 0) default 0
infantsintegerNumber of infant passengers (default: 0, minimum: 0) default 0
currencystringCurrency code for prices (e.g., 'USD', 'EUR', 'GBP'). Default: 'USD' default "USD"
hlstring (en | es | fr | de | it | pt)Language code for results (e.g., 'en', 'fr', 'de', 'es'). Default: 'en' default "en"
glstring (us | uk | ca | au | de | fr)Country code for results (e.g., 'us', 'uk', 'fr', 'de'). Default: 'us' default "us"
max_priceintegerMaximum price filter in the specified currency. Optional.
max_stopsintegerMaximum number of stops (0 = direct flights only, 1 = one stop max, null = no limit). Optional.
airlinesstringComma-separated list of preferred airline codes (e.g., 'UA,AA,DL'). Optional.
exclude_basicbooleanIf true, filters out Economy flights that include carry-on bags and free seat selection. Optional. default false
fetch_booking_optionsbooleanIf true, performs extra requests to retrieve detailed booking options (booking links, baggage fees, etc.). This increases API usage and is billed per booking option returned. default false
max_pagesintegerMaximum number of pages to fetch (0 = no limit, default: 1). default 1
output_filestringOptional filename to save results. If not provided, will auto-generate based on route and parameters.

Call it

curl
curl https://cracked-ai-pearl.vercel.app/v1/run \
  -H "Authorization: Bearer ck_live_..." -H "content-type: application/json" \
  -d '{"provider":"apify","endpoint":"/johnvc/Google-Flights-Data-Scraper-Flight-and-Price-Search","input":{"departure_id":"LAX","arrival_id":"JFK","outbound_date":"2026-10-01","return_date":"2026-10-06"},"wait":false}'
poll
curl "https://cracked-ai-pearl.vercel.app/v1/runs/<runId>?wait=30" -H "Authorization: Bearer ck_live_..."
cli
npx cracked-ai run -p apify -e /johnvc/Google-Flights-Data-Scraper-Flight-and-Price-Search -i '{"departure_id":"LAX","arrival_id":"JFK","outbound_date":"2026-10-01","return_date":"2026-10-06"}' -w 120
mcp
run_tool({ provider: "apify", endpoint: "/johnvc/Google-Flights-Data-Scraper-Flight-and-Price-Search", input: {"departure_id":"LAX","arrival_id":"JFK","outbound_date":"2026-10-01","return_date":"2026-10-06"}, wait: false })

Try it

Runs against your signed-in workspace balance. Sign in if you have not.