> For the complete documentation index, see [llms.txt](https://milonics.gitbook.io/api-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://milonics.gitbook.io/api-documentation/getting-started/pagination.md).

# Pagination

Endpoints that accept page and `per_page` parameters are paginated. They expose four additional fields that contain data about your position in the response. For example, to display 15 results per page and view the second page of a `GET to /networks`, your final request would be `GET/networks?...page=2&per_page=5`

```javascript
{
"success": true,
"data": {
"current_page": 1,
"data": [],

"first_page_url": "http:/insurpass-
api.test/api/merchant/search_pharmacies?page=1",

"from": null,
"last_page": 1,

"last_page_url": "http://insurpass-
api.test/api/merchant/search_pharmacies?page=1",

"next_page_url": null,
"path": "http://insurpass-api.test/api/merchant/search_pharmacies",
"per_page": 15,
"prev_page_url": null,
"to": null,
"total": 0
},
"message": "Pharmacies retrieved successfully"
}
```
