# Polymarket — List events (keyset pagination)

List Polymarket events via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Polymarket, pass parameters such as closed, limit, and retrieve structured data including event identifier, event URL slug, event title, event description, and reported start date for discovery catalogs, and topic research, ready for production pipelines and AI agent automation.

Documentation: https://openany.si/polymarket/polymarket-list-events-keyset-pagination/d505cb4e-c3c3-4db9-8bd8-1d03f2727bba/
API ID: d505cb4e-c3c3-4db9-8bd8-1d03f2727bba
Provider: Polymarket
Contract revision: 4
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/polymarket/query/market-discovery/list-events-keyset-pagination-f9e1322a
Page update time: 2026-12-03T02:49:26.192Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: none
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0 / call
The published contract currently has no usage charge. Authentication and service limits still apply.
Price source: OpenAny public API contract.
Contract update time: 2026-12-03T02:49:25.702Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "0",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Usage and limits
## Polymarket Events Keyset API

The response contains events and next\_cursor. Pass the opaque cursor back as after\_cursor while preserving filters and ordering; limit is 1–100. The exposed offset input is explicitly prohibited and returns 422 when supplied.

## What You Can Build

- **Discovery catalogs**: Browse event titles and date context.
- **Topic research**: Preserve resource identity, filters and page position with each result.

## Documented Response Fields

| Field | Meaning |
| --- | --- |
| `events[].id` | Event identifier |
| `events[].slug` | Event URL slug |
| `events[].title` | Event title |
| `events[].description` | Event description |
| `events[].startDate` | Reported start date |
| `events[].endDate` | Reported end date |
| `next_cursor` | Opaque continuation cursor |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Polymarket — List events (keyset pagination) request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {
        "limit": {
          "type": "integer",
          "description": "Maximum number of results to return (max 100)",
          "minimum": 1,
          "maximum": 100
        },
        "order": {
          "type": "string",
          "description": "Comma-separated list of JSON field names to order by"
        },
        "ascending": {
          "type": "boolean",
          "description": "Sort direction. Only used when order is set."
        },
        "after_cursor": {
          "type": "string",
          "description": "Opaque cursor token from a previous response's next_cursor"
        },
        "offset": {
          "type": "integer",
          "description": "Not allowed. Returns 422 if provided."
        },
        "id": {
          "type": "array",
          "description": "id",
          "items": {
            "type": "integer"
          }
        },
        "slug": {
          "type": "array",
          "description": "slug",
          "items": {
            "type": "string"
          }
        },
        "closed": {
          "type": "boolean",
          "description": "Filter by closed state. Omitted includes open and closed events. Use true for closed events, false for open events, or any (case-insensitive) for both states. Unlike markets, any does not require an identifier filter. Invalid closed values return 422. Import profile accepts the boolean branch only; other union branches are not exposed."
        },
        "live": {
          "type": "boolean",
          "description": "live"
        },
        "featured": {
          "type": "boolean",
          "description": "featured"
        },
        "cyom": {
          "type": "boolean",
          "description": "cyom"
        },
        "title_search": {
          "type": "string",
          "description": "title_search"
        },
        "liquidity_min": {
          "type": "number",
          "description": "liquidity_min"
        },
        "liquidity_max": {
          "type": "number",
          "description": "liquidity_max"
        },
        "volume_min": {
          "type": "number",
          "description": "volume_min"
        },
        "volume_max": {
          "type": "number",
          "description": "volume_max"
        },
        "start_date_min": {
          "type": "string",
          "description": "start_date_min",
          "format": "date-time"
        },
        "start_date_max": {
          "type": "string",
          "description": "start_date_max",
          "format": "date-time"
        },
        "end_date_min": {
          "type": "string",
          "description": "end_date_min",
          "format": "date-time"
        },
        "end_date_max": {
          "type": "string",
          "description": "end_date_max",
          "format": "date-time"
        },
        "start_time_min": {
          "type": "string",
          "description": "start_time_min",
          "format": "date-time"
        },
        "start_time_max": {
          "type": "string",
          "description": "start_time_max",
          "format": "date-time"
        },
        "tag_id": {
          "type": "array",
          "description": "tag_id",
          "items": {
            "type": "integer"
          }
        },
        "tag_slug": {
          "type": "string",
          "description": "tag_slug"
        },
        "exclude_tag_id": {
          "type": "array",
          "description": "Tag IDs to exclude. Cannot overlap with tag_id.",
          "items": {
            "type": "integer"
          }
        },
        "related_tags": {
          "type": "boolean",
          "description": "related_tags"
        },
        "tag_match": {
          "type": "string",
          "description": "tag_match"
        },
        "series_id": {
          "type": "array",
          "description": "series_id",
          "items": {
            "type": "integer"
          }
        },
        "game_id": {
          "type": "array",
          "description": "game_id",
          "items": {
            "type": "integer"
          }
        },
        "event_date": {
          "type": "string",
          "description": "event_date",
          "format": "date-time"
        },
        "event_week": {
          "type": "integer",
          "description": "event_week"
        },
        "featured_order": {
          "type": "boolean",
          "description": "featured_order"
        },
        "recurrence": {
          "type": "string",
          "description": "recurrence"
        },
        "created_by": {
          "type": "array",
          "description": "created_by",
          "items": {
            "type": "string"
          }
        },
        "parent_event_id": {
          "type": "integer",
          "description": "parent_event_id"
        },
        "include_children": {
          "type": "boolean",
          "description": "include_children"
        },
        "partner_slug": {
          "type": "string",
          "description": "When set, external_partners are attached to matching events"
        },
        "include_chat": {
          "type": "boolean",
          "description": "When true, includes Chats and Series.Chats relations"
        },
        "include_template": {
          "type": "boolean",
          "description": "When true, includes Templates relation"
        },
        "include_best_lines": {
          "type": "boolean",
          "description": "When true, includes BestLines relation"
        },
        "locale": {
          "type": "string",
          "description": "locale"
        }
      }
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "$schema": {
      "type": "string"
    },
    "events": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "active": {
            "type": "boolean"
          },
          "creationDate": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "endDate": {
            "type": "string"
          },
          "icon": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "image": {
            "type": "string"
          },
          "resolutionSource": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          },
          "startDate": {
            "type": "string"
          },
          "ticker": {
            "type": "string"
          },
          "title": {
            "type": "string"
          }
        }
      }
    },
    "next_cursor": {
      "type": "string"
    }
  }
}
```

## Request example
Scenario: Documentation example (source abbreviated)
```bash
curl \
  'https://api.openany.si/v1/agent-apis/polymarket/query/market-discovery/list-events-keyset-pagination-f9e1322a?closed=false&limit=2' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'
```

## Response example
Published documentation example. Verify the actual response after an approved call.
Sample response · Documented HTTP 200
```json
{
  "$schema": "https://gamma-api.polymarket.com/schemas/EventsKeysetListResponse.json",
  "events": [
    {
      "active": true,
      "creationDate": "2024-12-31T19:05:45.901361Z",
      "description": "This market will resolve to \"Yes\" if Kraken (US-based cryptocurrency exchange) completes an Initial Public Offering (IPO) by December 31, 2025, 11:59 PM ET, as confirmed by official company announcements or credible news sources. The IPO refers to the first sale of stock by Kraken to the public on any recognized stock exchange.\n\nIf Kraken merges with another entity, is acquired, or ceases to exist before the market resolves, the market will also resolve to \"No\".\n\nThis market will resolve early if Kraken completes an IPO by December 31, 2025, 11:59 PM ET.\n\nThe resolution source for this market ",
      "endDate": "2028-01-01T04:59:00Z",
      "icon": "https://polymarket-upload.s3.us-east-2.amazonaws.com/will-kraken-ipo-in-2024--_GT-GzKWtUW.jpg",
      "id": "16183",
      "image": "https://polymarket-upload.s3.us-east-2.amazonaws.com/will-kraken-ipo-in-2024--_GT-GzKWtUW.jpg",
      "resolutionSource": "",
      "slug": "kraken-ipo-in-2025",
      "startDate": "2024-12-31T19:05:45.901363Z",
      "ticker": "kraken-ipo-in-2025",
      "title": "Kraken IPO by ___ ?"
    },
    {
      "active": true,
      "creationDate": "2025-01-03T19:35:04.095064Z",
      "description": "This market will resolve to \"Yes\" if Emmanuel Macron ceases to be President of France for any length of time between January 2 and December 31, 2025, 11:59 PM ET (inclusive). Otherwise, this market will resolve to \"No\".\n\nIf Macron departs from office before the expiry date, the market should resolve immediately.\n\nThe primary resolution source for this market will be information from the government of France, however a consensus of credible reporting will also be used.",
      "endDate": "2027-01-01T04:59:00Z",
      "icon": "https://polymarket-upload.s3.us-east-2.amazonaws.com/macron-out-in-2025-qFUc7czZE3Ev.jpg",
      "id": "16263",
      "image": "https://polymarket-upload.s3.us-east-2.amazonaws.com/macron-out-in-2025-qFUc7czZE3Ev.jpg",
      "resolutionSource": "",
      "slug": "macron-out-in-2025",
      "startDate": "2025-01-03T19:35:04.095066Z",
      "ticker": "macron-out-in-2025",
      "title": "Macron out by...?"
    }
  ],
  "next_cursor": "0d4LIEDhFKhyUMngKj_M_BNmjH7Ab0CJV7KSPSbHdqd7InYiOjEsImsiOiJldmVudHMiLCJvaCI6IjRmNTNjZGExOGMyYmFhMGMwMzU0YmI1ZjlhM2VjYmU1ZWQxMmFiNGQ4ZTExYmE4NzNjMmYxMTE2MTIwMmI5NDUiLCJrZXlzIjpbeyJ0Ijoic3RyaW5nIiwidiI6IjE2MjYzIn1dfQ"
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Common questions
### How do I continue to the next page?
Pass next_cursor as after_cursor without decoding or editing it, keeping the same filters and ordering.

### Can I send offset=0?
No. This keyset implementation explicitly rejects offset, including zero, with 422.

### What limit values are accepted?
Use an integer from 1 through 100. Do not apply the ordinary list’s nonnegative limit rule here.

### Is tag_id a single integer on this route?
It is an array here. Keep its type distinct from the ordinary event list’s scalar tag_id input.

### Which API key should I use?
Use your OpenAny API key as Bearer authentication on the documented OpenAny route.

### Where can I check the current request price?
Check the pricing area for the selected implementation. Follow its billing unit and any request-dependent rules before sending the request.

## Available implementations
- Polymarket: https://openany.si/polymarket/polymarket-list-events-keyset-pagination/d505cb4e-c3c3-4db9-8bd8-1d03f2727bba/

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
