Polymarket Events

GET/gateway/v1/prediction-market/polymarket/events

Returns Polymarket events with nested markets, optionally filtered by `event_slug`.

Each event includes aggregated status, volume, and a list of markets with `side_a`/`side_b` outcomes.

Data refresh: ~30 minutes

Query Parameters

event_slugstringrequired

Polymarket event slug (identifies a multi-outcome question with several nested markets). Known World Cup match sibling slugs are expanded to the canonical match group. Discover slugs via /v1/search/prediction-market?platform=polymarket&q={keyword}. For a single Yes/No market, use /polymarket/markets with market_slug instead — this endpoint only accepts event_slug, not market_slug.

Example: what-price-will-bitcoin-hit-before-2027
limitinteger

Results per page

Example: 20
offsetinteger

Pagination offset

Example: 0
Polymarket Events
const options = {method: 'GET'};

fetch('https://api.asksurf.ai/gateway/v1/prediction-market/polymarket/events?event_slug=what-price-will-bitcoin-hit-before-2027&limit=20&offset=0', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
OK
{
  "$schema": "https://example.com/schemas/DataResponsePolymarketEvent.json",
  "data": [
    {
      "category": "<string>",
      "description": "<string>",
      "end_time": 123,
      "event_slug": "<string>",
      "image": "<string>",
      "market_count": 123,
      "markets": [
        {
          "category": "<string>",
          "close_time": 123,
          "completed_time": 123,
          "condition_id": "<string>",
          "description": "<string>",
          "end_time": 123,
          "event_slug": "<string>",
          "game_start_time": 123,
          "image": "<string>",
          "market_slug": "<string>",
          "negative_risk_id": "<string>",
          "polymarket_link": "<string>",
          "resolution_source": "<string>",
          "side_a": {
            "id": "<string>",
            "label": "<string>"
          },
          "side_b": {
            "id": "<string>",
            "label": "<string>"
          },
          "start_time": 123,
          "status": "<string>",
          "subcategory": "<string>",
          "tags": [],
          "title": "<string>",
          "volume_1_month": 123,
          "volume_1_week": 123,
          "volume_1_year": 123,
          "volume_total": 123,
          "winning_side": "<string>"
        }
      ],
      "settlement_sources": "<string>",
      "start_time": 123,
      "status": "<string>",
      "subcategory": "<string>",
      "tags": [],
      "title": "<string>",
      "volume_total": 123
    }
  ],
  "meta": {
    "cached": true,
    "credits_used": 123,
    "empty_reason": "<string>",
    "has_more": true,
    "limit": 123,
    "offset": 123,
    "total": 123,
    "watermark": 123
  }
}