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

# Pagination & sorting

> Cursor pagination (recommended) or offset, plus per-endpoint sorting.

List endpoints support both pagination styles.

## Cursor (recommended)

Pass `?cursor=` from the previous response's `pagination.nextCursor`. Cursor
pagination is stable under concurrent writes — rows created or deleted while
you paginate cannot shift your window.

```bash theme={null}
curl "https://api.hyperprop.com/platform/v1/organization/trading-accounts?cursor=eyJjcmVhdGVkX2F0IjoiMjAyNi0wOC0wOCJ9" \
  -H "X-API-Key: hp_live_your_key_here"
```

```json theme={null}
{
  "success": true,
  "data": [ ... ],
  "pagination": { "nextCursor": "eyJjcmVhdGVkX2F0IjoiMjAyNi0wOC0wNyJ9", "hasMore": true }
}
```

Stop when `nextCursor` is absent or `hasMore` is `false`.

## Offset

Pass `?limit=&offset=`; the response includes `pagination.total` and
`hasMore`. Convenient for page-numbered UIs, but pages can shift if rows are
inserted while you paginate.

## Sorting

Use `?sort=field:direction`, for example `?sort=created_at:asc`. Allowed
fields are listed per endpoint in the [API Reference](/api-reference).
Default: `created_at:desc`.


## Related topics

- [List all active lockouts](/platform-api/organization/list-all-active-lockouts.md)
- [Get account change history](/platform-api/organization/get-account-change-history.md)
- [Get events for a billing cycle](/platform-api/organization/get-events-for-a-billing-cycle.md)
- [List all billing events](/platform-api/organization/list-all-billing-events.md)
- [List payouts for an account](/platform-api/organization/list-payouts-for-an-account.md)
