Call it
curl https://api.peume.com/v1/call/get-yelp-reviews \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"place_id": "your place id",
"timeout": 50
}
}'const res = await fetch("https://api.peume.com/v1/call/get-yelp-reviews", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"place_id": "your place id",
"timeout": 50
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/get-yelp-reviews",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"place_id": "your place id",
"timeout": 50
}
},
)
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: get-yelp-reviews.
Parameters
place_idRequiredstringEncoded Yelp business identifier from a search result.
yelp_domainstringLocalized Yelp hostname, such as 'www.yelp.co.uk'. Default 'www.yelp.com'.
hlstringReview language such as 'en' or 'fr-FR'. Default 'en'.
sortbystringReview order. Default 'relevance_desc'.
relevance_desc · date_desc · date_asc · rating_desc · rating_asc · elites_desc
ratingarrayStar ratings to keep, such as [1, 2].
startintegerReview offset, 0-10,000. Default 0.
numintegerNumber of reviews, 1-49. Default 49.
qstringSearch the review text for these terms.
not_recommendedbooleanFetch the reviews Yelp does not recommend instead of the main feed.
not_recommended_startintegerOffset within the not-recommended reviews. Requires not_recommended: true.
timeoutnumberSeconds may spend before giving up (max 50, default 50). A timed-out call is not billed.
Example: 50
