Commerce5 min readBy Purrkey team

How to compare Google Hotels rates for a stay

Compare up to 20 Google Hotels property listings by price, rating, amenities, and booking terms for chosen stay dates, then mark a shortlist for a client itinerary

On this page

You have a three-night Kyoto stay and need to compare up to 20 Google Hotels property listings, with a cancellation filter, before you put a shortlist into a client itinerary and a booking decision. Run serpapi.google_hotels.search for the stay dates, read the rate and rating fields, and mark which rows move to the shortlist

The table below is the deliverable design. Values here are placeholders showing the shape. Nothing in this article has been run. For the destination and date search setup around this task, see Search hotel stays by destination and dates

Build the shortlist table

One row per property listing. Use name, overall_rating, reviews, hotel_class, rate_per_night, total_rate, amenities, deal and a shortlist flag. The flag is your decision column, not a field returned by the tool

nameoverall_ratingreviewshotel_classrate_per_nighttotal_rateamenitiesdealshortlist flag
Example Kyoto Hotel A4.43184-starrate objecttotal objectamenity arraydeal stringyes
Example Kyoto Hotel B4.12053-starrate objecttotal objectamenity arrayemptyno

Values here are placeholders showing the shape. The tool returns at most 20 property listings per call, so this table design covers one search result set. A three-night comparison across more than 20 candidates needs another search with a different q and another call

Set the search inputs

The price block names the request as POST /v1/runs with toolId serpapi.google_hotels.search. Required inputs are q, check_in_date and check_out_date. Optional inputs are currency, free_cancellation, gl, hl and sort_by

q takes the search query and has a 1 to 500 character limit. Dates use YYYY-MM-DD. currency takes a three-letter uppercase code. gl takes a two-letter lowercase country code. hl takes a two- or three-letter language code with an optional region. sort_by accepts 3 for lowest price, 8 for highest rating or 13 for most reviewed. Set free_cancellation to true to apply the cancellation filter

Example inputs, to replace with your own stay:

FieldExample value
qKyoto hotels
check_in_date2027-03-12
check_out_date2027-03-15
currencyJPY
gljp
hlen
sort_by3

One call returns at most 20 property listings. That limit belongs to this step: if the shortlist needs more than 20 candidate rows, the single call will not produce them, so plan a second search with a different q and count the extra call

Read the output fields

The response has a properties array with up to 20 items. Each item gives name, overall_rating, reviews, hotel_class, rate_per_night, total_rate, amenities, deal, type, check_in_time, check_out_time, description, eco_certified, extracted_hotel_class and gps_coordinates

For the shortlist table, rate_per_night and total_rate are the price objects for the stay. overall_rating, reviews and hotel_class are the rating and class fields. amenities and deal give the extra terms you copy into the row. Use your own rule for the shortlist flag after you read those fields

A top-level notice field is set when the search engine returned no results for the query. The search still counts as one search. In that case the property table has no rows to review, and the call remains in the cost plan

The agent prompt

Agent prompt
Set up https://purrkey.app/SKILL.md, then use Purrkey to compare Google Hotels listings for a three-night Kyoto stay. Check the current inputs and price of serpapi.google_hotels.search before running anything. Use q "Kyoto hotels", check_in_date "2027-03-12", check_out_date "2027-03-15", currency "JPY", gl "jp", hl "en", sort_by "3", and free_cancellation true. Call serpapi.google_hotels.search once. Return a table with name, overall_rating, reviews, hotel_class, rate_per_night, total_rate, amenities, deal and shortlist flag. Mark shortlist flag yes or no from the returned fields. If the output notice is set, return an empty property table and note the notice. Do not guess missing values.

Replace the example dates and query with your stay before using the prompt. Keep the first run to one call so you can see the shape of the returned rows before you plan the 20-call batch

Estimated tool cost

The catalog read on November 24, 2026 lists serpapi.google_hotels.search at $0.015 per call, with unitPriceMicros 15000 and price revision serpapi-developer-retail-2026-11-18. The unit is max_call: "Maximum per call. Successful runs settle at the actual AnyAPI charge." The totals below are ceilings, not settled charges

StepFormulaUnit pricePlanned quantityTotal
One stay search1 call x max price$0.015 per call1$0.015
Planned batch20 calls x max price$0.015 per call20$0.30

A search that returns no results still counts as one search; failed searches are not charged. Agent model fees are not counted

Next action

Run the first stay search for the Kyoto dates, then decide whether the shortlist needs another query for more than 20 candidates. The tool page is Google Hotels search

Get started by giving this to your agent

  • Claude Code
  • Codex
  • Gemini CLI
  • Cursor
  • GitHub Copilot
Set up https://purrkey.app/SKILL.md, then use Purrkey to show me what I can do with Google Hotels.
Explore Google Hotels tools and pricing

FAQ

How do I compare Google Hotels rates for a stay?

Run serpapi.google_hotels.search with q, check_in_date and check_out_date, plus optional filters for currency, country, language, sort order or cancellation terms. Use the returned property rows to fill a shortlist table with name, rating, reviews, class, nightly rate, total rate, amenities, deal and a shortlist flag.

What inputs does serpapi.google_hotels.search take?

Required inputs are q, check_in_date and check_out_date. Optional inputs cover currency, cancellation filtering, country, language and sort order; dates use YYYY-MM-DD and sort_by accepts 3, 8 or 13.

How many property listings does one Google Hotels search return?

A call returns at most 20 property listings. If the response has a notice, the search engine returned no results and the search still counts.

Which output fields should I use to build a hotel shortlist?

Use name, overall_rating, reviews, hotel_class, rate_per_night, total_rate, amenities and deal from each item in the properties array. Add your own shortlist flag for the client itinerary decision.

How much does a Google Hotels stay search cost?

The price is $0.015 per call. One stay search is at most $0.015 and 20 stay searches are at most $0.30 at the listed maximum per call.

Does a Google Hotels search with no results cost anything?

Yes. A search that returns no results still counts as one search, while failed searches are not charged.

Next step

Try this with Google Hotels

The tool directory lists every endpoint with its current price. Inspect the inputs there, then let your agent run a small batch before scaling up.

See Google Hotels tools

Share this article