Call it
curl https://api.peume.com/v1/call/get-yelp-business \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"place_id": "your place id"
}
}'const res = await fetch("https://api.peume.com/v1/call/get-yelp-business", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"place_id": "your place id"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/get-yelp-business",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"place_id": "your place id"
}
},
)
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-business.
Parameters
business_alertstringSet parameter to `true` to include business alert information when available. It defaults to `false`. Business alerts are temporarily unavailable. With this parameter, `place_results` are returned without `business_alert`.
menu_namestringThe name of which Full Menu to scrape when more than one Full Menu is available. It can only be used in combination with `full_menu` parameter.
full_menustringSet parameter to `true` to scrape business full menu when available. It defaults to `false`. When the parameter `full_menu` is set to `true`, but the business queried doesn't have a full menu page, then `place_results` will be returned instead of `full_menu_results`. This information will also be returned in `search_information` and `error` keys in the json response.
yelp_domainstringThe Yelp domain to use. It defaults to `yelp.com`. Head to the Yelp domains for a full list of supported Yelp domains.
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_idRequiredstringThe Yelp ID of a place. Each place has two unique IDs (e.g. `ED7A7vDdg8yLNKJTSVHHmg` and `arabica-brooklyn`) and you can use either of them as a value of the `place_id`. To extract the IDs of a place you can use our Yelp Search API.
