Call it
curl https://api.peume.com/v1/call/google-maps-reviews-reviews \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"limit": 20,
"url": "your url"
}
}'const res = await fetch("https://api.peume.com/v1/call/google-maps-reviews-reviews", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"limit": 20,
"url": "your url"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/google-maps-reviews-reviews",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"limit": 20,
"url": "your url"
}
},
)
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-reviews-reviews.
Parameters
page_tokenstringPagination token: pass back next_page_token from the previous response to get the next page; omit it for the first page. Keep every other parameter unchanged. Tokens last 24 hours and each page is one call.
limitintegerMaximum number of results, 1 to 100 (default 20). For some actions it counts pages or items per parent rather than final rows.
Example: 20
languagestringThe language used for the query or page content; the default is `en`. For reviews, `lang` overrides this value when both are supplied. This setting does not guarantee that every review was written in that language.
sortstringThe review order: `newest` for recent reviews or `relevance` for the platform's relevance order. Reviews default to `newest`. On profile, the same name can affect attached review data but does not sort the single place object. One of: newest, relevance.
newest · relevance
langstringThe reviews language option, such as `en`, `zhcn`, or `zhtw`; use the action's complete allowed-value list. It takes precedence over `language`. It does not filter by a review author's nationality. One of: af, am, ar, az, bg, bn, bs, ca, cs, da, de, el, en, es, es419, et, eu, fa, fi, fil, fr, gl, gu, hi, hr, hu, hy, id, is, it, iw, ja, ka, kk, km, kn, ko, ky, lo, lt, lv, mk, ml, mn, mr, ms, my, ne, nl, no, pa, pl, ptbr, ptpt, ro, ru, si, sk, sl, sq, sr, sv, sw, ta, te, th, tr, uk, ur, uz, vi, zhcn, zhtw, zu.
af · am · ar · az · bg · bn · bs · ca · cs · da · de · el …
urlRequiredstringA full Google Maps place URL, preferably the URL returned by search with `query_place_id` preserved. A `/place/` URL containing only a name and coordinates may not identify the same business reliably. Use profile for place details and reviews for that place's reviews.
sincestringThe lower publication-date boundary for reviews, preferably in `YYYY-MM-DD` format. It is not the business opening date. Its presence on the profile action does not mean place details are filtered by opening date.
