TRAVELAIDEVELOPER TOOLS API MCP READY

Google Travel Explore API

Discover where you can travel from any airport with Google Travel Explore: destination ideas with flight prices, hotel prices, trip dates, duration, and stops as structured JSON. For travel sites, agencies, and AI travel agents. Pay per destination, MCP-ready.

MEDIAN LAGon demand
PARAMETERS5
TOTAL USERS10
MONTHLY ACTIVE6
TOTAL RUNS44
RUNS SUCCEEDED100.0%
RATING5.0 (1)

Input parameters

PARAMETERTYPEREQDEFAULTDESCRIPTION
departureId string no Enter a single departure airport code to explore destinations from, for example 'JFK', 'LAX', or 'LHR'. Provide this, `departureIds`, or both.
departureIds string[] no Provide a list of departure airport codes to explore in one run, for example ['JFK', 'SFO'].
gl string no us Set the two-letter country code for pricing and localization (e.g. 'us', 'gb', 'de').
hl string no en Set the two-letter interface language code (e.g. 'en', 'es', 'de').
maxResultsPerDeparture integer no 50 How many destination ideas to return per departure airport. — drives your bill

Worked examples

Basic — the required input, with the schema's own example values
{
  "departureId": "JFK",
  "departureIds": [
    "example"
  ]
}

Tasks

Saved runs with the inputs already filled in — each one a standalone page and a working configuration example.

Request a task →

Code

curl

curl -X POST "https://api.apify.com/v2/acts/johnvc~google-travel-explore-api/run-sync-get-dataset-items" \
  -H "Authorization: Bearer $APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"departureId": "JFK", "departureIds": ["example"]}'

Python

from apify_client import ApifyClient

client = ApifyClient("APIFY_TOKEN")
run = client.actor("johnvc/google-travel-explore-api").call(
    run_input={'departureId': 'JFK', 'departureIds': ['example']}
)
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)