API Hop Docs
Google Hotels endpoint reference
Search Google Hotels, hotel suggestions, photos and reviews.
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-hotels/search GET /v1/google-hotels/autocomplete GET /v1/google-hotels/photos GET /v1/google-hotels/reviews Search Google Hotels, hotel suggestions, photos and reviews.
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 Hotels: Search hotels
GET https://api.apihop.ai/v1/google-hotels/search
Request parameters
| Field | Type | Constraints | Example |
|---|---|---|---|
query | string | Text to search for on the selected service. At most 8,192 UTF-8 bytes.; query: optional | hotels in New York |
next_page_token | string | Copy the opaque next_page_token from the previous response using the same account, search parameters, device, and result limit. Tokens expire after one hour; restart pagination if rejected or expired.; next_page_token: optional; UTF-8 bytes: 24576 | - |
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}$ | USD |
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 | 1 |
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 |
check_in_date | string | Check-in date, YYYY-MM-DD. Supply both dates or let Google choose the default stay.; check_in_date: optional; ^[0-9]{4}-[0-9]{2}-[0-9]{2}$ | - |
check_out_date | string | Check-out date, later than check-in.; check_out_date: optional; ^[0-9]{4}-[0-9]{2}-[0-9]{2}$ | - |
adults | integer | Adults, default 2. At most 100 guests per request.; adults: optional; min: 1; max: 100 | 1 |
children | integer | Children, default 0. Adults and children together must not exceed 100.; children: optional; min: 0; max: 99 | 0 |
children_ages | string | Comma-separated ages from 1 through 17, matching children. If omitted, Google's default age of 12 is used.; children_ages: optional; UTF-8 bytes: 296; ^(?:[1-9]|1[0-7])(?:,(?:[1-9]|1[0-7])){0,98}$ | - |
sort_by | string | Order properties by relevance, nightly price, rating, or review count.; sort_by: optional; relevance, lowest_price, highest_rating, most_reviewed | relevance |
min_price | integer | Minimum nightly price in the selected currency.; min_price: optional; min: 0; max: 2147483647 | 0 |
max_price | integer | Maximum nightly price in the selected currency.; max_price: optional; min: 1; max: 2147483647 | 1 |
rating | integer | Minimum guest rating: 7 means 3.5+, 8 means 4.0+, 9 means 4.5+.; rating: optional; 7, 8, 9 | 7 |
hotel_class | string | Comma-separated hotel classes from 2 through 5 stars.; hotel_class: optional; UTF-8 bytes: 7 | - |
amenities | string | Comma-separated amenity IDs. Hotels and vacation rentals use different catalogs; for hotels, 6 means pool and 1 means free parking.; amenities: optional; UTF-8 bytes: 300; ^[1-9][0-9]*(?:,[1-9][0-9]*)*$ | - |
free_cancellation | boolean | Restrict to offers with free cancellation.; free_cancellation: optional | true |
special_offers | boolean | Restrict to properties with special offers.; special_offers: optional | true |
eco_certified | boolean | Restrict to eco-certified properties.; eco_certified: optional | true |
property_types | string | Comma-separated property type IDs. Hotels and vacation rentals use different catalogs.; property_types: optional; UTF-8 bytes: 100; ^[1-9][0-9]*(?:,[1-9][0-9]*)*$ | - |
brands | string | Comma-separated hotel brand or group IDs. Unavailable for vacation rentals.; brands: optional; UTF-8 bytes: 300; ^[1-9][0-9]{0,5}(?:,[1-9][0-9]{0,5})*$ | - |
vacation_rentals | boolean | Search vacation rentals instead of hotels.; vacation_rentals: optional | true |
bedrooms | integer | Minimum bedrooms. Requires vacation_rentals=true.; bedrooms: optional; min: 0; max: 2147483647 | 0 |
bathrooms | integer | Minimum bathrooms. Requires vacation_rentals=true.; bathrooms: optional; min: 0; max: 2147483647 | 0 |
property_token | string | Google Hotels property entity token. Returns one property with stay prices and details; query is optional in this mode.; property_token: optional; UTF-8 bytes: 256; ^[A-Za-z0-9_-]{16,256}$ | - |
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})?$/min_price <= max_pricecheck_in_date AND check_out_date: supply both or neither; valid YYYY-MM-DD dates; check_out_date > check_in_datequery OR property_token OR next_page_token: requiredadults (default 2) + children <= 100; children_ages: comma-separated ages 0..17; count = childrenbedrooms OR bathrooms => vacation_rentals = true; vacation_rentals = true => NOT brandsTokens: copy the exact token from a fresh response; do not invent or reuse expired tokens; each page or token lookup is a separate billable successful request
Examples
curl --get "https://api.apihop.ai/v1/google-hotels/search" \
-H "Authorization: Bearer YOUR_API_KEY" \
--data-urlencode "currency=USD" \
--data-urlencode "query=hotels in New York"Google Hotels: Get hotel suggestions
GET https://api.apihop.ai/v1/google-hotels/autocomplete
Request parameters
| Field | Type | Constraints | Example |
|---|---|---|---|
query | string | Text to search for on the selected service. At most 8,192 UTF-8 bytes.; query: REQUIRED | New York |
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 | 1 |
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 |
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 |
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})?$/
Examples
curl --get "https://api.apihop.ai/v1/google-hotels/autocomplete" \
-H "Authorization: Bearer YOUR_API_KEY" \
--data-urlencode "query=New York"Google Hotels: Get hotel photos
GET https://api.apihop.ai/v1/google-hotels/photos
Request parameters
| Field | Type | Constraints | Example |
|---|---|---|---|
id | string | The provider's identifier, as returned by its search results.; id: REQUIRED | ChgI-N6n0Nnyw_K2ARoLL2cvMXRqZGgzMjkQAQ |
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 | 1 |
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 |
next_page_token | string | Copy the opaque next_page_token from the previous response using the same account, search parameters, device, and result limit. Tokens expire after one hour; restart pagination if rejected or expired.; next_page_token: optional; UTF-8 bytes: 24576 | - |
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})?$/Tokens: copy the exact token from a fresh response; do not invent or reuse expired tokens; each page or token lookup is a separate billable successful request
Examples
curl --get "https://api.apihop.ai/v1/google-hotels/photos" \
-H "Authorization: Bearer YOUR_API_KEY" \
--data-urlencode "id=ChgI-N6n0Nnyw_K2ARoLL2cvMXRqZGgzMjkQAQ"Google Hotels: Get hotel reviews
GET https://api.apihop.ai/v1/google-hotels/reviews
Request parameters
| Field | Type | Constraints | Example |
|---|---|---|---|
id | string | The provider's identifier, as returned by its search results.; id: REQUIRED | ChgI-N6n0Nnyw_K2ARoLL2cvMXRqZGgzMjkQAQ |
next_page_token | string | Copy the opaque next_page_token from the previous response using the same account, search parameters, device, and result limit. Tokens expire after one hour; restart pagination if rejected or expired.; next_page_token: optional; UTF-8 bytes: 24576 | - |
sort_by | string | The provider's supported sort order.; sort_by: optional; relevance, newest, highest_rating, lowest_rating | relevance |
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: 10 | 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 |
category_token | string | Review topic token from the property details reviews_breakdown. Bound to the property and language.; category_token: optional; UTF-8 bytes: 2800; ^[A-Za-z0-9_-]+$ | - |
source_number | integer | Review source: 0 for all (default), -1 for Google, or a source_number from the property details other_reviews list. A source with no reviews returns an empty list.; source_number: optional; min: -1; max: 2147483647 | -1 |
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})?$/Tokens: copy the exact token from a fresh response; do not invent or reuse expired tokens; each page or token lookup is a separate billable successful request
Examples
curl --get "https://api.apihop.ai/v1/google-hotels/reviews" \
-H "Authorization: Bearer YOUR_API_KEY" \
--data-urlencode "id=ChgI-N6n0Nnyw_K2ARoLL2cvMXRqZGgzMjkQAQ" \
--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": []
}
}
}