Polymarket Events Keyset API
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.
- Selected price
- $0 / callPublished pricing
- Sellers / APIs
- 1 / 1
- Requests · 30d
- 0Selected implementation · last 30 days
- Success rate · 30d
- —No requests in this period
Polymarket Events Keyset API
Prepare your request, then continue with your agent.
Selected price
$0 / call
- Provider
- API
- Pricing
On this page
Overview
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.
Quick Facts
| Fact | Value |
|---|---|
| Access | OpenAny REST |
| Authentication | OpenAny API key in the Authorization header |
| Core inputs | Optional limit (1–100), after_cursor, order/ascending and supported event filters; omit offset. |
| Selected implementation | polymarket · Polymarket — List events (keyset pagination) |
| Billing | See the pricing area for the selected implementation and request options |
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 |
Quick Start
- Set OPENANY_API_KEY to your OpenAny API key.
- Review the supported inputs and set any required query value shown in the template.
- Check the HTTP response and business result before reading optional fields.
curl --request GET --get \
"https://api.openany.si/v1/agent-apis/polymarket/query/market-discovery/list-events-keyset-pagination-f9e1322a" \
-H "Authorization: Bearer ${OPENANY_API_KEY}" \
-H 'Content-Type: application/json' \
--data-urlencode closed=false \
--data-urlencode limit=2
Request and Response Examples
The saved response is a published documentation example with abbreviated source content. Its values may be historical; the request is an independent calling template. Use current returned identifiers and optional fields for your chosen resource.
Published Polymarket Events Keyset API implementation contract.
Pricing and Billing
The pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service's public availability does not determine OpenAny billing.
Frequently Asked Questions
Related APIs
Playground
Run sends a real API request. Charges follow the published API contract.
Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
PolymarketCurrent Polymarket — List events (keyset pagination) · GET · View API reference | $0 / call | 0 | —successP50— |
- Unit price
- $0
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
API
- Method
- GET
- Endpoint
https://api.openany.si/v1/agent-apis/polymarket/query/market-discovery/list-events-keyset-pagination-f9e1322a- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
limit | URL query parametersquery | integer | No | Maximum number of results to return (max 100) minimum: 1 · maximum: 100 |
order | URL query parametersquery | string | No | Comma-separated list of JSON field names to order by |
ascending | URL query parametersquery | boolean | No | Sort direction. Only used when order is set. |
after_cursor | URL query parametersquery | string | No | Opaque cursor token from a previous response's next_cursor |
offset | URL query parametersquery | integer | No | Not allowed. Returns 422 if provided. |
id | URL query parametersquery | array | No | id Nested fields and variants
|
slug | URL query parametersquery | array | No | slug Nested fields and variants
|
closed | URL query parametersquery | boolean | No | 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 | URL query parametersquery | boolean | No | live |
featured | URL query parametersquery | boolean | No | featured |
cyom | URL query parametersquery | boolean | No | cyom |
title_search | URL query parametersquery | string | No | title_search |
liquidity_min | URL query parametersquery | number | No | liquidity_min |
liquidity_max | URL query parametersquery | number | No | liquidity_max |
volume_min | URL query parametersquery | number | No | volume_min |
volume_max | URL query parametersquery | number | No | volume_max |
start_date_min | URL query parametersquery | string | No | start_date_min format: date-time |
start_date_max | URL query parametersquery | string | No | start_date_max format: date-time |
end_date_min | URL query parametersquery | string | No | end_date_min format: date-time |
end_date_max | URL query parametersquery | string | No | end_date_max format: date-time |
start_time_min | URL query parametersquery | string | No | start_time_min format: date-time |
start_time_max | URL query parametersquery | string | No | start_time_max format: date-time |
tag_id | URL query parametersquery | array | No | tag_id Nested fields and variants
|
tag_slug | URL query parametersquery | string | No | tag_slug |
exclude_tag_id | URL query parametersquery | array | No | Tag IDs to exclude. Cannot overlap with tag_id. Nested fields and variants
|
related_tags | URL query parametersquery | boolean | No | related_tags |
tag_match | URL query parametersquery | string | No | tag_match |
series_id | URL query parametersquery | array | No | series_id Nested fields and variants
|
game_id | URL query parametersquery | array | No | game_id Nested fields and variants
|
event_date | URL query parametersquery | string | No | event_date format: date-time |
event_week | URL query parametersquery | integer | No | event_week |
featured_order | URL query parametersquery | boolean | No | featured_order |
recurrence | URL query parametersquery | string | No | recurrence |
created_by | URL query parametersquery | array | No | created_by Nested fields and variants
|
parent_event_id | URL query parametersquery | integer | No | parent_event_id |
include_children | URL query parametersquery | boolean | No | include_children |
partner_slug | URL query parametersquery | string | No | When set, external_partners are attached to matching events |
include_chat | URL query parametersquery | boolean | No | When true, includes Chats and Series.Chats relations |
include_template | URL query parametersquery | boolean | No | When true, includes Templates relation |
include_best_lines | URL query parametersquery | boolean | No | When true, includes BestLines relation |
locale | URL query parametersquery | string | No | locale |
Required markers inside a nested object or variant apply when that object or variant is used.
Response structure
$schemastringeventsobject[]activebooleancreationDatestringdescriptionstringendDatestringiconstringidstringimagestringresolutionSourcestringslugstringstartDatestringtickerstringtitlestring
next_cursorstring
Agent integration
Copy the resource contract without sharing an API key.
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 41
Review these request fields before running. Keep the published provider and request method unchanged.
limit- Maximum number of results to return (max 100)
order- Comma-separated list of JSON field names to order by
ascending- Sort direction. Only used when order is set.
after_cursor- Opaque cursor token from a previous response's next_cursor
offset- Not allowed. Returns 422 if provided.
id- id
slug- slug
closed- 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- live
featured- featured
cyom- cyom
title_search- title_search
liquidity_min- liquidity_min
liquidity_max- liquidity_max
volume_min- volume_min
volume_max- volume_max
start_date_min- start_date_min
start_date_max- start_date_max
end_date_min- end_date_min
end_date_max- end_date_max
start_time_min- start_time_min
start_time_max- start_time_max
tag_id- tag_id
tag_slug- tag_slug
exclude_tag_id- Tag IDs to exclude. Cannot overlap with tag_id.
related_tags- related_tags
tag_match- tag_match
series_id- series_id
game_id- game_id
event_date- event_date
event_week- event_week
featured_order- featured_order
recurrence- recurrence
created_by- created_by
parent_event_id- parent_event_id
include_children- include_children
partner_slug- When set, external_partners are attached to matching events
include_chat- When true, includes Chats and Series.Chats relations
include_template- When true, includes Templates relation
include_best_lines- When true, includes BestLines relation
locale- locale
Terminal · cURLcurl \ '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'Check the response
Sample response · Documented HTTP 200
Sample response{ "$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" }