Call it
curl https://api.peume.com/v1/call/cross-platform-prediction-market-matcher-polymarket-kalshi \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"active_only": false,
"min_confidence": 0,
"sort_by": "confidence",
"order": "desc",
"limit": 20,
"offset": 0
}
}'const res = await fetch("https://api.peume.com/v1/call/cross-platform-prediction-market-matcher-polymarket-kalshi", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"active_only": false,
"min_confidence": 0,
"sort_by": "confidence",
"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/cross-platform-prediction-market-matcher-polymarket-kalshi",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"active_only": False,
"min_confidence": 0,
"sort_by": "confidence",
"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: cross-platform-prediction-market-matcher-polymarket-kalshi.
Parameters
categorystringFilter by category. Example: politics.
crypto · culture · economics · financials · politics · stem · sports
match_typestringFilter by match type. Example: exact.
exact · related
active_onlybooleanOnly return pairs where both markets are currently active. Defaults to false.
Example: false
min_confidenceintegerMinimum confidence score (0-100). Defaults to 0.
Example: 0
polymarket_condition_idstringFind match for this Polymarket market.
kalshi_market_tickerstringFind match for this Kalshi market.
sort_bystringSort field. Defaults to "confidence".
confidence · polymarket_volume · kalshi_volume · spread_pct
Example: confidence
orderstringSort order. Defaults to "desc".
asc · desc
Example: desc
limitintegerMaximum rows to return. Example: 20. Defaults to 20.
Example: 20
offsetintegerPagination offset. Example: 0. Defaults to 0.
Example: 0
