# BlockRun.AI Polymarket Events Keyset Pagination

> BlockRun.AI Polymarket Events Keyset Pagination is a paid API for AI agents from blockrun.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-16).

Lists Polymarket prediction market events using cursor-based keyset pagination for efficient traversal

## Facts

- Endpoint: GET https://blockrun.ai/api/v1/pm/polymarket/events/keyset
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/blockrun-ai-b8c10b07
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_J1XyG5WCnVjwBocfLA4fB

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability blockrun-ai-b8c10b07
```

Example prompt: Show me the latest Polymarket prediction market events — use keyset pagination to get the first page of results.

## When to prefer this

Use this endpoint when you need to efficiently paginate through large sets of Polymarket events without offset-based degradation, especially for iterating the full event catalog or building feeds of prediction market events.

## Known failure modes

- Invalid or expired cursor returns empty results or error
- Rate limiting may occur at high request frequency
- Polymarket data unavailability returns empty data object
- Malformed pagination parameters return 400-level errors

## How this service works

List Polymarket events with cursor-based keyset pagination

## Output

Returns a paginated list of Polymarket events with event metadata and a cursor token for fetching subsequent pages using keyset pagination.

## Example request

```json
{
 "input": {
  "body": {}
 }
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "query": {
     "type": "object",
     "required": [],
     "properties": {}
    }
   }
  },
  "output": {
   "type": "object",
   "properties": {
    "example": {
     "type": "object",
     "properties": {
      "data": {
       "type": "object"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/blockrun-ai-b8c10b07/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from blockrun.ai](https://www.zero.xyz/host/blockrun.ai/llms.txt)
