# Google Flights Deals

<p>Get the flight deals Google Flights shows for one departure city: destination, price, typical price, discount, dates, airline and stops. One request returns up to 30 deals.</p><h3>What You Get</h3><ul><li><strong>Destination</strong> with city, country, airport code, kgmid, image and a short description</li><li><strong>Price and typical price</strong> with the discount in percent</li><li><strong>Dates and trip length</strong> chosen by Google, with a link to the matching Google Flights search</li><li><strong>Airline and stops</strong> with duration in minutes</li></ul><h3>Good to Know</h3><ul><li>Google picks the dates itself (a window of about four months). You cannot set dates.</li><li><code>arrival_area</code> keeps only deals whose country, city, airport code or kgmid matches. It filters the returned deals. When nothing matches, <code>deals</code> is empty. Other deals are never returned.</li><li>For a city with several airports, send the city kgmid as <code>departure_id</code>.</li><li>Use <a href="/docs/google-travel-explore-api/google_travel_explore_search">Explore Destinations</a> to browse the whole destination map.</li><li>Cost: 1 credit per successful request. Failed requests are not billed.</li></ul>

- **Documentation:** [https://scrappa.co/docs/google-flights-api/google_flights_deals](https://scrappa.co/docs/google-flights-api/google_flights_deals)
- **API group:** Google Flights API
- **Endpoint:** `GET https://scrappa.co/api/flights/deals`

## Authentication

Send your Scrappa API key in the `X-API-KEY` request header. Paid endpoints also support accountless x402 payments when called without an API key.

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `departure_id` | string | Yes | <p>Departure airport IATA code or place kgmid.</p><p><strong>Examples:</strong> <code>JFK</code>, <code>/m/02_286</code></p> |
| `arrival_area` | string | No | <p>Optional filter. One or more comma separated values that must match the deal country, city, airport code or kgmid.</p><p><strong>Examples:</strong> <code>France</code>, <code>CDG,LHR</code></p> |
| `travel_class` | string | No | <p>1 = economy (default), 2 = premium economy, 3 = business, 4 = first.</p> |
| `currency` | string | No | <p>3-letter currency code. <strong>Default:</strong> <code>USD</code></p> |
| `gl` | string | No | <p>2-letter country code the deals are pinned to. <strong>Default:</strong> <code>us</code></p> |
| `hl` | string | No | <p>Language code. <strong>Default:</strong> <code>en</code></p> |

## Example response

```json
{
    "deals": [
        {
            "name": "San Francisco",
            "image": "https://encrypted-tbn1.gstatic.com/images?q=tbn:ANd9GcQvBtqVGhUcQZQZVRs-DfQPplFKXalxpJTP4W6pY1a2jwylcbMq3xgElPowNymK0FbQBTbBLQ",
            "kgmid": "/m/0d6lp",
            "price": 418,
            "stops": 1,
            "origin": "JFK",
            "country": "United States",
            "airlines": [
                {
                    "code": "B6",
                    "name": "JetBlue"
                }
            ],
            "currency": "USD",
            "trip_days": 6,
            "highlights": [
                "Golden Gate Bridge, cable cars & fog"
            ],
            "description": "Hilly bayside city known for the Golden Gate Bridge, year-round fog, cable cars & Victorian homes.",
            "return_date": "2026-12-12",
            "airport_code": "SFO",
            "outbound_date": "2026-12-06",
            "typical_price": 583,
            "discount_percent": 28,
            "duration_minutes": 636,
            "google_flights_url": "https://www.google.com/travel/flights?tfs=CCoQAhoj...&curr=USD&hl=en&gl=US&gsas=1"
        }
    ],
    "search_metadata": {
        "engine": "google_flights_deals",
        "status": "Success",
        "total_deals": 1
    },
    "search_parameters": {
        "gl": "us",
        "hl": "en",
        "currency": "USD",
        "arrival_area": null,
        "departure_id": "JFK",
        "travel_class": 1
    }
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | departure_id is required and must be a 3-letter IATA code or a place kgmid. travel_class, currency, gl and hl must be valid when provided. |
| 503 | Google Flights Deals Temporarily Unavailable | The upstream lookup failed on every try. The request is not billed. |

## More Scrappa resources

- [API documentation](https://scrappa.co/docs)
- [Full LLM-readable API reference](https://scrappa.co/llms-full.txt)
- [OpenAPI specification](https://scrappa.co/docs/api.json)
- [Pricing](https://scrappa.co/pricing)
