Call it
curl https://api.peume.com/v1/call/search-prediction-markets-3 \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"status": "active",
"sort_by": "volume_7d",
"order": "desc",
"limit": 20,
"offset": 0
}
}'const res = await fetch("https://api.peume.com/v1/call/search-prediction-markets-3", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"status": "active",
"sort_by": "volume_7d",
"order": "desc",
"limit": 20,
"offset": 0
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/search-prediction-markets-3",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"status": "active",
"sort_by": "volume_7d",
"order": "desc",
"limit": 20,
"offset": 0
}
},
)
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-prediction-markets-3.
Parameters
condition_idstringPolymarket condition ID for single-market lookup.
market_tickerstringKalshi market ticker for single-market lookup.
platformstringFilter by platform (omit for both).
polymarket · kalshi
categorystringFilter by Surf-curated category.
crypto · culture · economics · financials · politics · stem · sports
statusstringMarket status filter. Defaults to "active".
active · closed · finalized
Example: active
sort_bystringSort field. Defaults to "volume_7d".
volume_1d · volume_7d · volume_30d · open_interest · trade_count_7d · days_to_resolution
Example: volume_7d
orderstringSort direction. Defaults to "desc".
asc · desc
Example: desc
smart_moneystringFilter by smart money direction (Polymarket only).
bullish · bearish
qstringSearch markets by keyword in question text or ticker. Results include slug and event fields when available, but machine slugs are not searched.
limitintegerResults per page. Defaults to 20.
Example: 20
offsetintegerPagination offset. Defaults to 0.
Example: 0
