---
title: "Google Flights API: Date Range | Perceptlayer"
description: "Date Range from Google Flights as JSON. 1 credit per successful call."
url: https://perceptlayer.com/apis/google-flights/date-range
---

[APIs](https://perceptlayer.com/apis) / [Google Flights](https://perceptlayer.com/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.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `origin` | string | Required | Up to 3 characters |
| `destination` | string | Required | Up to 3 characters |
| `adults` | integer | Optional | Any |
| `children` | integer | Optional | Any |
| `infants_in_seat` | integer | Optional | Any |
| `infants_on_lap` | integer | Optional | Any |
| `cabin_class` | string | Optional | economy, premium\_economy, business, first |
| `exclude_basic` | boolean | Optional | Any |
| `max_stops` | string | Optional | any, nonstop, one\_or\_fewer, two\_or\_fewer |
| `hl` | string | Optional | Any |
| `gl` | string | Optional | Any |
| `currency` | string | Optional | Up to 3 characters |
| `outbound_times` | string | Optional | Any |
| `bags` | integer | Optional | 0 |
| `api_version` | integer | Optional | 2 |
| `from_date` | string | Required | Any |
| `to_date` | string | Required | Any |
| `trip_duration` | integer | Optional | Any |

## 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 OK JSON X-Credits-Used: 1

Recorded 12 Nov 2026 and shortened.

[Run this endpoint in the playground](https://perceptlayer.com/apis/google-flights?try=date-range#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.

| Field | Type |
| --- | --- |
| `price` | integer |
| `currency` | string |
| `airline_name` | string |
| `legs` | object\[\] |
| `trip_type` | string |
| `itinerary_complete` | boolean |
| `price_type` | string |
| `outbound_legs` | object\[\] |
| `outbound_stops` | integer |
| `outbound_duration_minutes` | integer |
| `departure_token` | string |
| `departure_date` | string |
| `return_date` | string |
