Google Travel and Maps
Google Hotels API
Retrieve Google Hotels data.
Make a request
Use your existing PrismCrawl API key and credit balance. A completed request consumes one credit, including recognized empty or unavailable results and source changes found during a valid continuation. Validation and operational errors remain uncharged. Each completed continuation request is billed separately.
curl 'https://api.prismcrawl.com/v1/google/hotels/search' \
--request POST \
--header 'content-type: application/json' \
--header 'x-api-key: <PRISMCRAWL_API_KEY>' \
--data '{
"currency": "USD",
"query": "hotels in New York"
}'Supported parameters
| Parameter | Usage |
|---|---|
query | Text to search for on the selected service. |
next_page_token | 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. |
currency | Three-letter currency code, such as USD. 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 |
country | Two-letter country or storefront code, such as us or gb. |
language | Provider-supported language code, such as en. |
limit | Maximum number of items to return. The provider may return fewer. |
device | Device presentation for the source request. desktop, mobile, tablet |
html | Return the encoded original response rather than parsed JSON. |
zero_trace | Do not archive source or parsed response artifacts. |
check_in_date | Check-in date, YYYY-MM-DD. Supply both dates or let Google choose the default stay. |
check_out_date | Check-out date, later than check-in. |
adults | Adults, default 2. At most 100 guests per request. |
children | Children, default 0. Adults and children together must not exceed 100. |
children_ages | Comma-separated ages from 1 through 17, matching children. If omitted, Google's default age of 12 is used. |
sort_by | Order properties by relevance, nightly price, rating, or review count. relevance, lowest_price, highest_rating, most_reviewed |
min_price | Minimum nightly price in the selected currency. |
max_price | Maximum nightly price in the selected currency. |
rating | Minimum guest rating: 7 means 3.5+, 8 means 4.0+, 9 means 4.5+. 7, 8, 9 |
hotel_class | Comma-separated hotel classes from 2 through 5 stars. |
amenities | Comma-separated amenity IDs. Hotels and vacation rentals use different catalogs; for hotels, 6 means pool and 1 means free parking. |
free_cancellation | Restrict to offers with free cancellation. |
special_offers | Restrict to properties with special offers. |
eco_certified | Restrict to eco-certified properties. |
property_types | Comma-separated property type IDs. Hotels and vacation rentals use different catalogs. |
brands | Comma-separated hotel brand or group IDs. Unavailable for vacation rentals. |
vacation_rentals | Search vacation rentals instead of hotels. |
bedrooms | Minimum bedrooms. Requires vacation_rentals=true. |
bathrooms | Minimum bathrooms. Requires vacation_rentals=true. |
property_token | Google Hotels property entity token. Returns one property with stay prices and details; query is optional in this mode. |
Structured results
Read items from data.content.results. The response also includes the search metadata, pagination state, and any extracted SERP features. Optional fields appear when supplied by the provider.
addressamenitiescategorycheck_in_datecheck_out_datecoordinatesdescriptiondescription_paragraphshotel_classhotel_class_descriptionidimageslatitudelongitudemaps_urlnamenearby_placesother_reviewsphoneplace_idpositionpricesproperty_tokenrankrate_per_nightratingrating_distributionrating_maxrating_sourcereview_countreviews_breakdownreviews_summarysnippetthumbnailtitletypeurlwebsiteContinue with data.content.next_page_token when has_next_page is true. Omit page when using a token and keep the other request parameters unchanged, including the query or ID, country, language, device, result limit, and sort order. Stop when no token is returned. Tokens belong to the same account and expire after one hour. Restart pagination if a token is expired or rejected, including tokens issued before authenticated tokens were introduced. If the source inventory changes after a valid continuation is fetched, a completed HTTP 200 response costs one credit and marks pagination_limited: true with pagination_reason: stale_cursor. Keep any returned results and restart pagination; no continuation token is returned.
SDKs and guides
The official SDKs cover this endpoint with typed parameters, automatic retries, and pagination helpers.
- Python SDK:
pip install prismcrawl - Node.js SDK:
npm install prismcrawl