APIs / Travel / Google Travel Explore

1 credit per call1 endpoint13 datapointsChecked working 6 Dec 2026

Google Travel Explore API

Google Travel Explore API for flight destination explore results from a departure as JSON. One endpoint, 1 credit per successful call.

Google Travel Explore
GET/v1/google-travel-explore/flights-explore?departure_id=JFK&type=round_trip&gl=us&hl=en
{
  "search_metadata": {
    "departure_id": "JFK",
    "gl": "us",
    "hl": "en",
    "type": "round_trip"
  },
  "origin": {
    "name": "New York",
    "airport_code": "JFK",
    "city_kgmid": "/m/02_286",
    "coordinates": [
      40.7127753,
      -74.0059728
    ]
  },
  "destinations": [
    {
      "name": "San Francisco",
      "country": "United States",
      "kgmid": "/m/0d6lp",
      "airport_code": "SFO",
      "coordinates": [
        37.7749295,
        -122.4194155
      ],
      "image": "https://encrypted-tbn1.gstatic.com/images?q=tbn:ANd9GcRYJej5J9FpXbfAsrfHiBFGrVzol-KD7KjTNnzmsfXUsljIoBRyq9fcB0WvWVbu0kzsbhs6vx5A8fayVuZ3YWH5TT-Lac_5zFFOtwzEEmE",
      "flight_price": 288,
      "priced": true,
      "outbound_date": "2026-12-05",
      "return_date": "2026-12-12",
      "airlines": [
        {
          "code": "B6",
          "name": "JetBlue"
        }
      ],
      "stops": 1,
      "duration_minutes": 685
    },
    {
      "name": "Los Angeles",
      "country": "United States",
      "kgmid": "/m/030qb3t",
      "airport_code": "LAX",
      "coordinates": [
        34.0549076,
        -118.242643
      ],
      "image": "https://encrypted-tbn1.gstatic.com/images?q=tbn:ANd9GcR4WoWSategKIa29GTDRnXJBazMO3TWR83GPi4cN8uuwa1mLiSqRLI2p264hXuepRAWuapLZX72RChLpe5GYcqtqJlmqb5ILZDpmpygjn0",
      "flight_price": 327,
      "priced": true,
      "outbound_date": "2026-12-05",
      "return_date": "2026-12-12",
      "airlines": [
        {
          "code": "AA",
          "name": "American"
        }
      ],
      "stops": 0,
      "duration_minutes": 377
    },
    {
      "name": "Las Vegas",
      "country": "United States",
      "kgmid": "/m/0cv3w",
      "airport_code": "LAS",
      "coordinates": [
        36.171563,
        -115.1391009
      ],
      "image": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTNUjmCw2g7uc9g6hDCzGpJsyJ8rOl9D5onkB8xc2_KEMF_UTWi4V7jBWie3YOQeig9YgCFEg8_g3HTY8UWFcY0OppwN9up3nwYpZ40JEQ",
      "flight_price": 325,
      "priced": true,
      "outbound_date": "2026-12-05",
      "return_date": "2026-12-12",
      "airlines": [
        {
          "code": "AA",
          "name": "American"
        }
      ],
      "stops": 0,
      "duration_minutes": 366
    }
  ],
  "facets": {
    "price_bounds": [
      50,
      1500
    ],
    "alliances": [
      "ONEWORLD",
      "SKYTEAM",
      "STAR_ALLIANCE"
    ],
    "themes": [
      {
        "kgmid": "/g/11bc58l13w",
        "name": "Outdoors"
      },
      {
        "kgmid": "/m/0b3yr",
        "name": "Beaches"
      },
      {
        "kgmid": "/m/09cmq",
        "name": "Museums"
      }
    ]
  }
}
200 OKJSONX-Credits-Used: 1
Recorded 12 Nov 2026 and shortened.

Sample data

What one call returns

A recorded run of flights-explore: the fields and shapes you will get, shortened to 3 items.

#namestringcountrystringkgmidstringairport_codestringcoordinatesnumber[]imageurlflight_priceintegerpricedbooleanoutbound_datestringreturn_datestringairlinesobject[]stopsintegerduration_minutesinteger
1San FranciscoUnited States/m/0d6lpSFO[2 items]https://encrypted-tbn1.gstatic.com/images?q=tbn:ANd9GcRYJej5J9FpXbfAsrfHiBFGrVzol-KD7KjTNnzmsfXUsljIoBRyq9fcB0WvWVbu0kzsbhs6vx5A8fayVuZ3YWH5TT-Lac_5zFFOtwzEEmE288true2026-12-052026-12-12[1 item]1685
2Los AngelesUnited States/m/030qb3tLAX[2 items]https://encrypted-tbn1.gstatic.com/images?q=tbn:ANd9GcR4WoWSategKIa29GTDRnXJBazMO3TWR83GPi4cN8uuwa1mLiSqRLI2p264hXuepRAWuapLZX72RChLpe5GYcqtqJlmqb5ILZDpmpygjn0327true2026-12-052026-12-12[1 item]0377
3Las VegasUnited States/m/0cv3wLAS[2 items]https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTNUjmCw2g7uc9g6hDCzGpJsyJ8rOl9D5onkB8xc2_KEMF_UTWi4V7jBWie3YOQeig9YgCFEg8_g3HTY8UWFcY0OppwN9up3nwYpZ40JEQ325true2026-12-052026-12-12[1 item]0366

Recorded 12 Nov 2026 · 3 items shown · 13 datapoints per itemGET /v1/google-travel-explore/flights-explore?departure_id=JFK&type=round_trip&gl=us&hl=en

13 datapoints

Identity

  • namestring
  • kgmidstring

Location

  • countrystring

Reputation

  • imageurl

Price

  • flight_priceinteger
  • pricedboolean

Other

  • airport_codestring
  • coordinatesnumber[]
  • outbound_datestring
  • return_datestring
  • airlinesobject[]
  • stopsinteger
  • duration_minutesinteger

Playground

Run this API

cURLshell
curl "https://api.perceptlayer.com/v1/google-travel-explore/flights-explore?departure_id=JFK&type=round_trip&gl=us&hl=en" \
  -H "X-API-Key: $API_KEY"

Google Travel Explore · 1 endpoint

Endpoints

Every endpoint takes the same key. Open one for its parameters, the fields it returns and an example request.

EndpointRequired parametersReturnsCost
GET/v1/google-travel-explore/flights-explore
departure_id+8 optional
search_metadataorigindestinations
1 credit

Overview

About the Google Travel Explore API

What you can get

The Google Travel Explore API returns Google Travel Explore flight results as JSON through 1 endpoint.

  • Explore: flights-explore takes a departure_id, with type (round_trip or one_way), travel_class, adults, children, infants, max_price, gl (up to two characters) and hl.

It is one endpoint, so there is no call chain: you start from a departure and read what comes back. Passenger counts go in adults, children and infants as integers, and max_price is an integer too.

How a call works

Explore from a departure: GET /v1/google-travel-explore/flights-explore?departure_id=...&type=round_trip with your key in the X-API-Key header. The other parameters are optional: travel_class, the passenger counts, max_price, gl and hl. There are no paging parameters. Every successful call costs 1 credit; failed calls cost nothing.

TravelJSONRESTMCP

More travel APIs

Use cases

Feed an "anywhere from here" search into a travel app or agent

Use the Google Travel Explore API to feed an "anywhere from here" search into a travel app or agent

Compare round_trip and one_way explore results from the same departure

Use the Google Travel Explore API to compare round_trip and one_way explore results from the same departure

Re-run the same explore request on a schedule to watch how results change

Use the Google Travel Explore API to re-run the same explore request on a schedule to watch how results change

Cap results with `max_price` for budget-led trip ideas

Use the Google Travel Explore API to cap results with `max_price` for budget-led trip ideas

FAQ

Questions

Do I need a Google Travel Explore API key?

No. You call this Google Travel Explore API with your Perceptlayer key in the `X-API-Key` header, so there's no separate account or app to set up.

How much does the Google Travel Explore API cost?

Each successful call costs one credit. New accounts get free credits to start, and credit packs bring the price down as you scale.

What format are responses in?

Every endpoint returns JSON, with no HTML parsing on your side.

Can I search one-way trips?

Yes. Set `type` to one_way instead of round_trip on `flights-explore`.

Is this the official Google Travel Explore API?

No. Perceptlayer is an independent service and is not affiliated with Google Travel Explore. It returns Google Travel Explore data as JSON with a Perceptlayer key, so there is no Google Travel Explore developer account, app review or partner approval to get first. It only reads data: if Google Travel Explore has an official API and you need to act on your own Google Travel Explore account, such as posting, managing orders or reading private data, use that one.

Should I build a Google Travel Explore scraper instead?

You can, but a Google Travel Explore scraper is code you maintain: page changes break it, requests get blocked, and Google Travel Explore's terms govern how you collect data. The Google Travel Explore API gives you 1 endpoint of named JSON fields for 1 credit per successful call, and failed calls cost nothing. A scraper makes sense only for data these endpoints don't return, so check the response in the playground on this page first.

Try the Google Travel Explore API with 100 free credits

No credit card. Failed calls are never billed.