# Google Travel Explore Destination Deals (`xyrelith-data/google-travel-explore`) Actor

Find the cheapest flight deals to every destination Google Travel Explore suggests from your origin. Get dates, prices, airlines, stops, duration, airports, regions and map-ready coordinates in one row per destination.

- **URL**: https://apify.com/xyrelith-data/google-travel-explore.md
- **Developed by:** [Xyrelith Data](https://apify.com/xyrelith-data) (community)
- **Categories:** Travel, Automation, Developer tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.49 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Google Travel Explore Destination Deals

Turn Google Travel Explore into a destination-deal table. Give one or more departure airports or cities and get every place Google suggests, with the cheapest fare it finds, the dates behind that fare, the airline, stops, flight time, destination airport, coordinates, photo and a ready-to-open Google Flights link.

This is the "where can I go from here?" dataset. It is built for deal pages, travel newsletters, agency research, route planning and map dashboards, and it keeps the full destination set instead of a hand-picked top ten.

### What you get

Every row is one origin × destination. Priced rows carry:

- **Destination:** name, country, Google place ID, latitude/longitude, cover photo and thumbnail.
- **Fare:** price, currency, whether a fare is available, and the cheapest fare Google returned.
- **Trip:** departure date, return date, trip length in days, one-way or round trip.
- **Flight:** airline code and name, stops and a plain-language stops label, duration in minutes and a readable duration label, destination airport code.
- **Links:** a Google Flights search URL for the exact dates and airports, plus the source Explore URL.
- **Provenance:** scrape timestamp and a stable per-origin rank.

Google also returns map pins that have no priced fare for the selected window. With **Include destinations without a fare** on (the default), those pins are saved as destination rows with `fareAvailable: false` and the fare fields omitted. Turn it off when you only want bookable-looking rows.

### Inputs

| Input | Default | What it does |
|---|---|---|
| `origins` | `["JFK"]` | One or more airport codes or city names, e.g. `JFK`, `LHR`, `New York`. Each origin gets its own destination set. |
| `destination` | – | Optional. Restrict Explore to a place, country or region such as `Europe`, `Mexico`, `Caribbean` or `London`. |
| `tripType` | `round_trip` | Round trip or one way. |
| `dateWindow` | `flexible` | Flexible dates, a weekend, a chosen month, or exact dates. Flexible uses Google's cheapest trips over the next six months. |
| `month` | `1` | Used when the travel window is a chosen month. The next occurrence of that month is used. |
| `departureDate` | – | Used for specific dates. Format `YYYY-MM-DD`. |
| `returnDate` | – | Used for round trips on specific dates. Format `YYYY-MM-DD`. |
| `adults` | `1` | Adults aged 12 and over (1-9 total travellers). |
| `children` | `0` | Children aged 2-11. |
| `infants` | `0` | Infants under 2 on an adult lap. |
| `infantsInSeat` | `0` | Infants under 2 in their own seat. |
| `cabinClass` | `economy` | Economy, premium economy, business or first. |
| `maxStops` | `any` | Any, nonstop, one stop or fewer, or two stops or fewer. |
| `airlines` | – | IATA airline codes to keep, e.g. `DL`, `AA`, `BA`. |
| `maxPrice` | – | A fare ceiling in the selected currency. |
| `maxDurationMinutes` | – | A one-way flight-time ceiling in minutes. |
| `carryOnBags` | `0` | Price fares with this many carry-on bags. |
| `checkedBags` | `0` | Price fares with this many checked bags. |
| `interest` | `any` | Outdoors, beaches, museums, history or skiing. |
| `country` | `US` | Country Google prices the search from. |
| `currency` | `USD` | Currency for every price. |
| `language` | `en` | Language Google uses for place and airline names. |
| `maxItems` | `250` | A cross-origin cap. The daily test uses three rows. |
| `includeUnpricedDestinations` | `true` | Save map pins that have no priced fare. |

### Examples

Cheapest destinations from New York in the next six months:

```json
{
  "origins": ["JFK"],
  "tripType": "round_trip",
  "dateWindow": "flexible",
  "maxItems": 100
}
```

Nonstop business-class trips to Europe in March, under 900 EUR:

```json
{
  "origins": ["JFK", "EWR"],
  "destination": "Europe",
  "tripType": "round_trip",
  "dateWindow": "month",
  "month": "3",
  "cabinClass": "business",
  "maxStops": "nonstop",
  "maxPrice": 900,
  "currency": "EUR",
  "country": "DE",
  "maxItems": 200
}
```

A weekend from London, with one checked bag, on British Airways:

```json
{
  "origins": ["LHR"],
  "tripType": "round_trip",
  "dateWindow": "weekend",
  "airlines": ["BA"],
  "checkedBags": 1,
  "currency": "GBP",
  "country": "GB"
}
```

Exact dates, one way, for a beach trip:

```json
{
  "origins": ["LAX"],
  "tripType": "one_way",
  "dateWindow": "specific",
  "departureDate": "2027-02-10",
  "interest": "beaches",
  "maxItems": 50
}
```

### How it works

The actor reads Google Travel Explore's public destination results without an account, cookies or an API key. It opens the public Explore page once per origin, then asks Google for the same destination list with your filters. Every field in the dataset comes from that response: nothing is estimated or invented.

Google changes its internal response format occasionally. The actor fails soft with a status message and retries instead of inventing rows.

### Use cases

- Weekly "cheapest places from your city" pages and newsletters.
- Travel-agency research: compare a destination set across origins, cabins and budgets.
- Map and heatmap dashboards with coordinates and photos.
- Deal alerts: filter the dataset by price, stops, airline or trip length.
- Route planning: see which airports Google prices for a destination.

### Limits worth knowing

- **Explore prices are indicative.** Google shows the cheapest fare it can find for the selected window. The final price is confirmed on Google Flights, and the `flightUrl` opens that search.
- **Date windows are enforced on the rows Google returns.** Specific dates require both the departure and return date to match. A month keeps departures in that month. A weekend keeps Thursday-Saturday departures with Sunday-Monday returns and a trip of five days or less. If Google's destination set has no matching deal, the run returns fewer rows or zero; it does not relabel a different date.
- **The number of destinations depends on the origin.** Large hubs return more pins than small airports, and some small airports return very few.
- **Unpriced pins are not errors.** They are places on Google's map that have no fare for the selected window. Set `includeUnpricedDestinations` to false to hide them.
- **Economy is the default and the most complete cabin.** Other cabins are supported, but Google's Explore coverage can be thinner outside economy.
- **Hotel prices are not included.** Google does not include a reliable nightly hotel price in this response, so the actor does not promise one.
- **Price, stops, airline and duration caps are enforced on the returned rows.** Google sometimes ignores a cap inside its filtered response, so the actor applies the cap again before pushing. Cabin, passengers, bags and interest are requested from Google and are not re-filtered locally.
- **Google can reject a filtered request.** The run retries with a fresh signed request, then uses the page response and applies price/stops/airline/duration caps locally. If a cabin, passenger, bag or interest filter was requested and Google rejects the signed request, the origin is skipped with a status warning rather than returning wrong-cabin, wrong-party or wrong-interest data. Combining an interest or bag count with a price/stop cap is the most likely case to be rejected; run those filters separately if you need both.

### FAQ

**Do I need a Google account, cookie or API key?**
No. The actor uses the public Explore page.

**Can I search several origins in one run?**
Yes, up to 20. Each origin contributes its own destination set, and `maxItems` caps the whole run.

**Why does a destination have no price?**
It is a map pin with no fare for the selected window. Turn off `includeUnpricedDestinations` to remove those rows.

**Can I get the exact itinerary?**
This actor returns the destination-level cheapest fare, not the flight number or segment list. Open the `flightUrl` to see the exact itinerary on Google Flights.

**Does it work outside the US?**
Yes. Set `country`, `currency` and `language`. Coverage and prices follow the market you choose.

**How do I run it daily cheaply?**
Keep the prefill: one origin, flexible dates, `maxItems` 3, unpriced pins off. It returns three rows in seconds.

# Actor input Schema

## `origins` (type: `array`):

Airport codes or city names to explore from, e.g. JFK, LHR, New York. One entry per origin; each origin gets its own destination set.

## `destination` (type: `string`):

Optional. Limit Explore to a place, country or region, e.g. Europe, Mexico, Caribbean, London. Leave empty to see everywhere Google suggests.

## `tripType` (type: `string`):

Round trip prices include the return leg; one way prices the outbound only.

## `dateWindow` (type: `string`):

Flexible uses Google's cheapest trips over the next six months. Weekend, month and specific dates use your chosen window.

## `month` (type: `string`):

Used when the travel window is a chosen month. If the month has passed this year, the next occurrence is used.

## `departureDate` (type: `string`):

Used when the travel window is specific dates. Format YYYY-MM-DD.

## `returnDate` (type: `string`):

Used for round trips on specific dates. Format YYYY-MM-DD.

## `adults` (type: `integer`):

Adults aged 12 and over (1-9 total travellers).

## `children` (type: `integer`):

Children aged 2-11 (0-8).

## `infants` (type: `integer`):

Infants under 2 travelling on an adult lap (0-8, at most one per adult).

## `infantsInSeat` (type: `integer`):

Infants under 2 travelling in their own seat (0-8).

## `cabinClass` (type: `string`):

Cabin to price.

## `maxStops` (type: `string`):

Limit how many stops each itinerary can have.

## `airlines` (type: `array`):

Only these airlines, as IATA codes, e.g. DL, AA, BA. Leave empty for every airline.

## `maxPrice` (type: `integer`):

Only fares at or below this amount, in the selected currency.

## `maxDurationMinutes` (type: `integer`):

Longest one-way flight duration, in minutes.

## `carryOnBags` (type: `integer`):

Price fares with this many carry-on bags (0-2).

## `checkedBags` (type: `integer`):

Price fares with this many checked bags (0-3).

## `interest` (type: `string`):

Only destinations matching this interest. Round trips only.

## `country` (type: `string`):

Country Google prices the search from.

## `currency` (type: `string`):

Currency for every price.

## `language` (type: `string`):

Language Google uses for place and airline names.

## `maxItems` (type: `integer`):

Stop after this many destination rows across all origins. Set 1-3 for the daily test.

## `includeUnpricedDestinations` (type: `boolean`):

Google also returns map destinations with no priced fare. Include them as destination rows with fareAvailable false.

## Actor input object example

```json
{
  "origins": [
    "JFK"
  ],
  "tripType": "round_trip",
  "dateWindow": "flexible",
  "month": "1",
  "adults": 1,
  "children": 0,
  "infants": 0,
  "infantsInSeat": 0,
  "cabinClass": "economy",
  "maxStops": "any",
  "carryOnBags": 0,
  "checkedBags": 0,
  "interest": "any",
  "country": "US",
  "currency": "USD",
  "language": "en",
  "maxItems": 3,
  "includeUnpricedDestinations": false
}
```

# Actor output Schema

## `destinations` (type: `string`):

Dataset containing one row per origin and destination with its cheapest fare and trip details.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "origins": [
        "JFK"
    ],
    "tripType": "round_trip",
    "dateWindow": "flexible",
    "adults": 1,
    "children": 0,
    "infants": 0,
    "infantsInSeat": 0,
    "cabinClass": "economy",
    "maxStops": "any",
    "carryOnBags": 0,
    "checkedBags": 0,
    "interest": "any",
    "country": "US",
    "currency": "USD",
    "language": "en",
    "maxItems": 3,
    "includeUnpricedDestinations": false
};

// Run the Actor and wait for it to finish
const run = await client.actor("xyrelith-data/google-travel-explore").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "origins": ["JFK"],
    "tripType": "round_trip",
    "dateWindow": "flexible",
    "adults": 1,
    "children": 0,
    "infants": 0,
    "infantsInSeat": 0,
    "cabinClass": "economy",
    "maxStops": "any",
    "carryOnBags": 0,
    "checkedBags": 0,
    "interest": "any",
    "country": "US",
    "currency": "USD",
    "language": "en",
    "maxItems": 3,
    "includeUnpricedDestinations": False,
}

# Run the Actor and wait for it to finish
run = client.actor("xyrelith-data/google-travel-explore").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "origins": [
    "JFK"
  ],
  "tripType": "round_trip",
  "dateWindow": "flexible",
  "adults": 1,
  "children": 0,
  "infants": 0,
  "infantsInSeat": 0,
  "cabinClass": "economy",
  "maxStops": "any",
  "carryOnBags": 0,
  "checkedBags": 0,
  "interest": "any",
  "country": "US",
  "currency": "USD",
  "language": "en",
  "maxItems": 3,
  "includeUnpricedDestinations": false
}' |
apify call xyrelith-data/google-travel-explore --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,xyrelith-data/google-travel-explore"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/6GS9wLjP54VmsMvbQ/builds/PpWexRljLhhukJ4Of/openapi.json
