---
agentTools:
  projectIndex: https://safehavenmfb.readme.io/llms.txt
---

# Pagination

Safe Haven supports fetch of  API resources like Accounts, Transfers. These endpoints share a common structure, taking at least these two parameters: `page` and `limit`. By default, the page is set to `0` and a limit of `25`. You can fetch a maximum of `100` records at once. The resulting response will always include a `pagination` object with the `total` records count, the number of `pages`, the current `page`, and the `limit` set.

[block:code]
{
  "codes": [
    {
      "code": "{\n    \"statusCode\": 200,\n    \"message\": \"Accounts fetched successfully.\",\n    \"data\": [\n    {.....},\n    {.....},\n    {.....}\n    ],\n    \"pagination\": {\n        \"total\": 1,\n        \"pages\": 1,\n        \"page\": \"0\",\n        \"limit\": \"25\"\n    }\n}",
      "language": "json",
      "name": "JSON RESPONSE"
    }
  ]
}
[/block]