Google Flights Scraper: Cheapest Dates, Prices & Price History
search_flightsSearch flight prices from Google Flights for routes and departure dates; compare airlines, times, stops, and fares across one or several days.
Instructions
Flight prices from Google Flights for a route and one or several departure dates: airlines, times, stops, price, and the typical price range of the route. Use numberOfDates with cheapestOnly to find the cheapest day to fly. Pay per result on your Apify account: run start $0.003, flight delivered $0.002.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| adults | No | Number of adult passengers. Prices are totals for all passengers. | |
| routes | No | Origin and destination as 3-letter airport or city codes, e.g. "CDG-BCN", "PAR-LIS" (all Paris airports), "LON-NYC". | |
| currency | No | Currency of all prices. | |
| maxStops | No | Maximum number of stops. | |
| cabinClass | No | Travel class. | |
| cheapestOnly | No | One flight per route and date: the cheapest. Ideal for price calendars and alerts (fewer items, lower cost). | |
| departureDate | No | First departure date (YYYY-MM-DD). Default: in 30 days. | |
| numberOfDates | No | Search several departure dates in a row, e.g. 30 = every day of the next month, to find the cheapest day to fly. | |
| tripLengthDays | No | 0 = one way. For example 7 = return one week after each departure date. | |
| daysBetweenDates | No | 1 = every day, 7 = same weekday every week. | |
| maxFlightsPerSearch | No | Google's best flights come first, then other flights. Default here: 5. |