# Prediction Markets and Derivatives — List Polymarket events with cursor-based keyset pagination

Get Blockrun List Polymarket events with cursor-based keyset pagination data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by BlockRun, pass parameters such as include_markets, limit, and retrieve structured data including continuation flag, reported count, result limit, returned pagination key field, and identifier for market reference and account inspection, and integration reference.

Documentation: https://openany.si/blockrun/blockrun-prediction-markets-and-derivatives-list-polymarket-events-with-cursor-based-keyset-pagi/9e3abb1a-020e-4ed9-957f-62c240a77772/
API ID: 9e3abb1a-020e-4ed9-957f-62c240a77772
Provider: blockrun
Contract revision: 5
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/blockrun/v1/pm/polymarket/events/keyset
Page update time: 2026-12-03T02:49:53.619Z
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.0075 / call
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract.
Contract update time: 2026-12-03T02:49:52.920Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "7500",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Usage and limits
## Blockrun List Polymarket events with cursor-based keyset pagination API

List Polymarket events with cursor-based keyset pagination with the BlockRun API. Review the optional inputs supported by the selected implementation. Read the response using the field paths below, preserving identifiers and the declared value types when mapping results.

## What You Can Build

- **Market reference and account inspection**: Keep market, asset and account identities distinct when interpreting records.
- **Integration reference**: Use the selected request format and keep source identifiers with the returned result.

## Documented Response Fields

| Field | Meaning |
| --- | --- |
| `pagination.has_more` | Continuation flag |
| `pagination.count` | Reported count |
| `pagination.limit` | Result limit |
| `pagination.pagination_key` | Returned pagination key field |
| `events[].id` | Identifier |
| `events[].title` | Title |
| `events[].category` | Returned category field |
| `events[].description` | Description |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Prediction Markets and Derivatives — List Polymarket events with cursor-based 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": {
        "category": {
          "type": [
            "string",
            "null"
          ],
          "description": "Filter by category (e.g. Sports, Crypto)"
        },
        "id": {
          "type": [
            "array",
            "null"
          ],
          "description": "Event ID(s).",
          "items": {
            "type": "string"
          }
        },
        "include_markets": {
          "type": "boolean",
          "description": "Embed child markets in each event."
        },
        "limit": {
          "type": "integer",
          "description": "Max results to return (default 20, max 100).",
          "minimum": 1,
          "maximum": 100
        },
        "markets_per_event": {
          "type": "integer",
          "description": "Max markets nested per event when include_markets=true",
          "minimum": 1,
          "maximum": 50
        },
        "min_open_interest": {
          "type": [
            "number",
            "null"
          ],
          "description": "Only events with current open interest >= this (USD)",
          "minimum": 0
        },
        "min_volume": {
          "type": [
            "number",
            "null"
          ],
          "description": "Only events with 7d volume >= this (USD)",
          "minimum": 0
        },
        "offset": {
          "type": "integer",
          "description": "Deprecated — use pagination_key.",
          "minimum": 0
        },
        "pagination_key": {
          "type": [
            "string",
            "null"
          ],
          "description": "Opaque cursor from a prior response for keyset pagination."
        },
        "search": {
          "type": [
            "string",
            "null"
          ],
          "description": "Free-text search over market/question text (min 3 chars). Note: this param is `search` here, NOT `q` — only /markets/search uses `q`.",
          "minLength": 3,
          "maxLength": 100
        },
        "slug": {
          "type": [
            "array",
            "null"
          ],
          "description": "Event slug(s). On /events the slug filter IS `slug` (unlike /markets, which uses `event_slug`).",
          "items": {
            "type": "string"
          }
        },
        "sort": {
          "type": "string",
          "description": "Sort order for results.",
          "enum": [
            "created",
            "created_asc",
            "start_date",
            "start_date_asc",
            "end_date",
            "end_date_desc",
            "title",
            "relevance",
            "volume_1d",
            "volume_7d",
            "volume_30d",
            "volume_all_time",
            "open_interest",
            "trades_1d",
            "trades_7d",
            "trades_30d"
          ]
        },
        "status": {
          "type": [
            "string",
            "null"
          ],
          "description": "Filter by market status (e.g. \"open\", \"closed\").",
          "enum": [
            "open",
            "closed",
            null
          ]
        },
        "tag": {
          "type": [
            "array",
            "null"
          ],
          "description": "Filter by tag slug(s)",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "events": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "category": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "icon_url": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "image_url": {
            "type": "string"
          },
          "series": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "active": {
                  "type": "boolean"
                },
                "archived": {
                  "type": "boolean"
                },
                "closed": {
                  "type": "boolean"
                },
                "icon": {
                  "type": "string"
                },
                "id": {
                  "type": "string"
                },
                "image": {
                  "type": "string"
                },
                "slug": {
                  "type": "string"
                },
                "ticker": {
                  "type": "string"
                },
                "title": {
                  "type": "string"
                },
                "volume": {
                  "type": "number"
                }
              }
            }
          },
          "slug": {
            "type": "string"
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "createdAt": {
                  "type": "string"
                },
                "forceHide": {
                  "type": "boolean"
                },
                "forceShow": {
                  "type": "boolean"
                },
                "id": {
                  "type": "string"
                },
                "label": {
                  "type": "string"
                },
                "publishedAt": {
                  "type": "string"
                },
                "slug": {
                  "type": "string"
                },
                "updatedAt": {
                  "type": "string"
                },
                "updatedBy": {
                  "type": "integer"
                }
              }
            }
          },
          "ticker": {
            "type": "string"
          },
          "title": {
            "type": "string"
          }
        }
      }
    },
    "pagination": {
      "type": "object",
      "properties": {
        "count": {
          "type": "integer"
        },
        "has_more": {
          "type": "boolean"
        },
        "limit": {
          "type": "integer"
        },
        "pagination_key": {
          "type": "string"
        }
      }
    }
  }
}
```

## Request example
Scenario: Documentation example (source abbreviated)
```bash
curl \
  'https://api.openany.si/v1/agent-apis/blockrun/v1/pm/polymarket/events/keyset?include_markets=false&limit=1' \
  -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
{
  "events": [
    {
      "category": "",
      "description": "In the upcoming NHL game, scheduled for November 19 at 9:40PM ET:\nIf the Canucks win, the market will resolve to \"Canucks\".\nIf the Kraken win, the market will resolve to \"Kraken\".\nIf the game is postponed, this market will remain open until the game has been completed.\nIf the game is canceled entirely, with no make-up game, this market will resolve 50-50.\nThe result will be determined based on the final score including any overtime periods and shootouts. In the event of a shootout, one goal will be added to the winning team's score for the purpose of resolution.",
      "icon_url": "https://polymarket-upload.s3.us-east-2.amazonaws.com/nhl-2027-champion-20260612185656162-9rCX2UxqNvUj.png",
      "id": "1241069",
      "image_url": "https://polymarket-upload.s3.us-east-2.amazonaws.com/nhl-2027-champion-20260612185656162-9rCX2UxqNvUj.png",
      "series": [
        {
          "active": true,
          "archived": false,
          "closed": false,
          "icon": "https://polymarket-upload.s3.us-east-2.amazonaws.com/nhl.png",
          "id": "10346",
          "image": "https://polymarket-upload.s3.us-east-2.amazonaws.com/nhl.png",
          "slug": "nhl-2026",
          "ticker": "nhl-2026",
          "title": "NHL 2026",
          "volume": 151973.40740700002
        }
      ],
      "slug": "nhl-van-sea-2026-11-19",
      "tags": [
        {
          "createdAt": "2023-10-24T22:37:50.31Z",
          "forceHide": true,
          "forceShow": false,
          "id": "1",
          "label": "Sports",
          "publishedAt": "2023-10-24 22:37:50.296+00",
          "slug": "sports",
          "updatedAt": "2026-04-17T20:47:16.461062Z",
          "updatedBy": 15
        },
        {
          "createdAt": "2024-01-22T17:16:28.449Z",
          "forceShow": false,
          "id": "899",
          "label": "NHL",
          "publishedAt": "2024-01-22 17:16:28.432+00",
          "slug": "nhl",
          "updatedAt": "2026-04-17T20:14:51.326797Z"
        },
        {
          "createdAt": "2024-09-23T22:41:37.670714Z",
          "forceShow": false,
          "id": "100639",
          "label": "Games",
          "slug": "games",
          "updatedAt": "2026-03-09T22:28:03.358133Z"
        },
        {
          "id": "100088",
          "label": "Hockey",
          "slug": "hockey",
          "updatedAt": "2026-03-09T22:33:38.499663Z"
        }
      ],
      "ticker": "nhl-van-sea-2026-11-19",
      "title": "Canucks vs. Kraken"
    }
  ],
  "pagination": {
    "count": 1,
    "has_more": true,
    "limit": 1,
    "pagination_key": "eyJzdiI6MTc5NTE0MjQwMDAwMCwidGllIjoiMTI0MTA2OSIsInNjb3BlIjp7InN0YXR1cyI6bnVsbCwiY2F0ZWdvcnkiOm51bGwsInNlYXJjaCI6bnVsbCwiaWQiOm51bGwsInNsdWciOm51bGwsInRhZyI6bnVsbCwic29ydCI6ImNyZWF0ZWQiLCJtaW5fdm9sdW1lIjpudWxsLCJtaW5fb3Blbl9pbnRlcmVzdCI6bnVsbH19"
  }
}
```

## 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
### Does this implementation require business input parameters?
No business input is marked as required by the selected schema. Review any optional filters and the documented request format before calling.

### Which pagination or result-size inputs are exposed?
limit is integer with minimum 1 and maximum 100; offset is integer with minimum 0. Use only the exposed inputs and the continuation metadata returned by this endpoint; a size limit is not automatically a page or cursor.

### Which values can I use for sort?
The selected schema accepts created, created_asc, start_date, start_date_asc, end_date, end_date_desc, title, relevance, volume_1d, volume_7d, volume_30d, volume_all_time, open_interest, trades_1d, trades_7d, trades_30d. Keep the documented string type and exact spelling for this input.

### Where do URL parameters belong?
Use the documented path and query inputs. This GET implementation does not use a JSON request body; keep path values and URL query values in their declared locations.

### 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 API implementation. Follow its billing unit, quantity and any request-dependent rules before sending the request.

## Available implementations
- blockrun: https://openany.si/blockrun/blockrun-prediction-markets-and-derivatives-list-polymarket-events-with-cursor-based-keyset-pagi/9e3abb1a-020e-4ed9-957f-62c240a77772/

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