Call it
curl https://api.peume.com/v1/call/airbnb-search-2 \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"currency": "USD",
"location": "your location"
}
}'const res = await fetch("https://api.peume.com/v1/call/airbnb-search-2", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"currency": "USD",
"location": "your location"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/airbnb-search-2",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"currency": "USD",
"location": "your location"
}
},
)
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-2.
Parameters
minBedroomsintegerMinimum number of bedrooms (e.g. 2).
petsintegerNumber of pets; only pet-friendly listings are returned when set (e.g. 1).
priceMaxintegerMaximum search price in the selected currency (e.g. 300).
infantsintegerNumber of infant guests (e.g. 1).
minBedsintegerMinimum number of beds (e.g. 2).
adultsintegerNumber of adult guests (e.g. 2).
minBathroomsintegerMinimum number of bathrooms (e.g. 2).
priceMinintegerMinimum search price in the selected currency (e.g. 50).
checkInstringCheck-in date in YYYY-MM-DD format (e.g. 2026-07-01).
routestringUpstream source to run on; omit for "octopus". octopus ($0.00009 + $0.0012 per result, at most $0.0241, 99.8% uptime).
octopus
childrenintegerNumber of child guests (e.g. 1).
limitintegerMaximum number of results to return (1-20, default 20). You are billed per result returned, so a lower limit costs less.
currencystringCurrency code for prices (e.g. EUR).
USD · CZK · AUD · BRL · BGN · CAD · CLP · CNY · COP · CRC · HRK · DKK …
Example: USD
locationRequiredstringLocation to search listings in (e.g. London).
checkOutstringCheck-out date in YYYY-MM-DD format (e.g. 2026-07-05).
