# Pagination

The Weel API uses a paginated approach to return large datasets. This document outlines the pagination process and requirements for using the API.

## Pagination Parameters

All paginated endpoints will accept the following parameters:

- `limit`: The number of items to return. Defaults to 50. Maximum of 500.
- `offset`: The number of items to skip. Defaults to 0.


## Pagination Response

All paginated endpoints will return a response with the following structure:


```
{
  "count": 150,
  "next": "limit=50&offset=100",
  "previous": "limit=50&offset=0",
  "results": [
    // ...
  ]
}
```