Call it
curl https://api.peume.com/v1/call/airbnb-availability-calendar \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"url": "your url"
}
}'const res = await fetch("https://api.peume.com/v1/call/airbnb-availability-calendar", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"url": "your url"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/airbnb-availability-calendar",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"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-availability-calendar.
Parameters
end_datestringSets the YYYY-MM-DD end date for calendar availability queries. If omitted, the request falls back to check_out or 30 days from the query date (not start_date plus 30 days). Providing until overrides this parameter.
untilstringSets the YYYY-MM-DD end date for the calendar action and overrides end_date and check_out. This parameter controls calendar date windows and does not filter review publication dates.
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.
start_datestringSets the YYYY-MM-DD start date for calendar availability queries. If omitted, the request falls back to check_in or the current date. Providing since overrides this parameter.
