Call it
curl https://api.peume.com/v1/call/realtor-com-search \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"searchMode": "for_sale",
"location": "your location"
}
}'const res = await fetch("https://api.peume.com/v1/call/realtor-com-search", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"searchMode": "for_sale",
"location": "your location"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/realtor-com-search",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"searchMode": "for_sale",
"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: realtor-com-search.
Parameters
priceMinintegerMinimum listing price in USD (e.g. 250000).
propertyTypesarrayFilter by one or more property types; omit for all types (e.g. ["single_family", "townhomes"]).
bathsMinintegerMinimum number of bathrooms (e.g. 2).
bedsMinintegerMinimum number of bedrooms (e.g. 3).
priceMaxintegerMaximum listing price in USD (e.g. 750000).
routestringUpstream source to run on; omit for "octopus". octopus ($0.006 + $0.0018 per result, at most $0.051, 100% uptime).
octopus
limitintegerMaximum number of results to return (1-25, default 25). You are billed per result returned, so a lower limit costs less.
searchModestringListing type to search: for_sale or sold (e.g. for_sale).
for_sale · sold
Example: for_sale
locationRequiredstringCity, ZIP code, neighborhood or state to search (e.g. Las Vegas, NV).
searchStatusesarrayListing statuses to include in for_sale mode; omit for active For Sale + Ready to Build. Ignored in sold mode (e.g. ["for_sale", "pending"]).
keywordstringFree-text keyword that must appear in the listing description (e.g. 'pool').
