Call it
curl https://api.peume.com/v1/call/google-maps-reviews-place-details \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"url": "your url"
}
}'const res = await fetch("https://api.peume.com/v1/call/google-maps-reviews-place-details", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"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-place-details",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"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-place-details.
Parameters
citystringA city constraint for place discovery. Although the profile action also exposes this parameter, it cannot move a known business to another city or reliably replace the place URL.
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
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.
