Call it
curl https://api.peume.com/v1/call/airbnb-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/airbnb-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/airbnb-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: airbnb-reviews.
Parameters
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
sortstringSorts guest reviews by newest (default), relevance, or top_rated. This parameter applies only to review order, not listing prices. One of: newest, relevance, top_rated.
newest · relevance · top_rated
langstringSpecifies the language and region combination using compact codes such as enus for en-US, zhcn for zh-CN, or jajp for ja-JP. Pass one of the exact listed allowed values rather than generic two-letter language codes like en. One of: arxx, azaz, bgbg, bsba, caes, cscz, dadk, deat, dech, dede, delu, elgr, enae, enau, enca, engb, engy, enie, enin, ennz, ensg, enus, es419, esar, esbo, esbz, escl, esco, escr, esec, eses, esgt, eshn, esmx, esni, espa, espe, espy, essv, esus, esve, etee, fifi, frbe, frca, frch, frfr, frlu, gaie, heil, hiin, hrhr, huhu, hyam, idid, isis, itch, itit, jajp, kage, kokr, l
arxx · azaz · bgbg · bsba · caes · cscz · dadk · deat · dech · dede · delu · elgr …
localestringSets the Airbnb page display locale (default en-US), such as en-US or zh-CN. Do not pass locale alongside lang; lang takes precedence and overrides the language selection. This parameter does not filter reviews by reviewer nationality.
urlRequiredstringIdentifies the target resource based on the action: pass a /rooms/<property_id> URL or property ID for property_detail, reviews, or calendar, or a /users/show/<host_id> URL or host ID for host. Property and host identifiers are not interchangeable.
sincestringSets a YYYY-MM-DD start date with action-dependent scope: for reviews, it sets the starting review date; for calendar, it sets the date window start and overrides start_date and check_in.
