Polymarket events API

List Polymarket events and nested markets from the public Gamma Events API. query is filtered client-side on the returned page. POST /api/v1/polymarket/events costs $0.008 USDC on Base via x402. HTTP 2xx with status complete or partial and real data is charged; status failed, empty payloads, and HTTP 4xx/5xx are not charged. Sources: Polymarket Gamma API Polymarket Data API v2 Limits: Public market data only — no order placement and no private fills. Does not use the retired Data API v1 or authenticated CLOB user-trades routes.

List Polymarket events and nested markets from the public Gamma Events API. query is filtered client-side on the returned page. POST /api/v1/polymarket/events costs $0.008 USDC on Base via x402. HTTP 2xx with status complete or partial and real data is charged; status failed, empty payloads, and HTTP 4xx/5xx are not charged. Sources: Polymarket Gamma API Polymarket Data API v2 Limits: Public market data only — no order placement and no private fills. Does not use the retired Data API v1 or authenticated CLOB user-trades routes.

POST$0.008 USDC
/api/v1/polymarket/events

Example request

curl -i -X POST "https://www.brainiac.software/api/v1/polymarket/events" \
  -H 'content-type: application/json' \
  -H 'Idempotency-Key: <fresh-64-character-random-hex-key>' \
  --data-binary @- <<'JSON'
{
  "limit": 5,
  "closed": false
}
JSON

Example response

{
  "status": "complete",
  "data": {
    "retrievedAt": "2026-11-20T21:36:00.000Z",
    "limit": 20,
    "offset": 0,
    "events": [
      {
        "id": "12345",
        "title": "Example event",
        "slug": "example-event",
        "endDate": "2026-12-31T00:00:00Z",
        "volume": "1000000",
        "liquidity": "50000",
        "active": true,
        "closed": false,
        "markets": [
          {
            "id": "559651",
            "question": "Example market?",
            "slug": "example-market",
            "conditionId": "0xa467b14d51f01b957109d9cbb1d6c124fab2a089d52ed8f471d23c2812e743b7",
            "outcomes": [
              "Yes",
              "No"
            ],
            "outcomePrices": [
              "0.42",
              "0.58"
            ],
            "volume": "100000",
            "endDate": "2026-12-31T00:00:00Z"
          }
        ]
      }
    ],
    "unavailable": []
  },
  "nextCursor": null,
  "progress": {
    "processed": 0,
    "total": null,
    "unit": "items",
    "scannedRange": null
  },
  "sources": [
    {
      "source": "upstream",
      "url": "https://gamma-api.polymarket.com/events",
      "retrievedAt": "2026-11-20T21:36:00.000Z"
    }
  ],
  "missing_items": [],
  "limitations": []
}

An unpaid probe returns HTTP 402 with x402 payment requirements. After paying the exact USDC amount on Base, retry the identical request with a payment-signature header.

Errors: HTTP 4xx/5xx are not charged. HTTP 2xx with status complete or partial and real data is charged; failed or empty results are not charged. Invalid cursor returns HTTP 400 (uncharged).

Limits: Public market data only — no order placement and no private fills. Does not use the retired Data API v1 or authenticated CLOB user-trades routes. query filters are applied client-side on the returned Gamma page. Optional cursor resumes the next deterministic chunk. Partial responses include nextCursor, progress, sources, and data under a ~22s wall budget (#212).

FAQ

  • Do I need an API key? No. Pay the listed USDC amount with x402.
  • What network? Base (eip155:8453), USDC.
  • Is this an official determination? No. Results are for human review against the cited sources.

Related APIs

Polymarket Markets Odds Trades API APIGroup docsHow it works