Prediction Markets and Derivatives — List Polymarket events with cursor-based keyset pagination
List Polymarket events with cursor-based keyset pagination with the BlockRun API. The sample response includes time series, titles and volumes. Request fields include pagination key (pagination_key), result limit (limit), result offset (offset). Use it in financial research or market monitoring. The GET request schema also lists category, id, include_markets. Use the data in market research, dashboard views, or scheduled data collection for the relevant markets.
- Selected price
- $0.0075 / callPublished pricing
- Sellers / APIs
- 1 / 1
- Requests · 30d
- —Loading...
- Success rate · 30d
- —Loading...
Prediction Markets and Derivatives — List Polymarket events with cursor-based keyset pagination
Prepare your request, then continue with your agent.
Selected price
$0.0075 / call
- Provider
- Pricing
On this page
Playground
Run sends a real API request. Charges follow the published API contract.
Response structure
eventsobject[]categorystringdescriptionstringicon_urlstringidstringimage_urlstringseriesobject[]activebooleanarchivedbooleanclosedbooleaniconstringidstringimagestringslugstringtickerstringtitlestringvolumenumber
slugstringtagsobject[]createdAtstringforceHidebooleanforceShowbooleanidstringlabelstringpublishedAtstringslugstringupdatedAtstringupdatedByinteger
tickerstringtitlestring
paginationobjectcountintegerhas_morebooleanlimitintegerpagination_keystring
// Inferred from response examples. Fields are optional and other fields may be returned.
export type ApiResponse = {
events?: Array<{
category?: string;
description?: string;
icon_url?: string;
id?: string;
image_url?: string;
series?: Array<{
active?: boolean;
archived?: boolean;
closed?: boolean;
icon?: string;
id?: string;
image?: string;
slug?: string;
ticker?: string;
title?: string;
volume?: number;
}>;
slug?: string;
tags?: Array<{
createdAt?: string;
forceHide?: boolean;
forceShow?: boolean;
id?: string;
label?: string;
publishedAt?: string;
slug?: string;
updatedAt?: string;
updatedBy?: number;
}>;
ticker?: string;
title?: string;
}>;
pagination?: {
count?: number;
has_more?: boolean;
limit?: number;
pagination_key?: string;
};
};Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
blockrunCurrent Prediction Markets and Derivatives — List Polymarket events with cursor-based keyset pagination · GET · View API reference | $0.0075 / call | — | —successP50— |
- Unit price
- $0.0075
Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 4. Price update time: not supplied.
Total $0.75
API
- Method
- GET
- Endpoint
https://api.openany.si/v1/agent-apis/blockrun/v1/pm/polymarket/events/keyset- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
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'Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
category | URL query parametersquery | string | null | No | Filter by category (e.g. Sports, Crypto) |
id | URL query parametersquery | array | null | No | Event ID(s).Nested fields and variants
|
include_markets | URL query parametersquery | boolean | No | Embed child markets in each event. |
limit | URL query parametersquery | integer | No | Max results to return (default 20, max 100). minimum: 1 · maximum: 100 |
markets_per_event | URL query parametersquery | integer | No | Max markets nested per event when include_markets=true minimum: 1 · maximum: 50 |
min_open_interest | URL query parametersquery | number | null | No | Only events with current open interest >= this (USD) minimum: 0 |
min_volume | URL query parametersquery | number | null | No | Only events with 7d volume >= this (USD) minimum: 0 |
offset | URL query parametersquery | integer | No | Deprecated — use pagination_key. minimum: 0 |
pagination_key | URL query parametersquery | string | null | No | Opaque cursor from a prior response for keyset pagination. |
search | URL query parametersquery | string | null | No | 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 | URL query parametersquery | array | null | No | Event slug(s). On /events the slug filter IS `slug` (unlike /markets, which uses `event_slug`).Nested fields and variants
|
sort | URL query parametersquery | string | No | 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 | URL query parametersquery | string | null | No | Filter by market status (e.g. "open", "closed"). enum: "open", "closed", null |
tag | URL query parametersquery | array | null | No | Filter by tag slug(s)Nested fields and variants
|
Required markers inside a nested object or variant apply when that object or variant is used.
Sample response
Sample response · Documented HTTP 200 Published documentation example. Verify the actual response after an approved call.
{
"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"
}
}Agent integration
Copy the resource contract without sharing an API key.
View API Markdown
# Prediction Markets and Derivatives — List Polymarket events with cursor-based keyset pagination
List Polymarket events with cursor-based keyset pagination with the BlockRun API. The sample response includes time series, titles and volumes. Request fields include pagination key (pagination_key), result limit (limit), result offset (offset). Use it in financial research or market monitoring. The GET request schema also lists category, id, include_markets. Use the data in market research, dashboard views, or scheduled data collection for the relevant markets.
## Available implementations
blockrun · Prediction Markets and Derivatives — List Polymarket events with cursor-based keyset pagination: https://openany.si/markets/apis/capabilities/blockrun-prediction-markets-and-derivatives-list-polymarket-events-with-cursor-based-keyset-pagi?offering=9e3abb1a-020e-4ed9-957f-62c240a77772 · $0.0075 / call
## Selected API contract
Documentation: https://openany.si/markets/apis/capabilities/blockrun-prediction-markets-and-derivatives-list-polymarket-events-with-cursor-based-keyset-pagi
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/blockrun/v1/pm/polymarket/events/keyset
Price: $0.0075 / call
Provider: blockrun
Contract revision: 4
Price source: OpenAny public API contract and documented provider unit rates. Price update time: not supplied.
Use OPENANY_API_KEY from the environment. API Key calls use your shared balance.
## Prepared request
```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'
```
## API contract
```json
{
"resource_type": "api",
"name": "Prediction Markets and Derivatives — List Polymarket events with cursor-based keyset pagination",
"endpoint": "https://api.openany.si/v1/agent-apis/blockrun/v1/pm/polymarket/events/keyset",
"method": "GET",
"content_type": "none",
"execution_mode": "sync",
"authentication": {
"type": "bearer",
"environment_variable": "OPENANY_API_KEY"
},
"inputs": [
{
"description": "Filter by category (e.g. Sports, Crypto)",
"location": "query",
"name": "category",
"nullable": true,
"required": false,
"type": "string"
},
{
"description": "Event ID(s).",
"item_type": "string",
"location": "query",
"name": "id",
"nullable": true,
"required": false,
"type": "array"
},
{
"description": "Embed child markets in each event.",
"location": "query",
"name": "include_markets",
"nullable": false,
"required": false,
"type": "boolean"
},
{
"description": "Max results to return (default 20, max 100).",
"location": "query",
"maximum": "100",
"minimum": "1",
"name": "limit",
"nullable": false,
"required": false,
"type": "integer"
},
{
"description": "Max markets nested per event when include_markets=true",
"location": "query",
"maximum": "50",
"minimum": "1",
"name": "markets_per_event",
"nullable": false,
"required": false,
"type": "integer"
},
{
"description": "Only events with current open interest >= this (USD)",
"location": "query",
"minimum": "0.0",
"name": "min_open_interest",
"nullable": true,
"required": false,
"type": "number"
},
{
"description": "Only events with 7d volume >= this (USD)",
"location": "query",
"minimum": "0.0",
"name": "min_volume",
"nullable": true,
"required": false,
"type": "number"
},
{
"description": "Deprecated — use pagination_key.",
"location": "query",
"minimum": "0",
"name": "offset",
"nullable": false,
"required": false,
"type": "integer"
},
{
"description": "Opaque cursor from a prior response for keyset pagination.",
"location": "query",
"name": "pagination_key",
"nullable": true,
"required": false,
"type": "string"
},
{
"description": "Free-text search over market/question text (min 3 chars). Note: this param is `search` here, NOT `q` — only /markets/search uses `q`.",
"location": "query",
"max_length": 100,
"min_length": 3,
"name": "search",
"nullable": true,
"required": false,
"type": "string"
},
{
"description": "Event slug(s). On /events the slug filter IS `slug` (unlike /markets, which uses `event_slug`).",
"item_type": "string",
"location": "query",
"name": "slug",
"nullable": true,
"required": false,
"type": "array"
},
{
"description": "Sort order for results.",
"enum_values": [
"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"
],
"location": "query",
"name": "sort",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "Filter by market status (e.g. \"open\", \"closed\").",
"enum_values": [
"open",
"closed"
],
"location": "query",
"name": "status",
"nullable": true,
"required": false,
"type": "string"
},
{
"description": "Filter by tag slug(s)",
"item_type": "string",
"location": "query",
"name": "tag",
"nullable": true,
"required": false,
"type": "array"
}
],
"billing": {
"currency": "USD",
"mode": "fixed",
"priceMicroUsd": "7500",
"rounding": null,
"unit": "call",
"unitQuantity": null
},
"examples": [
{
"http_status": 200,
"name": "Documentation example (source abbreviated)",
"request": {
"body": null,
"headers": {},
"path": {},
"query": {
"include_markets": "false",
"limit": 1
}
},
"response_body": {
"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
| Status | Next step |
|---|---|
400 | Check the offering and request fields. |
401 / 403 | Verify your credentials and access permissions. |
402 | Inspect the selected access mode and returned payment requirements. |
429 | Respect the returned rate limit and retry guidance. |
5xx | Inspect the error and usage record before retrying a paid operation. |
Examples
Documentation example (source abbreviated)
Published documentation example. Verify the actual response after an approved call.
Prepare your environment
Use a terminal with cURL installed.
Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.
Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.
Terminal · macOS / Linuxprintf 'OpenAny API key: ' read -r -s OPENANY_API_KEY export OPENANY_API_KEY printf '\n'Run the request
Paste the complete command below into your terminal.
Values to replace before running 14
Review these request fields before running. Keep the published provider and request method unchanged.
category- Filter by category (e.g. Sports, Crypto)
id- Event ID(s).
include_markets- Embed child markets in each event.
limit- Max results to return (default 20, max 100).
markets_per_event- Max markets nested per event when include_markets=true
min_open_interest- Only events with current open interest >= this (USD)
min_volume- Only events with 7d volume >= this (USD)
offset- Deprecated — use pagination_key.
pagination_key- Opaque cursor from a prior response for keyset pagination.
search- Free-text search over market/question text (min 3 chars). Note: this param is `search` here, NOT `q` — only /markets/search uses `q`.
slug- Event slug(s). On /events the slug filter IS `slug` (unlike /markets, which uses `event_slug`).
sort- Sort order for results.
status- Filter by market status (e.g. "open", "closed").
tag- Filter by tag slug(s)
Terminal · cURLcurl \ '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'Check the response
Sample response · Documented HTTP 200
Sample response{ "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" } }