Google search and market data

Google Flights Price Calendar: cheapest fare per day, per route

The cheapest fare per departure day for a route over a date range, from Google Flights: one row per day with the lowest price, airline, stops and duration, so you see when it is cheap. Up to 100 routes, up to 60 days each. Pay per delivered day.

$3.00per 1,000 ยท Day priced

One departure day delivered with its cheapest fare. Days without any flight and routes that fail are never charged.

run it
ACTOR=steadydata~google-flights-price-calendar
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 '{"routes": ["AMS LHR"], "tripLengthDays": 0, "seatClass": "economy"}'

# rows come straight back as JSON, one object per delivered row

Input

FieldNameWhat it does
routes
required
RoutesOne per row, up to 100, as 'FROM TO' with IATA codes: AMS LHR, JFK LAX.
dateFromFirst departure dateYYYY-MM-DD. Defaults to tomorrow.
dateToLast departure dateYYYY-MM-DD, at most 60 days after the first date. Defaults to 30 days after the first date.
tripLengthDaysTrip length in days (return)0 for one-way. Any other value searches a return flight that many days after each departure day.
seatClassSeat classeconomy, premium, business or first.
adultsAdults1 to 9.
currencyCurrencyISO code such as EUR, USD, GBP.

What you get back

FieldType
routestring, null
departureDatestring, null
returnDatestring, null
pricenumber, null
currencystring, null
airlinesarray, null
stopsinteger, null
durationMinutesinteger, null
departureTimestring, null
arrivalTimestring, null
flightNumbersarray, null
optionsOnPageinteger, null
bookingUrlstring, null
statusstring, null
inputstring, null
errorCodestring, null
errorstring, null
daysWithoutFlightsinteger, null