Upstream Mapping
Maps to Polymarket’s GET /markets endpoint.
Request
Filter markets by event ID
Filter by status: active, closed, resolved
Example
curl -H "X-API-Key: $API_KEY" \
"https://api.perps.studio/v1/predictions/polymarket/markets?status=active&limit=10"
[
{
"marketId": "0xabc123",
"eventId": "12345",
"question": "BTC > $100k by Dec 31, 2026",
"outcomes": ["Yes", "No"],
"status": "active",
"volume": "1200000.00",
"tokens": [
{ "tokenId": "71234", "outcome": "Yes", "price": "0.72" },
{ "tokenId": "71235", "outcome": "No", "price": "0.28" }
]
}
]