APIs / Google Flights / Date Range

Google Flights: Date Range

Date Range from Google Flights as JSON. 1 credit per successful call.

GET /v1/google-flights/date-range

Parameters

Send parameters in the query string.

ParameterTypeRequiredAllowed values
originstringRequiredUp to 3 characters
destinationstringRequiredUp to 3 characters
adultsintegerOptionalAny
childrenintegerOptionalAny
infants_in_seatintegerOptionalAny
infants_on_lapintegerOptionalAny
cabin_classstringOptionaleconomy, premium_economy, business, first
exclude_basicbooleanOptionalAny
max_stopsstringOptionalany, nonstop, one_or_fewer, two_or_fewer
hlstringOptionalAny
glstringOptionalAny
currencystringOptionalUp to 3 characters
outbound_timesstringOptionalAny
bagsintegerOptional0
api_versionintegerOptional2
from_datestringRequiredAny
to_datestringRequiredAny
trip_durationintegerOptionalAny

Example request

Google Flights
GET/v1/google-flights/date-range?origin=JFK&destination=LAX&from_date=2027-01-05&to_date=2027-01-18
{
  "date_price_combinations": [
    {
      "price": 446,
      "currency": "USD",
      "airline_name": "JetBlue",
      "legs": [
        {
          "airline": "B6",
          "flight_number": "823",
          "departure_airport": "JFK",
          "arrival_airport": "LAX",
          "departure_time": "2026-12-01T21:35:00",
          "arrival_time": "2026-12-02T00:57:00",
          "duration_minutes": 382
        }
      ],
      "trip_type": "round_trip",
      "itinerary_complete": false,
      "price_type": "round_trip_starting",
      "outbound_legs": [
        {
          "airline": "B6",
          "flight_number": "823",
          "departure_airport": "JFK",
          "arrival_airport": "LAX",
          "departure_time": "2026-12-01T21:35:00",
          "arrival_time": "2026-12-02T00:57:00",
          "duration_minutes": 382
        }
      ],
      "outbound_stops": 0,
      "outbound_duration_minutes": 382,
      "departure_token": "eyJpdiI6IkVLejJTVVFHM2NsdTVnK2FHV0RJYkE9PSIsInZhbHVlIjoidE9DL0tIK0FVMHZNQkIzbVZSYzBLYW9aUFl0WjZzVElNZ1IvS0pUc0tnaDMzbWpVK1BBa1FKdERnbWlvaHNrZkFSVUJWUWpFR25rRFJBTDFwRWdhbUNQY3pJUUE3a2wwTWFwZTRUM0VkZzQrNFlCakhVMjN3aWRuc0dBZGlWbEROaTlKVEo0YTd5…",
      "departure_date": "2026-12-01",
      "return_date": "2026-12-08"
    }
  ],
  "search_metadata": {
    "origin": "JFK",
    "destination": "LAX",
    "departure_date": "2026-12-01",
    "return_date": "2026-12-08",
    "passengers": {
      "adults": 1,
      "children": 0,
      "infants_in_seat": 0,
      "infants_on_lap": 0
    },
    "cabin_class": "Economy",
    "exclude_basic": false,
    "max_stops": "Any number of stops",
    "sort_by": "Cheapest",
    "hl": "en",
    "gl": "US",
    "currency": "USD",
    "response_time_ms": 390,
    "api_version": 2,
    "stage": "outbound",
    "from_date": "2026-12-01",
    "to_date": "2026-12-14",
    "trip_duration_days": 7,
    "has_more": true,
    "next_departure_date": "2026-12-02"
  }
}
200 OKJSONX-Credits-Used: 1
Recorded 12 Nov 2026 and shortened.

Run this endpoint in the playground with your own parameters. 1 credit per successful call; failed calls are free.

Response fields

Each item in date_price_combinations has these 13 fields, read from a recorded call that returned 1 items. The recording leaves out fields that were empty, so a live call can return more.

FieldType
priceinteger
currencystring
airline_namestring
legsobject[]
trip_typestring
itinerary_completeboolean
price_typestring
outbound_legsobject[]
outbound_stopsinteger
outbound_duration_minutesinteger
departure_tokenstring
departure_datestring
return_datestring