Best for:

Please note: In order to target Hotels and data with Google Travel, you need to enable the ”Allow hotel requests” feature within your SERP API zone on the control panel

Occupancy

‘hotel_occupancy’ - Number of guests to book a room for (up to 4).

  • hotel_occupancy=1 - for 1 guest
  • hotel_occupancy=2 (default) - for 2 guests
curl -v --compressed --proxy zproxy.lum-superproxy.io:22225 --proxy-user brd-customer-<CUSTOMER_ID>-zone-<ZONE_NAME>:<ZONE_PASSWORD> ”[https://www.google.com/search?q=pizza&hotel_occupancy=4](https://www.google.com/search?q=pizza&gl=us)"

Dates

‘hotel_dates’ - Check-in date and check-out date. It should be separated by a comma ”,“.

Format: YYYY-MM-DD,YYYY-MM-DD

Examples:

  • hotel_dates=2024-05-01,2024-05-03 - To find rooms available from 1st until 3rd of May, 2024
curl -v --compressed --proxy zproxy.lum-superproxy.io:22225 --proxy-user brd-customer-<CUSTOMER_ID>-zone-<ZONE_NAME>:<ZONE_PASSWORD> ”[https://www.google.com/search?q=pizza&hotel_dates=2024-05-01%2C2024-05-03](https://www.google.com/search?q=pizza&gl=us)"

Bright Data’s SERP API makes it easy to collect hotel data, like prices, availability, reviews, and more. 

Here’s how to collect the data from the hotel knowledge graph using Google Search and how to get even more details from the hotel page on Google Travel. 

When you search for a hotel using Google Search, its details and reviews appear in the resulting knowledge graph on the right.

Setting arrival and departure dates along with the number of guests lets you see and compare some of the hotel’s prices. 

With SERP API, you can set these fields to collect different price combinations using dedicated parameters. Go to the SERP API playground to learn more.

The SERP API also lets you target the hotel page in Google Travel, where you can find more prices and search by more parameters (including arrival and departure dates, the number of adults and children, the children’s ages, and whether or not it has free cancellation) to collect more price combinations. Go to the API Guide to learn more.