Call it
curl https://api.peume.com/v1/call/google-maps-read-place-reviews \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"hl": "your hl",
"next_page_token": "your next page token"
}
}'const res = await fetch("https://api.peume.com/v1/call/google-maps-read-place-reviews", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"hl": "your hl",
"next_page_token": "your next page token"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/google-maps-read-place-reviews",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"hl": "your hl",
"next_page_token": "your next page token"
}
},
)
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-maps-read-place-reviews.
Parameters
hlstringThe language to use for the Google Maps Reviews 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).
next_page_tokenstringThe next page token. It is used for retrieving the next page results. The next page token can be found in the JSON response: `pagination -> next_page_token` Usage of `start` parameter (results offset) has been discontinued by Google.
data_idstringThe Google Maps data ID. Find the data ID by using our Google Maps API. Either `data_id` or `place_id` should be set.
querystringA text query you want to use for filtering reviews. `query` and `topic_id` parameters can't be used together. Searches with `query` return at most 5 reviews, without pagination.
numstringThe maximum number of results to return. It ranges from `1` to `60`. It defaults to `10`.
sort_bystringSort and refine the results. Available options: `qualityScore` - the most relevant reviews (default). `newestFirst` - the most recent reviews. `ratingHigh` - the highest rating reviews. `ratingLow` - the lowest rating reviews. The total number of reviews returned may vary depending on the sorting option selected.
topic_idstringThe ID of the topic you want to use for filtering reviews. You can access IDs inside our structured JSON response. `topic_id` and `query` parameters can't be used together. Searches with `topic_id` return at most 5 reviews, without pagination.
json_restrictorstringThe fields you want to include in the output, reducing payload size for faster response. See the JSON Restrictor documentation for more details.
place_idstringThe unique reference to a place on a Google Map. Place IDs are available for most locations, including businesses, landmarks, parks, and intersections. You can find the `place_id` using our Google Maps API. You can read more about Place IDs here. Either `data_id` or `place_id` should be set.
