Response Fields

This page describes the structure and meaning of fields returned by the Google Hotels API. The response contains metadata about the request and a list of hotel results extracted from Google Hotels.

Field Summary

The table below provides a quick overview of the main fields returned by the Google Hotels API response.

Field
Type
Description

url

string

Final Google Hotels search URL used to retrieve the results.

general

object

Metadata about the search environment and request configuration.

input

object

Information about the original request processed by the API.

hotels

array

List of hotel result objects extracted from Google Hotels.


Hotel Object Fields Summary

Each element inside the hotels array contains the following fields:

Field
Type
Description

name

string

Name of the hotel.

tags

array

Labels assigned by Google Hotels such as location highlights.

link

string

Direct Google Hotels link to the property listing.

propertyToken

string

Unique Google identifier representing the hotel entity.

hotelClass

string

Text representation of the hotel's star rating.

extractedHotelClass

integer

Numeric version of the hotel class.

overallRating

float

Average rating for the hotel.

ratePerNight

object

Information about the lowest nightly rate.

totalRate

object

Information about the total stay price based on selected dates.

reviews

string

Total number of reviews displayed by Google Hotels.

amenities

array

List of hotel amenities.

images

array

List of hotel image objects.

reviewsLink

string

Direct link to the hotel's reviews page.

rank

integer

Position of the hotel in the search results.


Top-Level Fields

url

The final Google Hotels URL used to retrieve the results.

This URL reflects the fully constructed search query including filters, location targeting, and encoded Google parameters.

Example


general

Metadata describing the request environment and search configuration.

Fields

Field
Description

searchEngine

Search engine used for the request.

language

Language used in the request.

device

Device type used for the request.

searchType

Type of search performed.

pageTitle

Title of the Google Hotels results page.

timestamp

Timestamp when the request was processed.

render

Indicates whether rendering was enabled.

Example


input

Information about the original request processed by the API.

Fields

Field
Description

originalUrl

Google search URL generated from the request parameters.

jobId

Unique identifier assigned to the scraping job.

Example


Hotels Array

The hotels field contains a list of hotel objects extracted from Google Hotels.

Each object represents a single hotel listing.

Example


Hotel Object Fields

name

Name of the hotel.


tags

Special labels applied to the hotel by Google Hotels.


Direct Google Hotels link to the property listing.


propertyToken

Unique Google identifier representing the hotel entity.


hotelClass

Text representation of the hotel's class rating.


extractedHotelClass

Numeric version of the hotel class.


overallRating

Average user rating for the hotel.


ratePerNight

Lowest nightly rate for the hotel.


totalRate

Total price for the stay based on selected dates.


reviews

Number of reviews for the hotel.


amenities

List of amenities provided by the hotel.


images

List of image objects associated with the hotel.


Direct link to the hotel's reviews page.


rank

Position of the hotel in the returned search results.


Example Hotel Object

Last updated