APICrypto & DeFi

Polymarket — List events (paginated)

List events (paginated) with the Polymarket API. The sample response includes titles. Request fields include result limit (limit), result offset (offset). Use it for on-chain or crypto market research. The GET request schema also lists order. Use the data in market research, dashboard views, or scheduled data collection for the relevant markets.

Selected price
$0 / callPublished pricing
Sellers / APIs
1 / 1
Requests · 30d
—Loading...
Success rate · 30d
—Loading...
USE THIS API

Polymarket — List events (paginated)

Prepare your request, then continue with your agent.

Selected price

$0 / call

Provider
Pricing
Connect your agent
On this page

Playground

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

Request parameters
Optional parameters (7)
limit
offset
Comma-separated list of fields to order by
ascending
include_chat
include_template
recurrence

Sample response

"$schema": "https://gamma-api.polymarket.com/schemas/EventsPagination.json"
data [2]
[0] {}
"active": true
"creationDate": "2021-12-04T00:00:00Z"
descriptionString · text preview
data[0].description
In the upcoming NBA game, scheduled for December 4:

If the Dallas Mavericks win by over 5.5 points, the market will resolve to “Yes”.

If the Memphis Grizzlies lose by less than 5.5 points or win, the market will resolve “No.” 

If the game is not completed by December 11, 2021, the market will resolve 50-50.
"endDate": "2021-12-04T00:00:00Z"
"icon": "https://polymarket-upload.s3.us-east-2.amazonaws.com/nba-will-the-mavericks-beat-the-grizzlies-by-more-than-55-points-in-their-december-4-matchup-543e7263-67da-4905-8732-cd3f220ae751.png"
"id": "2890"
"image": "https://polymarket-upload.s3.us-east-2.amazonaws.com/nba-will-the-mavericks-beat-the-grizzlies-by-more-than-55-points-in-their-december-4-matchup-543e7263-67da-4905-8732-cd3f220ae751.png"
"resolutionSource": "https://www.nba.com/games"
"slug": "nba-will-the-mavericks-beat-the-grizzlies-by-more-than-5pt5-points-in-their-december-4-matchup"
"startDate": "2021-12-04T00:00:00Z"
"ticker": "nba-will-the-mavericks-beat-the-grizzlies-by-more-than-5pt5-points-in-their-december-4-matchup"
"title": "NBA: Will the Mavericks beat the Grizzlies by more than 5.5 points in their December 4 matchup?"
[1] {}
"active": true
"creationDate": "2021-10-31T00:00:00Z"
descriptionString · text preview
data[1].description
In the upcoming NFL game:

If the Atlanta Falcons win by over 3.5 points, the market will resolve to “Yes”.

If the Carolina Panthers lose by less than 3.5 points or win, the market will resolve “No.” 

If the game is not completed by November 6, 2021, the market will resolve 50-50.
"endDate": "2021-10-31T00:00:00Z"
"icon": "https://polymarket-upload.s3.us-east-2.amazonaws.com/nfl-will-the-falcons-beat-the-panthers-by-more-than-35-points-in-their-october-31st-matchup-42fbac86-4843-43ff-a292-82058d351fa6.png"
"id": "2891"
"image": "https://polymarket-upload.s3.us-east-2.amazonaws.com/nfl-will-the-falcons-beat-the-panthers-by-more-than-35-points-in-their-october-31st-matchup-42fbac86-4843-43ff-a292-82058d351fa6.png"
"resolutionSource": "https://www.nfl.com/scores/"
"slug": "nfl-will-the-falcons-beat-the-panthers-by-more-than-3pt5-points-in-their-october-31st-matchup"
"startDate": "2021-10-31T00:00:00Z"
"ticker": "nfl-will-the-falcons-beat-the-panthers-by-more-than-3pt5-points-in-their-october-31st-matchup"
"title": "NFL: Will the Falcons beat the Panthers by more than 3.5 points in their October 31st matchup?"
"pagination": {
  "hasMore": true,
  "totalResults": 3
}

Response result

Response structure

Inferred from examples
  • $schemastring
  • dataobject[]
    • activeboolean
    • creationDatestring
    • descriptionstring
    • endDatestring
    • iconstring
    • idstring
    • imagestring
    • resolutionSourcestring
    • slugstring
    • startDatestring
    • tickerstring
    • titlestring
  • paginationobject
    • hasMoreboolean
    • totalResultsinteger

Sellers

SellerPricingRequests · 30dPerformanceAccess
PolymarketCurrent
Polymarket — List events (paginated) · GET · View API reference
$0 / call—
—successP50—
Loading...
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: 3. 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-paginated-f118d277
Content type
application/json
Authentication
Authorization: Bearer $OPENANY_API_KEY
curl \
  'https://api.openany.si/v1/agent-apis/polymarket/query/market-discovery/list-events-paginated-f118d277?limit=2' \
  -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.

ParameterLocationTypeRequiredDescription
limitURL query parametersqueryintegerNolimit

minimum: 0

offsetURL query parametersqueryintegerNooffset

minimum: 0

orderURL query parametersquerystringNoComma-separated list of fields to order by
ascendingURL query parametersquerybooleanNoascending
include_chatURL query parametersquerybooleanNoinclude_chat
include_templateURL query parametersquerybooleanNoinclude_template
recurrenceURL query parametersquerystringNorecurrence

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.

Documentation example (source abbreviated)
{
  "$schema": "https://gamma-api.polymarket.com/schemas/EventsPagination.json",
  "data": [
    {
      "active": true,
      "creationDate": "2021-12-04T00:00:00Z",
      "description": "In the upcoming NBA game, scheduled for December 4:\n\nIf the Dallas Mavericks win by over 5.5 points, the market will resolve to “Yes”.\n\nIf the Memphis Grizzlies lose by less than 5.5 points or win, the market will resolve “No.” \n\nIf the game is not completed by December 11, 2021, the market will resolve 50-50.",
      "endDate": "2021-12-04T00:00:00Z",
      "icon": "https://polymarket-upload.s3.us-east-2.amazonaws.com/nba-will-the-mavericks-beat-the-grizzlies-by-more-than-55-points-in-their-december-4-matchup-543e7263-67da-4905-8732-cd3f220ae751.png",
      "id": "2890",
      "image": "https://polymarket-upload.s3.us-east-2.amazonaws.com/nba-will-the-mavericks-beat-the-grizzlies-by-more-than-55-points-in-their-december-4-matchup-543e7263-67da-4905-8732-cd3f220ae751.png",
      "resolutionSource": "https://www.nba.com/games",
      "slug": "nba-will-the-mavericks-beat-the-grizzlies-by-more-than-5pt5-points-in-their-december-4-matchup",
      "startDate": "2021-12-04T00:00:00Z",
      "ticker": "nba-will-the-mavericks-beat-the-grizzlies-by-more-than-5pt5-points-in-their-december-4-matchup",
      "title": "NBA: Will the Mavericks beat the Grizzlies by more than 5.5 points in their December 4 matchup?"
    },
    {
      "active": true,
      "creationDate": "2021-10-31T00:00:00Z",
      "description": "In the upcoming NFL game:\n\nIf the Atlanta Falcons win by over 3.5 points, the market will resolve to “Yes”.\n\nIf the Carolina Panthers lose by less than 3.5 points or win, the market will resolve “No.” \n\nIf the game is not completed by November 6, 2021, the market will resolve 50-50.",
      "endDate": "2021-10-31T00:00:00Z",
      "icon": "https://polymarket-upload.s3.us-east-2.amazonaws.com/nfl-will-the-falcons-beat-the-panthers-by-more-than-35-points-in-their-october-31st-matchup-42fbac86-4843-43ff-a292-82058d351fa6.png",
      "id": "2891",
      "image": "https://polymarket-upload.s3.us-east-2.amazonaws.com/nfl-will-the-falcons-beat-the-panthers-by-more-than-35-points-in-their-october-31st-matchup-42fbac86-4843-43ff-a292-82058d351fa6.png",
      "resolutionSource": "https://www.nfl.com/scores/",
      "slug": "nfl-will-the-falcons-beat-the-panthers-by-more-than-3pt5-points-in-their-october-31st-matchup",
      "startDate": "2021-10-31T00:00:00Z",
      "ticker": "nfl-will-the-falcons-beat-the-panthers-by-more-than-3pt5-points-in-their-october-31st-matchup",
      "title": "NFL: Will the Falcons beat the Panthers by more than 3.5 points in their October 31st matchup?"
    }
  ],
  "pagination": {
    "hasMore": true,
    "totalResults": 3
  }
}

Agent integration

Copy the resource contract without sharing an API key.

View API Markdown
API Markdown
# Polymarket — List events (paginated)

List events (paginated) with the Polymarket API. The sample response includes titles. Request fields include result limit (limit), result offset (offset). Use it for on-chain or crypto market research. The GET request schema also lists order. Use the data in market research, dashboard views, or scheduled data collection for the relevant markets.
## Available implementations
Polymarket · Polymarket — List events (paginated): https://openany.si/markets/apis/capabilities/polymarket-list-events-paginated?offering=e9c48190-6643-4157-957d-ab43ce9f0553 · $0 / call

## Selected API contract
Documentation: https://openany.si/markets/apis/capabilities/polymarket-list-events-paginated
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/polymarket/query/market-discovery/list-events-paginated-f118d277
Price: $0 / call
Provider: Polymarket
Contract revision: 3
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/polymarket/query/market-discovery/list-events-paginated-f118d277?limit=2' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'
```

## API contract
```json
{
  "resource_type": "api",
  "name": "Polymarket — List events (paginated)",
  "endpoint": "https://api.openany.si/v1/agent-apis/polymarket/query/market-discovery/list-events-paginated-f118d277",
  "method": "GET",
  "content_type": "none",
  "execution_mode": "sync",
  "authentication": {
    "type": "bearer",
    "environment_variable": "OPENANY_API_KEY"
  },
  "inputs": [
    {
      "description": "limit",
      "location": "query",
      "minimum": "0",
      "name": "limit",
      "nullable": false,
      "required": false,
      "type": "integer"
    },
    {
      "description": "offset",
      "location": "query",
      "minimum": "0",
      "name": "offset",
      "nullable": false,
      "required": false,
      "type": "integer"
    },
    {
      "description": "Comma-separated list of fields to order by",
      "location": "query",
      "name": "order",
      "nullable": false,
      "required": false,
      "type": "string"
    },
    {
      "description": "ascending",
      "location": "query",
      "name": "ascending",
      "nullable": false,
      "required": false,
      "type": "boolean"
    },
    {
      "description": "include_chat",
      "location": "query",
      "name": "include_chat",
      "nullable": false,
      "required": false,
      "type": "boolean"
    },
    {
      "description": "include_template",
      "location": "query",
      "name": "include_template",
      "nullable": false,
      "required": false,
      "type": "boolean"
    },
    {
      "description": "recurrence",
      "location": "query",
      "name": "recurrence",
      "nullable": false,
      "required": false,
      "type": "string"
    }
  ],
  "billing": {
    "currency": "USD",
    "mode": "fixed",
    "priceMicroUsd": "0",
    "rounding": null,
    "unit": "call",
    "unitQuantity": null
  },
  "examples": [
    {
      "http_status": 200,
      "name": "Documentation example (source abbreviated)",
      "request": {
        "body": null,
        "headers": {},
        "path": {},
        "query": {
          "limit": 2
        }
      },
      "response_body": {
        "$schema": "https://gamma-api.polymarket.com/schemas/EventsPagination.json",
        "data": [
          {
            "active": true,
            "creationDate": "2021-12-04T00:00:00Z",
            "description": "In the upcoming NBA game, scheduled for December 4:\n\nIf the Dallas Mavericks win by over 5.5 points, the market will resolve to “Yes”.\n\nIf the Memphis Grizzlies lose by less than 5.5 points or win, the market will resolve “No.” \n\nIf the game is not completed by December 11, 2021, the market will resolve 50-50.",
            "endDate": "2021-12-04T00:00:00Z",
            "icon": "https://polymarket-upload.s3.us-east-2.amazonaws.com/nba-will-the-mavericks-beat-the-grizzlies-by-more-than-55-points-in-their-december-4-matchup-543e7263-67da-4905-8732-cd3f220ae751.png",
            "id": "2890",
            "image": "https://polymarket-upload.s3.us-east-2.amazonaws.com/nba-will-the-mavericks-beat-the-grizzlies-by-more-than-55-points-in-their-december-4-matchup-543e7263-67da-4905-8732-cd3f220ae751.png",
            "resolutionSource": "https://www.nba.com/games",
            "slug": "nba-will-the-mavericks-beat-the-grizzlies-by-more-than-5pt5-points-in-their-december-4-matchup",
            "startDate": "2021-12-04T00:00:00Z",
            "ticker": "nba-will-the-mavericks-beat-the-grizzlies-by-more-than-5pt5-points-in-their-december-4-matchup",
            "title": "NBA: Will the Mavericks beat the Grizzlies by more than 5.5 points in their December 4 matchup?"
          },
          {
            "active": true,
            "creationDate": "2021-10-31T00:00:00Z",
            "description": "In the upcoming NFL game:\n\nIf the Atlanta Falcons win by over 3.5 points, the market will resolve to “Yes”.\n\nIf the Carolina Panthers lose by less than 3.5 points or win, the market will resolve “No.” \n\nIf the game is not completed by November 6, 2021, the market will resolve 50-50.",
            "endDate": "2021-10-31T00:00:00Z",
            "icon": "https://polymarket-upload.s3.us-east-2.amazonaws.com/nfl-will-the-falcons-beat-the-panthers-by-more-than-35-points-in-their-october-31st-matchup-42fbac86-4843-43ff-a292-82058d351fa6.png",
            "id": "2891",
            "image": "https://polymarket-upload.s3.us-east-2.amazonaws.com/nfl-will-the-falcons-beat-the-panthers-by-more-than-35-points-in-their-october-31st-matchup-42fbac86-4843-43ff-a292-82058d351fa6.png",
            "resolutionSource": "https://www.nfl.com/scores/",
            "slug": "nfl-will-the-falcons-beat-the-panthers-by-more-than-3pt5-points-in-their-october-31st-matchup",
            "startDate": "2021-10-31T00:00:00Z",
            "ticker": "nfl-will-the-falcons-beat-the-panthers-by-more-than-3pt5-points-in-their-october-31st-matchup",
            "title": "NFL: Will the Falcons beat the Panthers by more than 3.5 points in their October 31st matchup?"
          }
        ],
        "pagination": {
          "hasMore": true,
          "totalResults": 3
        }
      }
    }
  ]
}
```

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 7

    Review these request fields before running. Keep the published provider and request method unchanged.

    limit
    limit
    offset
    offset
    order
    Comma-separated list of fields to order by
    ascending
    ascending
    include_chat
    include_chat
    include_template
    include_template
    recurrence
    recurrence
    Terminal · cURL
    curl \
      'https://api.openany.si/v1/agent-apis/polymarket/query/market-discovery/list-events-paginated-f118d277?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/EventsPagination.json",
      "data": [
        {
          "active": true,
          "creationDate": "2021-12-04T00:00:00Z",
          "description": "In the upcoming NBA game, scheduled for December 4:\n\nIf the Dallas Mavericks win by over 5.5 points, the market will resolve to “Yes”.\n\nIf the Memphis Grizzlies lose by less than 5.5 points or win, the market will resolve “No.” \n\nIf the game is not completed by December 11, 2021, the market will resolve 50-50.",
          "endDate": "2021-12-04T00:00:00Z",
          "icon": "https://polymarket-upload.s3.us-east-2.amazonaws.com/nba-will-the-mavericks-beat-the-grizzlies-by-more-than-55-points-in-their-december-4-matchup-543e7263-67da-4905-8732-cd3f220ae751.png",
          "id": "2890",
          "image": "https://polymarket-upload.s3.us-east-2.amazonaws.com/nba-will-the-mavericks-beat-the-grizzlies-by-more-than-55-points-in-their-december-4-matchup-543e7263-67da-4905-8732-cd3f220ae751.png",
          "resolutionSource": "https://www.nba.com/games",
          "slug": "nba-will-the-mavericks-beat-the-grizzlies-by-more-than-5pt5-points-in-their-december-4-matchup",
          "startDate": "2021-12-04T00:00:00Z",
          "ticker": "nba-will-the-mavericks-beat-the-grizzlies-by-more-than-5pt5-points-in-their-december-4-matchup",
          "title": "NBA: Will the Mavericks beat the Grizzlies by more than 5.5 points in their December 4 matchup?"
        },
        {
          "active": true,
          "creationDate": "2021-10-31T00:00:00Z",
          "description": "In the upcoming NFL game:\n\nIf the Atlanta Falcons win by over 3.5 points, the market will resolve to “Yes”.\n\nIf the Carolina Panthers lose by less than 3.5 points or win, the market will resolve “No.” \n\nIf the game is not completed by November 6, 2021, the market will resolve 50-50.",
          "endDate": "2021-10-31T00:00:00Z",
          "icon": "https://polymarket-upload.s3.us-east-2.amazonaws.com/nfl-will-the-falcons-beat-the-panthers-by-more-than-35-points-in-their-october-31st-matchup-42fbac86-4843-43ff-a292-82058d351fa6.png",
          "id": "2891",
          "image": "https://polymarket-upload.s3.us-east-2.amazonaws.com/nfl-will-the-falcons-beat-the-panthers-by-more-than-35-points-in-their-october-31st-matchup-42fbac86-4843-43ff-a292-82058d351fa6.png",
          "resolutionSource": "https://www.nfl.com/scores/",
          "slug": "nfl-will-the-falcons-beat-the-panthers-by-more-than-3pt5-points-in-their-october-31st-matchup",
          "startDate": "2021-10-31T00:00:00Z",
          "ticker": "nfl-will-the-falcons-beat-the-panthers-by-more-than-3pt5-points-in-their-october-31st-matchup",
          "title": "NFL: Will the Falcons beat the Panthers by more than 3.5 points in their October 31st matchup?"
        }
      ],
      "pagination": {
        "hasMore": true,
        "totalResults": 3
      }
    }

Common questions

Do I need a separate key for every provider?

Use your OpenAny API key for standard API access. Read it from OPENANY_API_KEY in your environment and keep it out of prompts, source code and logs.

Are these providers interchangeable?

No. Each offering has its own inputs, pricing and response contract. Selecting a catalog offering does not establish automatic routing or fallback. Confirm the service contract before calling.

How is this API billed?

API-key calls use your shared balance at the selected implementation's published rate. Check the billing unit and request-specific pricing rules before making a paid call. Recorded usage determines the final charge under that contract.

Where do the price and contract come from?

The selected implementation publishes its provider, request contract, revision and billing rules through OpenAny's public API catalog. A revision number identifies a contract version, not a price update date. A price update timestamp is not supplied; do not treat a page date as one.

How do OpenAny Balance and x402 differ?

OpenAny Balance uses an API key and one shared balance. Card, USDC and x402 top-ups, card auto top-up and USDC subscriptions fund that balance; available routes appear on the Credits page. Direct x402 is a separate pay-per-request flow, available only on listings that show it and requiring an authorized payment client.

Does Playground send a paid request?

Yes. After you sign in, Run sends a real API request using an active OpenAny API key. Charges follow the published API contract and use your shared balance. Selecting an implementation, editing inputs and viewing sample responses do not send requests.

Use Polymarket — List events (paginated) with your agent

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