API Hop

Documentation

API Hop Docs

Google Travel Explore endpoint reference

Explore travel destinations on Google Travel Explore.

Concurrency limit

AI and Data each share an account-wide pool of concurrent slots: 5 AI / 2 Data by default, adjusted by your subscription. Endpoint overrides still cannot exceed the category pool. Reaching either limit returns HTTP 429. Asynchronous tasks occupy a slot until execution ends.

GET /v1/google-travel-explore/search
Default limit: 2

Explore travel destinations on Google Travel Explore.

Authentication and billing

The default price is $0.0003 (300 credits) per successful request. Use your API Hop API key. Availability depends on active gateways and key permissions. Check the current catalog and your account for the price per successful request; account-specific pricing takes precedence. Successful empty results are billable. Failed requests release the credit reservation. Requests time out after 60 seconds, with no automatic retry or pagination. Settlement failures never repeat the upstream request.

http
Authorization: Bearer YOUR_API_KEY

Google Travel Explore: Explore destinations

GET https://api.apihop.ai/v1/google-travel-explore/search

Request parameters

FieldTypeConstraintsExample
departure_idstringOne or more comma-separated IATA airport or Google travel city IDs. Use flight autocomplete to resolve identifiers.; departure_id: REQUIRED; ^(?:[A-Z]{3}|/[mg]/[A-Za-z0-9_]+)(?:,(?:[A-Z]{3}|/[mg]/[A-Za-z0-9_]+))*$JFK
arrival_idstringOne destination airport or city ID; returns flights to that destination.; arrival_id: optional; UTF-8 bytes: 128; ^(?:[A-Z]{3}|/[mg]/[A-Za-z0-9_]+)$-
arrival_area_idstringGoogle region or country ID from flight autocomplete; limits destination geography.; arrival_area_id: optional; UTF-8 bytes: 128; ^/[mg]/[A-Za-z0-9_]+$-
travel_modeinteger0: all destinations, including places reachable by car (default); 1: flights only.; travel_mode: optional; min: 0; max: 10
intereststringDestination interest: 0 popular; /g/11bc58l13w outdoors; /m/0b3yr beaches; /m/09cmq museums; /m/03g3w history; /m/071k0 skiing.; interest: optional; 0, /g/11bc58l13w, /m/0b3yr, /m/09cmq, /m/03g3w, /m/071k00
typeinteger1: round trip (default); 2: one way. Response metadata uses trip_type.; type: optional; 1, 21
outbound_datestringDeparture date in YYYY-MM-DD format.; outbound_date: optional; ^[0-9]{4}-[0-9]{2}-[0-9]{2}$-
return_datestringReturn date in YYYY-MM-DD format; omit for a one-way trip.; return_date: optional; ^[0-9]{4}-[0-9]{2}-[0-9]{2}$-
monthintegerFlexible departure month: 0 means all of the next six months; 1 through 12 select an available month, including the current month.; month: optional; min: 0; max: 120
travel_durationintegerFlexible round-trip duration: 1 weekend; 2 one week (default); 3 two weeks.; travel_duration: optional; min: 1; max: 31
travel_classstringCabin class supported by the selected flight operation.; travel_class: optional; economy, premium_economy, business, firsteconomy
adultsintegerNumber of adult travelers, from 1 to 9.; adults: optional; min: 1; max: 91
childrenintegerNumber of children aged 2–11. At most nine travelers total.; children: optional; min: 0; max: 80
infants_in_seatintegerNumber of infants under 2 traveling in their own seats. At most nine travelers total.; infants_in_seat: optional; min: 0; max: 80
infants_on_lapintegerNumber of infants under 2 traveling on an adult’s lap; cannot exceed adults. At most nine travelers total.; infants_on_lap: optional; min: 0; max: 80
stopsinteger0: any stops; 1: nonstop; 2: at most one stop; 3: at most two stops.; stops: optional; min: 0; max: 30
include_airlinesstringComma-separated IATA airline codes or STAR_ALLIANCE, SKYTEAM, ONEWORLD.; include_airlines: optional; UTF-8 bytes: 1000; ^(?:[A-Z][A-Z0-9]|[0-9][A-Z]|STAR_ALLIANCE|SKYTEAM|ONEWORLD)(?:,(?:[A-Z][A-Z0-9]|[0-9][A-Z]|STAR_ALLIANCE|SKYTEAM|ONEWORLD))*$-
exclude_airlinesstringExclude comma-separated IATA airline codes or alliances.; exclude_airlines: optional; UTF-8 bytes: 1000; ^(?:[A-Z][A-Z0-9]|[0-9][A-Z]|STAR_ALLIANCE|SKYTEAM|ONEWORLD)(?:,(?:[A-Z][A-Z0-9]|[0-9][A-Z]|STAR_ALLIANCE|SKYTEAM|ONEWORLD))*$-
bagsintegerCarry-on bags; cannot exceed adults, children and seated infants combined.; bags: optional; min: 0; max: 90
max_priceintegerMaximum total fare in the requested currency.; max_price: optional; min: 1; max: 21474836471
max_durationintegerMaximum flight duration in minutes.; max_duration: optional; min: 1; max: 21474836471
currencystringThree-letter currency code, such as USD.; currency: optional; ALL, DZD, ARS, AMD, AWG, AUD, AZN, BSD, BHD, BYN, BMD, BAM, BRL, GBP, BGN, XPF, CAD, CLP, CNY, COP, CRC, CUP, CZK, DKK, DOP, EGP, EUR, GEL, HKD, HUF, ISK, INR, IDR, IRR, ILS, JMD, JPY, JOD, KZT, KWD, LBP, MKD, MYR, MXN, MDL, MAD, TWD, NZD, NOK, OMR, PKR, PAB, PEN, PHP, PLN, QAR, RON, RUB, SAR, RSD, SGD, ZAR, KRW, SEK, CHF, THB, TRY, USD, UAH, AED, VND; ^[A-Z]{3}$ALL
countrystringTwo-letter country or storefront code, such as us or gb.; country: optional; ^[A-Za-z]{2}$-
languagestringProvider-supported language code, such as en.; language: optional-
limitintegerMaximum number of items to return. The provider may return fewer.; limit: optional; min: 1; max: 10010
devicestringDevice presentation for the source request.; device: optional; desktop, mobile, tabletdesktop
zero_tracebooleanDo not archive source or parsed response artifacts.; zero_trace: optionaltrue

Validation rules

Send query parameters only, without a request body. Unknown, repeated, empty or invalid values are rejected. Only JSON responses are supported. No automatic pagination or retry is performed. The rules below use AND, OR, XOR (exactly one), NOT and => (requires).

  • GET query only; body = null; response = JSON; html, output, json_restrictor, no_cache: NOT supported
  • string: UTF-8 bytes <= maxLength (default 8192); boolean = true OR false; integer: safe integer
  • language: /^[A-Za-z]{2,3}(?:[-_][A-Za-z]{2,4})?$/
  • adults (default 1) + children + infants_in_seat + infants_on_lap <= 9; infants_on_lap <= adults
  • bags <= adults + children + infants_in_seat
  • outbound_date, return_date: valid YYYY-MM-DD; return_date >= outbound_date; type = 2 => NOT return_date

Examples

bash
curl --get "https://api.apihop.ai/v1/google-travel-explore/search" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  --data-urlencode "departure_id=JFK" \
  --data-urlencode "limit=10"

Responses and errors

The native JSON response and numeric precision are preserved. The example below illustrates an empty successful result, not a live call. HTTP 400 means invalid input; 401 authentication required; 402 insufficient credit; 403 unavailable or unauthorized; 405 unsupported method; 429 rate limit; 5xx service or upstream failure. Keep X-Request-Id for diagnosis.

json
{
  "success": true,
  "request_id": "example-request",
  "data": {
    "format": "json",
    "content": {
      "results": []
    }
  }
}