Example Requests
These examples show how to construct requests using filters such as location, travel dates, occupancy, and pricing
Basic Google Hotels Search
Request
curl -X GET "https://serp-api.netnut.io/search?engine=google_hotels&q=rome&hl=en&gl=us&adults=2&checkInDate=2026-04-10&checkOutDate=2026-04-12" \
-U "username:password"Example Response
{
"url": "https://www.google.com/travel/search?...",
"general": {
"searchEngine": "google_hotels",
"language": "en",
"device": "desktop",
"searchType": "text",
"pageTitle": "rome - Google Hotel Search",
"timestamp": "2026-03-10T13:29:47.328468801Z",
"render": false
},
"input": {
"originalUrl": "https://www.google.com/search?...",
"jobId": "b40c5eab-2694-4aa8-9114-68096e05102e"
},
"hotels": [
{
"name": "CC Palace Hotel Roma",
"tags": [
"Excellent location"
],
"link": "https://www.google.com/travel/hotels/entity/ChoItMjNnKqkq7aGARoNL2cvMTF0NWxndDc3NxAB?...",
"propertyToken": "ChoItMjNnKqkq7aGARoNL2cvMTF0NWxndDc3NxAB",
"hotelClass": "4-star hotel",
"extractedHotelClass": 4,
"overallRating": 4.7,
"ratePerNight": {
"lowest": "$126",
"extractedLowest": 126
},
"totalRate": {
"lowest": "$156 total",
"extractedLowest": 156
},
"reviews": "362",
"amenities": [
"Breakfast ($)",
"Free Wi-Fi",
"Parking ($)",
"Air conditioning",
"Bar",
"Restaurant",
"Airport shuttle",
"Accessible"
],
"images": [
{
"thumbnail": "https://lh3.googleusercontent.com/gps-cs-s/example1"
},
{
"thumbnail": "https://lh3.googleusercontent.com/p/example2"
}
],
"reviewsLink": "https://www.google.com/travel/hotels/entity/.../reviews",
"rank": 1
}
]
}In this response
Request with rawHtml=1
rawHtml=1Request
Example Response
In this response
Request with rawHtml=2
rawHtml=2Request
Example Response
In this response
Last updated
