# Google Travel Explore API

> Explore destinations from a departure airport on Google Travel, with cheapest flight and hotel prices, dates and travel time for each destination.

Source: https://www.sandbase.ai/apis/google/travel-explore
API reference: https://www.sandbase.ai/apis/google/travel-explore#api

## Facts

- Provider: Google
- Type: Data API
- Endpoint: `POST https://api.sandbase.ai/v1/api/google/travel-explore`
- Price: $0.01 per call
- Capabilities: api, google, travel, flights
- Billing: pay per use from one SandBase balance; no provider account or subscription needed

## Call it

`POST https://api.sandbase.ai/v1/api/google/travel-explore` with `Authorization: Bearer $SANDBASE_API_KEY` and the parameters as a JSON body.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `departure_id` | string | yes |  |
| `gl` | string | no |  |
| `hl` | string | no |  |
| `currency` | string | no |  |
| `arrival_area_id` | string | no |  |
| `arrival_id` | string | no |  |
| `type` | string | no |  |
| `outbound_date` | string | no |  |
| `return_date` | string | no |  |
| `month` | string | no |  |
| `travel_duration` | string | no |  |
| `travel_class` | string | no |  |
| `adults` | string | no |  |
| `children` | string | no |  |
| `infants_in_seat` | string | no |  |
| `infants_on_lap` | string | no |  |
| `stops` | string | no |  |
| `travel_mode` | string | no |  |
| `interest` | string | no |  |
| `include_airlines` | string | no |  |
| `exclude_airlines` | string | no |  |
| `bags` | string | no |  |
| `max_price` | string | no |  |
| `max_duration` | string | no |  |
| `json_restrictor` | string | no |  |

## FAQ

### How do I use the Google Travel Explore API?

Send a POST request to https://api.sandbase.ai/v1/api/google/travel-explore with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.

### How much does the Google Travel Explore API cost?

$0.01 per call, billed from your SandBase balance. You are only charged for calls you make; there is no subscription.

### What parameters does the Google Travel Explore API accept?

Required: departure_id (string). Optional: gl (string), hl (string), currency (string), arrival_area_id (string), arrival_id (string) and type (string) and 18 more. The Parameters table and the Playground on this page list every field.

### What does the Google Travel Explore API return?

A JSON response returned in the same HTTP request (synchronous).

### Do I need a Google developer account or API key?

No. Google Travel Explore runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for Google API access separately.

## README

### Google Travel Explore

Explore destinations from a departure airport on Google Travel, with cheapest flight and hotel prices, dates and travel time for each destination.

#### Request

```bash
curl -X POST "https://api.sandbase.ai/v1/api/google/travel-explore" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"departure_id": "AUS"}'
```

The result is returned in `outputs[0].data` as structured JSON.

#### Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `departure_id` | string | Yes | Parameter defines the departure airport code or city location kgmid. An airport code is an uppercase 3-letter code. You can search for it on Google Flights or IATA. For example, `CDG` is Paris Charles de Gaulle Airport and `AUS` is Austin-B |
| `gl` | string | No | Parameter defines the country to use for the Google Travel Explore search. It's a two-letter country code. (e.g., `us` for the United States, `uk` for United Kingdom, or `fr` for France) Head to the Google countries page for a full list of  |
| `hl` | string | No | Parameter defines the language to use for the Google Travel Explore search. It's a two or three-letter language code. (e.g., `en` for English, `es` for Spanish, or `fr` for French), optionally followed by a two-letter or three-digit region  |
| `currency` | string | No | Parameter defines the currency of the returned prices. Default to `USD`. Head to the Google Travel Currencies page for a full list of supported currency codes. |
| `arrival_area_id` | string | No | Parameter defines the arrival region or country as a location kgmid. A location kgmid is a string that starts with `/m/` or `/g/`. You can search for a region or country on Wikidata and use its "Freebase ID" as the location kgmid. For examp |
| `arrival_id` | string | No | Parameter defines the arrival airport code or city location kgmid. An airport code is an uppercase 3-letter code. You can search for it on Google Flights or IATA. For example, `CDG` is Paris Charles de Gaulle Airport and `AUS` is Austin-Ber |
| `type` | string | No | Parameter defines the type of the flights. Available options: `1` - Round trip (default) `2` - One way When this parameter is set to `3`, use `multi_city_json` to set the flight information. |
| `outbound_date` | string | No | Parameter defines the outbound date. The format is YYYY-MM-DD. e.g. `2026-11-13` |
| `return_date` | string | No | Parameter defines the return date. The format is YYYY-MM-DD. e.g. `2026-11-19` Parameter is required if `type` parameter is set to: `1` (Round trip) |
| `month` | string | No | Parameter defines the month of the trip with flexible travel dates. The value must be a number from `1` to `12`, where `1` = January, `2` = February, …, `12` = December. `0` (default) means all months within the next 6 months are considered |
| `travel_duration` | string | No | Parameter defines the duration of the trip with flexible travel dates. Available options: `1` - Weekend `2` - 1 week (default) `3` - 2 weeks |
| `travel_class` | string | No | Parameter defines the travel class. Available options: `1` - Economy (default) `2` - Premium economy `3` - Business `4` - First |
| `adults` | string | No | Parameter defines the number of adults. Default to 1. |
| `children` | string | No | Parameter defines the number of children. Default to 0. |
| `infants_in_seat` | string | No | Parameter defines the number of infants in seat. Default to 0. |
| `infants_on_lap` | string | No | Parameter defines the number of infants on lap. Default to 0. |
| `stops` | string | No | Parameter defines the number of stops during the flight. Available options: `0` - Any number of stops (default) `1` - Nonstop only `2` - 1 stop or fewer `3` - 2 stops or fewer |
| `travel_mode` | string | No | Parameter defines the travel mode. Available options: `0` - All (default) `1` - Flight only `travel_mode` and `interest` parameters can't be used together. |
| `interest` | string | No | Parameter defines the interest of the destination. Available options: `0` - Popular (default) `/g/11bc58l13w` - Outdoors `/m/0b3yr` - Beaches `/m/09cmq` - Museum `/m/03g3w` - History `/m/071k0` - Skiing `travel_mode` and `interest` paramete |
| `include_airlines` | string | No | Parameter defines the airline codes to be included. Split multiple airlines with a comma. Each airline code should be a 2-character IATA code consisting of either two uppercase letters or one uppercase letter and one digit. You can search f |
| `exclude_airlines` | string | No | Parameter defines the airline codes to be excluded. Split multiple airlines with a comma. Each airline code should be a 2-character IATA code consisting of either two uppercase letters or one uppercase letter and one digit. You can search f |
| `bags` | string | No | Parameter defines the number of carry-on bags. Default to `0`. Parameter should not exceed the total number of passengers with carry-on bag allowance (`adults`, `children` and `infants_in_seat`). |
| `max_price` | string | No | Parameter defines the maximum ticket price. Default to unlimited. |
| `max_duration` | string | No | Parameter defines the maximum flight duration, in minutes. For example, specify `1500` for 25 hours. If your search returns no results, try increasing your `max_duration` by up to `200` minutes to account for route-specific scheduling varia |
| `json_restrictor` | string | No | Parameter defines the fields you want to include in the output, reducing payload size for faster response. See the JSON Restrictor documentation for more details. |

#### Pricing

$0.010 per successful call. Failed calls are not charged.
