cursor and limit as query parameters.
Parameters
| Parameter | Type | Default | Range | What it does |
|---|---|---|---|---|
limit | integer | 50 | 1–200 | How many items to return per page. |
cursor | string | — | — | The nextCursor from the page before. Leave it out on the first request. |
What a page looks like
Events and markets list responses use a named array and anextCursor field:
nextCursor is null when there are no more pages.
Getting every page
Knowing when to stop
Stop whennextCursor is null. Do not stop just because the array looks empty. Always check nextCursor.