Call it
curl https://api.peume.com/v1/call/realtor-search \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"limit": 100,
"keyword": "your keyword"
}
}'const res = await fetch("https://api.peume.com/v1/call/realtor-search", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"limit": 100,
"keyword": "your keyword"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/realtor-search",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"limit": 100,
"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: realtor-search.
Parameters
agent_typestringSpecifies the agent type for `search`. Allowed values are `both` (includes buyer and seller agents, default), `buyer` (buyer agents only), and `seller` (seller agents only). This parameter does not represent property listing status. One of: both, buyer, seller.
both · buyer · seller
min_ratingstringFilters agents by minimum rating for `search`. Pass a string array, such as `["4"]`. Allowed values are `0`, `1`, `2`, `3`, `4`, and `5`, where `0` disables filtering. This parameter filters agent ratings, not property ratings. One of: 0, 1, 2, 3, 4, 5.
0 · 1 · 2 · 3 · 4 · 5
limitintegerMaximum number of results, 1 to 500 (default 100). For some actions it counts pages or items per parent rather than final rows.
Example: 100
keywordRequiredstringSpecifies the search location for Realtor requests. For `search`, enter a city and state (e.g., `Austin, TX`) to find agents. For `property_search`, enter a 5-digit US ZIP code or a `City, ST` abbreviation. Arbitrary property descriptions are not accepted.
