list_top_events
gamma-api.polymarket.comReturns top prediction market events from https://polymarket.com with sorting, pagination, category and status filters, including complete markets and CLOB token IDs.
Playground
Runs on Notte and spends your workspace credits — what comes back is the live response, not a sample.
What is list_top_events?
Returns top prediction market events from https://polymarket.com with sorting, pagination, category and status filters, including complete markets and CLOB token IDs. It runs on Notte's browser infrastructure and returns structured JSON, so you can call it like any other API — pass limit, offset, sort_by, ascending, category, active, closed and get the result back without maintaining a scraper.
Response
{
"limit": 0,
"events": [
{}
],
"offset": 0,
"sort_by": "<string>",
"category": "<string>",
"has_more": true,
"returned": 0,
"ascending": true,
"next_offset": 0,
"active_filter": true,
"closed_filter": true
}Call it
curl --location 'https://us-prod.notte.cc/functions/21f87346-f08f-4791-a691-914eea96be3b/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
"function_id": "21f87346-f08f-4791-a691-914eea96be3b",
"variables": {
"limit": 3,
"offset": 0,
"sort_by": "volume",
"ascending": false,
"category": "",
"active": "true",
"closed": "false"
}
}'Ask an agent
Paste this into Claude Code, Cursor or any MCP client to have an agent call this function for you.
Use the Anything API MCP server (https://anything.notte.cc/mcp). Call run(function_id="21f87346-f08f-4791-a691-914eea96be3b") — the "list_top_events" function, which returns top prediction market events from https://polymarket.com with sorting, pagination, category and status filters, including complete markets and CLOB token IDs.. It takes limit (int), offset (int), sort_by (str), ascending (bool), category (str), active (str), closed (str). Return the result as structured JSON.