Call it
curl https://api.peume.com/v1/call/airbnb-search \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"limit": 20,
"keyword": "your keyword"
}
}'const res = await fetch("https://api.peume.com/v1/call/airbnb-search", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"limit": 20,
"keyword": "your keyword"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/airbnb-search",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"limit": 20,
"keyword": "your keyword"
}
},
)
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-search.
Parameters
max_pricenumberSets the maximum property price filter as a numeric value. It must be greater than or equal to min_price. Use this to filter search results, not to constrain single API request costs or overall lodging budgets. Filtering uses whole numbers: decimals round up (145.98 becomes 146).
min_pricenumberSets the minimum property price filter as a numeric value when paired with max_price. This parameter filters listing search results and does not set an API usage cap. Filtering uses whole numbers: decimals round down (39.81 becomes 39).
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
currencystringSpecifies the listing display currency for Airbnb search results (default USD; see allowed values). One of: aed, aud, bgn, brl, cad, chf, clp, cny, cop, crc, czk, dkk, egp, eur, gbp, ghs, hkd, hrk, huf, idr, ils, inr, jpy, kes, krw, kzt, mad, mxn, myr, nok, nzd, pen, php, pln, qar, ron, sar, sek, sgd, thb, try, twd, uah, ugx, usd, uyu, vnd, zar.
aed · aud · bgn · brl · cad · chf · clp · cny · cop · crc · czk · dkk …
keywordRequiredstringSpecifies the target location, city, region, or destination name (for example, Tokyo) for the search action. Pass a place name rather than a host username or property ID.
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.
