Docs/Core concepts/Pagination

Pagination

Cursor for trades, offset for lists.

Two pagination styles, by endpoint shape:

Cursor (trades)

Trades are keyset-paginated newest-first. Each response returns a nextCursor; pass it as ?cursor= for the next page. A null cursor means the end.

curl "https://www.quanaris.com/v1/token/C7heQqfNzdMbUFQwcHkL9FvdwsFsDRBnfwZDDyWYCLTZ/trades?limit=50"
# → { "trades": [...], "nextCursor": "1780520400000_84213" }
curl "https://www.quanaris.com/v1/token/C7heQqfNzdMbUFQwcHkL9FvdwsFsDRBnfwZDDyWYCLTZ/trades?limit=50&cursor=1780520400000_84213"

Single-response (ranked lists)

Ranked lists — Top traders (with ?limit=), Holders, Markets — return the whole ranked set (or the top N) in one response; there is no cursor to follow.