Call it
curl https://api.peume.com/v1/call/crexi-search \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"limit": 20,
"keyword": "your keyword"
}
}'const res = await fetch("https://api.peume.com/v1/call/crexi-search", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"limit": 20,
"keyword": "your keyword"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/crexi-search",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"limit": 20,
"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: crexi-search.
Parameters
max_priceintegerFilters Crexi listings by maximum asking price in USD. Decimals round up to a whole number before the search request. Results can still include properties without a public asking price, so this parameter does not guarantee that every returned listing has a price.
min_priceintegerFilters listings by minimum asking price in USD. Accepts numeric values, ideally integers. This parameter does not evaluate capitalization rate or price per square foot, and is ignored by direct property_detail requests. Decimals round down.
property_typesarrayFilters commercial real estate by asset category using an array of strings, such as Office, Retail, or Multifamily. Applies strictly to search filtering rather than residential layouts, and is ignored by direct property_detail lookup requests.
limitintegerMaximum number of results, 1 to 100 (default 20). For some actions it counts pages or items per parent rather than final rows.
Example: 20
sortstringSorts Crexi search results descending by relevance (directory match strength, default) or newest (listing date order). It does not sort by last_updated timestamp or capitalization rate, and is ignored when retrieving properties directly by ID. One of: newest, relevance.
newest · relevance
statestringFilters by a single US state postal code, such as TX. Read only when states is omitted, and takes precedence over keyword state filtering. To query multiple states simultaneously, use the states array instead.
keywordRequiredstringServes as the required search parameter for Crexi commercial real estate, but functions as a state filter when supplied as a US state postal code (such as TX, CA, or FL) rather than a free-text property title search. Providing state or states overrides this selection, though keyword remains required.
transaction_typestringFilters listings by transaction mode: sale (default) or lease, case-insensitive. Any other value, such as rent, returns 422 instead of switching to sale. One of: lease, sale.
lease · sale
statesarrayFilters search results by US state postal codes using an array of strings, such as TX or ["TX", "CA"], automatically converted to uppercase. Precedence follows states over state over keyword. Accepts state codes only, not city names or country codes.
