All APIs

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.

POST /v1/google/hotels/search
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

ParameterUsage
queryText to search for on the selected service.
next_page_tokenCopy 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.
currencyThree-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

countryTwo-letter country or storefront code, such as us or gb.
languageProvider-supported language code, such as en.
limitMaximum number of items to return. The provider may return fewer.
deviceDevice presentation for the source request.

desktop, mobile, tablet

htmlReturn the encoded original response rather than parsed JSON.
zero_traceDo not archive source or parsed response artifacts.
check_in_dateCheck-in date, YYYY-MM-DD. Supply both dates or let Google choose the default stay.
check_out_dateCheck-out date, later than check-in.
adultsAdults, default 2. At most 100 guests per request.
childrenChildren, default 0. Adults and children together must not exceed 100.
children_agesComma-separated ages from 1 through 17, matching children. If omitted, Google's default age of 12 is used.
sort_byOrder properties by relevance, nightly price, rating, or review count.

relevance, lowest_price, highest_rating, most_reviewed

min_priceMinimum nightly price in the selected currency.
max_priceMaximum nightly price in the selected currency.
ratingMinimum guest rating: 7 means 3.5+, 8 means 4.0+, 9 means 4.5+.

7, 8, 9

hotel_classComma-separated hotel classes from 2 through 5 stars.
amenitiesComma-separated amenity IDs. Hotels and vacation rentals use different catalogs; for hotels, 6 means pool and 1 means free parking.
free_cancellationRestrict to offers with free cancellation.
special_offersRestrict to properties with special offers.
eco_certifiedRestrict to eco-certified properties.
property_typesComma-separated property type IDs. Hotels and vacation rentals use different catalogs.
brandsComma-separated hotel brand or group IDs. Unavailable for vacation rentals.
vacation_rentalsSearch vacation rentals instead of hotels.
bedroomsMinimum bedrooms. Requires vacation_rentals=true.
bathroomsMinimum bathrooms. Requires vacation_rentals=true.
property_tokenGoogle 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_summarysnippetthumbnailtitletypeurlwebsite

Continue 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.