Call it
curl https://api.peume.com/v1/call/google-search-hotel-rates \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"check_out_date": "your check out date",
"q": "your q",
"check_in_date": "your check in date"
}
}'const res = await fetch("https://api.peume.com/v1/call/google-search-hotel-rates", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"check_out_date": "your check out date",
"q": "your q",
"check_in_date": "your check in date"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/google-search-hotel-rates",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"check_out_date": "your check out date",
"q": "your q",
"check_in_date": "your check in date"
}
},
)
print(res.json()["output"])Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: google-search-hotel-rates.
Parameters
amenitiesstringTo include only results that offer specified amenities. For Vacation Rentals, please refer to the Google Vacation Rentals Amenities page for a full list of supported **Vacation Rentals** amenities. Example for single amenity only: `35` Example for multiple amenities (separated by comma `,`): `35,9,19`
check_out_dateRequiredstringThe check-out date. The format is **YYYY-MM-DD**. e.g. `2026-12-03`
hlstringThe language to use for the Google Hotels search. It's a two or three-letter language code. (e.g., `en` for English, `es` for Spanish, or `fr` for French), optionally followed by a two-letter or three-digit region code (e.g., `en-gb` for British English, or `es-419` for Latin American Spanish).
adultsstringThe number of adults. Default to `2`.
children_agesstringThe ages of children. The age range is from `1` to `17`, with children who haven't reached 1 year old being considered as `1`. Example for single child only: `5` Example for multiple children (separated by comma `,`): `5,8,10` The number of children's ages specified must match the `children`.
ratingstringFiltering the results to certain rating. Available options: `7` - 3.5+ `8` - 4.0+ `9` - 4.5+
sort_bystringSorting the results. Default is sort by `Relevance`. Available options: `3` - Lowest price `8` - Highest rating `13` - Most reviewed
geo_searchstringSet to `true` to perform the search as a user in the `gl` country would. Booking providers and their prices then more closely reflect what that user sees on Google Hotels. For the United States, and for countries where this is not available, the search is processed as usual. Default to `false`.
hotel_classstringTo include only certain hotel class in the results. Available options: `2` - 2-star `3` - 3-star `4` - 4-star `5` - 5-star Example for single hotel class only: `2` Example for multiple hotel class (separated by comma `,`): `2,3,4` This parameter isn't available for Vacation Rentals.
next_page_tokenstringThe next page token. It is used for retrieving the next page results.
childrenstringThe number of children. Default to `0`.
currencystringThe currency of the returned prices. Default to `USD`.
brandsstringThe brands where you want your search to be concentrated. ID values are accessible inside `brands` array, located in our JSON output (e.g. `brands[0].id`). Example for single brand only: `33` Example for multiple brands (separated by comma `,`): `33,67,101` This parameter isn't available for Vacation Rentals.
vacation_rentalsstringTo search for Vacation Rentals results. Default search is for Hotels.
glstringThe 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)
bathroomsstringThe minimum number of bathrooms. Default to `0`. This parameter only available for Vacation Rentals.
bedroomsstringThe minimum number of bedrooms. Default to `0`. This parameter only available for Vacation Rentals.
qRequiredstringThe search query. You can use anything that you would use in a regular Google Hotels search. Parameter isn't required when using `property_token`, and is ignored if both are set.
free_cancellationstringTo show results that offer free cancellation. This parameter isn't available for Vacation Rentals.
special_offersstringTo show results that have special offers. This parameter isn't available for Vacation Rentals.
max_pricestringThe upper bound of price range.
min_pricestringThe lower bound of price range.
property_typesstringTo include only certain type of property in the results. For Vacation Rentals, please refer to the Google Vacation Rentals Property Types page for a full list of supported **Vacation Rentals** property types. Example for single property type only: `17` Example for multiple property types (separated by comma `,`): `17,12,18`
eco_certifiedstringTo show results that are eco certified. This parameter isn't available for Vacation Rentals.
property_tokenstringGet property details which consists of name, address, phone, prices, nearby places, and etc. You can find `property_token` from Google Hotels Properties API. Parameter can be used without `q`. If both are set, `q` is ignored.
json_restrictorstringThe fields you want to include in the output, reducing payload size for faster response. See the JSON Restrictor documentation for more details.
check_in_dateRequiredstringThe check-in date. The format is **YYYY-MM-DD**. e.g. `2026-12-02`
