Parameter defines the search query. You can use anything that you would use in a regular Google Hotels search.
glstring
Parameter defines the country to use for the Google Hotels search. It's a two-letter country code. (e.g., us for the United States, uk for United Kingdom, or fr for France)
hlstring
Parameter defines the language to use for the Google Hotels search. It's a two-letter language code. (e.g., en for English, es for Spanish, or fr for French).
asyncboolean
Parameter defines the way you want to submit your search to SerpApi.
adultsinteger
Parameter defines the number of adults. Default to 2.
outputstring
Parameter defines the final output you want. It can be set to json (default) to get a structured JSON of the results, or html to get the raw html retrieved.
ratinginteger
Parameter is used for filtering the results to certain rating.
sort_bystring
Parameter is used for sorting the results. Default is sort by Relevance.
bedroomsinteger
Parameter defines the minimum number of bedrooms. Default to 0.
childreninteger
Parameter defines the number of children. Default to 0.
currencystring
Parameter defines the currency of the returned prices. Default to USD.
no_cacheboolean
Parameter will force SerpApi to fetch the Google Hotels results even if a cached version is already present.
Observable output
data
Required
Data from the action execution
errorstring
Error if any occurred during the execution of the action
successfulboolean
Required
Whether or not the action execution was successful or not