OpenAny
Get API keyAPI Key
APICrypto & DeFi

polymarket logo
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
USE THIS API

Polymarket Events Keyset API

Prepare your request, then continue with your agent.

Selected price

$0 / call

Provider
API
Pricing
Connect your agent
On this page

Overview

Overview
Polymarket Events Keyset API

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

  1. Set OPENANY_API_KEY to your OpenAny API key.
  2. Review the supported inputs and set any required query value shown in the template.
  3. Check the HTTP response and business result before reading optional fields.
bash
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

View FAQ

Related APIs

Playground

Run sends a real API request. Charges follow the published API contract.

Request parameters
Optional parameters (41)
Maximum number of results to return (max 100)
Comma-separated list of JSON field names to order by
Sort direction. Only used when order is set.
Opaque cursor token from a previous response's next_cursor
Not allowed. Returns 422 if provided.
id
slug
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
featured
cyom
title_search
liquidity_min
liquidity_max
volume_min
volume_max
start_date_min
start_date_max
end_date_min
end_date_max
start_time_min
start_time_max
tag_id
tag_slug
Tag IDs to exclude. Cannot overlap with tag_id.
related_tags
tag_match
series_id
game_id
event_date
event_week
featured_order
recurrence
created_by
parent_event_id
include_children
When set, external_partners are attached to matching events
When true, includes Chats and Series.Chats relations
When true, includes Templates relation
When true, includes BestLines relation
locale

Sample response

Run a request to see the actual response. Published samples are in Examples.

Response result

Sellers

SellerPricingRequests · 30dPerformanceAccess
PolymarketCurrent
Polymarket — List events (keyset pagination) · GET · View API reference
$0 / call0
—successP50—
Selected implementation traffic · 11/3/2026 – 12/3/2026 (UTC)
Selected pricing · PolymarketUSD / call
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.

calls

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
View request and response examples

Input parameters

Fields in this listing; additional options and input encoding can vary by provider.

ParameterLocationTypeRequiredDescription
limitURL query parametersqueryintegerNo

Maximum number of results to return (max 100)

minimum: 1 · maximum: 100

orderURL query parametersquerystringNo

Comma-separated list of JSON field names to order by

ascendingURL query parametersquerybooleanNo

Sort direction. Only used when order is set.

after_cursorURL query parametersquerystringNo

Opaque cursor token from a previous response's next_cursor

offsetURL query parametersqueryintegerNo

Not allowed. Returns 422 if provided.

idURL query parametersqueryarrayNo

id

Nested fields and variants

query.id[] · Array item · integer

slugURL query parametersqueryarrayNo

slug

Nested fields and variants

query.slug[] · Array item · string

closedURL query parametersquerybooleanNo

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.

liveURL query parametersquerybooleanNo

live

featuredURL query parametersquerybooleanNo

featured

cyomURL query parametersquerybooleanNo

cyom

title_searchURL query parametersquerystringNo

title_search

liquidity_minURL query parametersquerynumberNo

liquidity_min

liquidity_maxURL query parametersquerynumberNo

liquidity_max

volume_minURL query parametersquerynumberNo

volume_min

volume_maxURL query parametersquerynumberNo

volume_max

start_date_minURL query parametersquerystringNo

start_date_min

format: date-time

start_date_maxURL query parametersquerystringNo

start_date_max

format: date-time

end_date_minURL query parametersquerystringNo

end_date_min

format: date-time

end_date_maxURL query parametersquerystringNo

end_date_max

format: date-time

start_time_minURL query parametersquerystringNo

start_time_min

format: date-time

start_time_maxURL query parametersquerystringNo

start_time_max

format: date-time

tag_idURL query parametersqueryarrayNo

tag_id

Nested fields and variants

query.tag_id[] · Array item · integer

tag_slugURL query parametersquerystringNo

tag_slug

exclude_tag_idURL query parametersqueryarrayNo

Tag IDs to exclude. Cannot overlap with tag_id.

Nested fields and variants

query.exclude_tag_id[] · Array item · integer

related_tagsURL query parametersquerybooleanNo

related_tags

tag_matchURL query parametersquerystringNo

tag_match

series_idURL query parametersqueryarrayNo

series_id

Nested fields and variants

query.series_id[] · Array item · integer

game_idURL query parametersqueryarrayNo

game_id

Nested fields and variants

query.game_id[] · Array item · integer

event_dateURL query parametersquerystringNo

event_date

format: date-time

event_weekURL query parametersqueryintegerNo

event_week

featured_orderURL query parametersquerybooleanNo

featured_order

recurrenceURL query parametersquerystringNo

recurrence

created_byURL query parametersqueryarrayNo

created_by

Nested fields and variants

query.created_by[] · Array item · string

parent_event_idURL query parametersqueryintegerNo

parent_event_id

include_childrenURL query parametersquerybooleanNo

include_children

partner_slugURL query parametersquerystringNo

When set, external_partners are attached to matching events

include_chatURL query parametersquerybooleanNo

When true, includes Chats and Series.Chats relations

include_templateURL query parametersquerybooleanNo

When true, includes Templates relation

include_best_linesURL query parametersquerybooleanNo

When true, includes BestLines relation

localeURL query parametersquerystringNo

locale

Required markers inside a nested object or variant apply when that object or variant is used.

Response structure

Inferred from examples
  • $schemastring
  • eventsobject[]
    • activeboolean
    • creationDatestring
    • descriptionstring
    • endDatestring
    • iconstring
    • idstring
    • imagestring
    • resolutionSourcestring
    • slugstring
    • startDatestring
    • tickerstring
    • titlestring
  • next_cursorstring

Agent integration

Copy the resource contract without sharing an API key.

Download MDView API Markdown

Error handling

StatusNext step
400Check the offering and request fields.
401 / 403Verify your credentials and access permissions.
402Inspect the selected access mode and returned payment requirements.
429Respect the returned rate limit and retry guidance.
5xxInspect 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.

  1. 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 / Linux
    printf 'OpenAny API key: '
    read -r -s OPENANY_API_KEY
    export OPENANY_API_KEY
    printf '\n'
  2. 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 · cURL
    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'
  3. 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"
    }

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.

Use Polymarket Events Keyset API with your agent

Inspect endpoint contracts and confirm availability and pricing before a paid call.