Call it
curl https://api.peume.com/v1/call/cross-platform-daily-comparison-polymarket-kalshi \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"polymarket_condition_id": "your polymarket condition id",
"kalshi_market_ticker": "your kalshi market ticker",
"time_range": "30d",
"limit": 200,
"offset": 0
}
}'const res = await fetch("https://api.peume.com/v1/call/cross-platform-daily-comparison-polymarket-kalshi", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"polymarket_condition_id": "your polymarket condition id",
"kalshi_market_ticker": "your kalshi market ticker",
"time_range": "30d",
"limit": 200,
"offset": 0
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/cross-platform-daily-comparison-polymarket-kalshi",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"polymarket_condition_id": "your polymarket condition id",
"kalshi_market_ticker": "your kalshi market ticker",
"time_range": "30d",
"limit": 200,
"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-daily-comparison-polymarket-kalshi.
Parameters
polymarket_condition_idRequiredstringPolymarket condition ID. Example: 0x6fefc0438c7598b23531457c8c60541990d0786bd4bd9dfc3eabc8d95c291092.
kalshi_market_tickerRequiredstringKalshi market ticker. Example: KXBTC2026250-27JAN01-250000.
time_rangestringWindow of daily data to return: 1d, 7d, 30d, 90d, 180d, 1y, or all. Bucket size is fixed at 1 day — this endpoint uses time_range only and does NOT accept interval. Example: 30d. Defaults to "30d".
1d · 7d · 30d · 90d · 180d · 1y · all
Example: 30d
limitintegerMaximum rows. Example: 200. Defaults to 200.
Example: 200
offsetintegerPagination offset. Example: 0. Defaults to 0.
Example: 0
