Upstream Mapping
Maps to Polymarket’s GET /events endpoint on the CLOB API.
Request
Filter by status: active, closed, resolved
Filter by category (e.g., Crypto, Politics, Sports)
Number of events to return. Default 25, max 100.
Example
curl -H "X-API-Key: $API_KEY" \
"https://api.perps.studio/v1/predictions/polymarket/events?status=active&category=Crypto&limit=5"
[
{
"eventId": "12345",
"title": "Will BTC exceed $100k by end of 2026?",
"category": "Crypto",
"status": "active",
"endDate": "2026-12-31T23:59:59Z",
"volume": "2500000.00",
"liquidity": "500000.00",
"markets": [
{
"marketId": "0xabc123",
"question": "BTC > $100k by Dec 31, 2026",
"outcomes": ["Yes", "No"],
"tokens": [
{ "tokenId": "71234", "outcome": "Yes", "price": "0.72" },
{ "tokenId": "71235", "outcome": "No", "price": "0.28" }
]
}
]
}
]
Get Single Event
GET /v1/predictions/polymarket/events/:eventId
Returns a single event with full market details.