Call it
curl https://api.peume.com/v1/call/google-maps-reviews-business-listings \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"limit": 20,
"category": "your category"
}
}'const res = await fetch("https://api.peume.com/v1/call/google-maps-reviews-business-listings", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"limit": 20,
"category": "your category"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/google-maps-reviews-business-listings",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"limit": 20,
"category": "your category"
}
},
)
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-business-listings.
Parameters
countrystringThe two-letter country code to search in, such as `us` or `gb`; defaults to `us`. It sets the search region and does not filter addresses exactly.
citystringThe city to search in, such as `Austin`. Results are relevant businesses in and around that city; addresses are not matched exactly. With neither `city` nor `country`, the search runs in the US.
min_ratingnumberThe lowest star rating to keep in `business_listings`, from 1 to 5; decimals such as `4.5` work. Businesses without a rating are left out.
namestringA business name keyword for `business_listings`, such as a brand like `Starbucks`. It is searched together with the category, so businesses without it in their name can still appear.
limitintegerMaximum number of results, 1 to 20 (default 20). For some actions it counts pages or items per parent rather than final rows.
Example: 20
categoryRequiredstringThe Google Maps business category to search for in `business_listings`, in lowercase English with underscores for spaces, such as `dentist`, `coffee_shop` or `italian_restaurant`.
