> ## Documentation Index
> Fetch the complete documentation index at: https://platform.trendlinelabs.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Pagination

## Events

`GET /public/v1/events` returns events in a stable id order, at most 100 events per page and
50 events per page by default (`limit`). Each page carries `next_cursor`; pass it back as `cursor` for
the next page. The last page's `next_cursor` is null.

A cursor binds the filters it was minted under (`category`, `venue`, `min_venues`). Replaying it with
other filters, or sending a malformed one, answers 422 invalid\_request. An event that becomes active
or resolves while you walk may or may not appear.

## Search

`GET /public/v1/markets/search` returns the top results only: at most 50 search results, and
20 search results by default. There is no cursor.

## Trades

`GET /public/v1/markets/{universal_id}/trades` returns at most 200 trades per request and
50 trades by default, newest first, with no cursor.

## Account routes

The account routes page with the same `next_cursor` and `cursor` pair. A cursor binds the route, the
venue, the filters and the key's user; replaying it anywhere else answers 422 invalid\_request.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.