Call it
curl https://api.peume.com/v1/call/search-redfin-homes \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"timeout": 50
}
}'const res = await fetch("https://api.peume.com/v1/call/search-redfin-homes", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"timeout": 50
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/search-redfin-homes",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"timeout": 50
}
},
)
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: search-redfin-homes.
Parameters
min_priceintegerMinimum listing price in US dollars.
max_priceintegerMaximum listing price in US dollars.
min_bedsintegerMinimum number of bedrooms.
max_bedsintegerMaximum number of bedrooms.
min_bathsnumberMinimum number of bathrooms.
min_sqftintegerMinimum interior area in square feet.
max_sqftintegerMaximum interior area in square feet.
urlstringRedfin city, ZIP, county or neighborhood search URL. Existing URL filters are retained unless overridden. Supply one location: a region URL, region_id with region_type, or map_bounds.
region_idintegerRedfin region identifier; requires region_type.
region_typestringRegion kind: 1 neighborhood, 2 ZIP region, 5 county, 6 city, 11 state. A ZIP region identifier differs from the ZIP code. Use a Redfin ZIP search URL if the region identifier is unknown.
map_boundsstringMap rectangle as north,east,south,west.
statusstringListing status. Defaults to for_sale when no URL is supplied.
for_sale · sold
sold_within_daysintegerSold listings from the last N days; requires status=sold. Defaults to 180 for sold searches.
property_typestringRestrict results to one property type.
co_op · condo · house · land · manufactured · multi_family · other · townhouse
sortstringResult ordering. Defaults to recommended when no URL is supplied.
newest · price_asc · price_desc · recommended · sqft
limitintegerMaximum homes returned. Narrow the region or map bounds when results reach this limit. The response does not advertise pagination or a total count. If search_information.possibly_truncated is true, narrow the location or filters.
timeoutnumberSeconds may spend before giving up (max 50, default 50). A timed-out call is not billed.
Example: 50
