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 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.
Authorization: Bearer YOUR_API_KEYGoogle Travel Explore: Explore destinations
GET https://api.apihop.ai/v1/google-travel-explore/search
Request parameters
| Field | Type | Constraints | Example |
|---|---|---|---|
departure_id | string | One 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_id | string | One 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_id | string | Google region or country ID from flight autocomplete; limits destination geography.; arrival_area_id: optional; UTF-8 bytes: 128; ^/[mg]/[A-Za-z0-9_]+$ | - |
travel_mode | integer | 0: all destinations, including places reachable by car (default); 1: flights only.; travel_mode: optional; min: 0; max: 1 | 0 |
interest | string | Destination 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/071k0 | 0 |
type | integer | 1: round trip (default); 2: one way. Response metadata uses trip_type.; type: optional; 1, 2 | 1 |
outbound_date | string | Departure date in YYYY-MM-DD format.; outbound_date: optional; ^[0-9]{4}-[0-9]{2}-[0-9]{2}$ | - |
return_date | string | Return date in YYYY-MM-DD format; omit for a one-way trip.; return_date: optional; ^[0-9]{4}-[0-9]{2}-[0-9]{2}$ | - |
month | integer | Flexible 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: 12 | 0 |
travel_duration | integer | Flexible round-trip duration: 1 weekend; 2 one week (default); 3 two weeks.; travel_duration: optional; min: 1; max: 3 | 1 |
travel_class | string | Cabin class supported by the selected flight operation.; travel_class: optional; economy, premium_economy, business, first | economy |
adults | integer | Number of adult travelers, from 1 to 9.; adults: optional; min: 1; max: 9 | 1 |
children | integer | Number of children aged 2–11. At most nine travelers total.; children: optional; min: 0; max: 8 | 0 |
infants_in_seat | integer | Number of infants under 2 traveling in their own seats. At most nine travelers total.; infants_in_seat: optional; min: 0; max: 8 | 0 |
infants_on_lap | integer | Number 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: 8 | 0 |
stops | integer | 0: any stops; 1: nonstop; 2: at most one stop; 3: at most two stops.; stops: optional; min: 0; max: 3 | 0 |
include_airlines | string | Comma-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_airlines | string | Exclude 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))*$ | - |
bags | integer | Carry-on bags; cannot exceed adults, children and seated infants combined.; bags: optional; min: 0; max: 9 | 0 |
max_price | integer | Maximum total fare in the requested currency.; max_price: optional; min: 1; max: 2147483647 | 1 |
max_duration | integer | Maximum flight duration in minutes.; max_duration: optional; min: 1; max: 2147483647 | 1 |
currency | string | Three-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 |
country | string | Two-letter country or storefront code, such as us or gb.; country: optional; ^[A-Za-z]{2}$ | - |
language | string | Provider-supported language code, such as en.; language: optional | - |
limit | integer | Maximum number of items to return. The provider may return fewer.; limit: optional; min: 1; max: 100 | 10 |
device | string | Device presentation for the source request.; device: optional; desktop, mobile, tablet | desktop |
zero_trace | boolean | Do not archive source or parsed response artifacts.; zero_trace: optional | true |
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 supportedstring: UTF-8 bytes <= maxLength (default 8192); boolean = true OR false; integer: safe integerlanguage: /^[A-Za-z]{2,3}(?:[-_][A-Za-z]{2,4})?$/adults (default 1) + children + infants_in_seat + infants_on_lap <= 9; infants_on_lap <= adultsbags <= adults + children + infants_in_seatoutbound_date, return_date: valid YYYY-MM-DD; return_date >= outbound_date; type = 2 => NOT return_date
Examples
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.
{
"success": true,
"request_id": "example-request",
"data": {
"format": "json",
"content": {
"results": []
}
}
}