# Pagination

## Cursor pagination (history endpoints)

[Position](/api/position-history/), [Deal](/api/deal-history/), [Order](/api/order-history/), [Balance](/api/balance-history/) and [Summary](/api/history-summary/) history use cursors.

1. Send the first request **without** `cursor`, with your `limit`.
2. The response includes a cursor for the next page. Send it back as `cursor`, keeping every other field the same.
3. When no cursor is returned, you have reached the last page.

```json
{
  "start_date": "2026-10-01",
  "end_date": "2026-11-01",
  "symbol": "",
  "position_id": "",
  "limit": 100,
  "cursor": "MTc5MzE1ODkyNjgxMDoyMDM4NDk0MDI0"
}
```

Treat the cursor as an opaque string. Don't build or modify it yourself.

## Offset pagination (Daily Profit)

[Daily Profit](/api/daily-profit/) uses `offset` and `limit`. Increase `offset` by `limit` for each page (`0`, `10`, `20`, …) until fewer than `limit` records come back.

---
Source: https://docs.algodeltafx.com/reference/pagination/
