Pagination
List endpoints support pagination using query parameters.
Query Parameters
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
page |
integer | Yes | Page number (starts at 1) | - |
count |
integer | Yes | Number of items per page | - |
Constraints
pagemust be greater than 0countmust be greater than 0countcannot exceed 100
Response Format
Paginated responses include:
count: Total number of items matching the querydata: Array of items for the current page
Example Request
Example Response
{
"count": 45,
"data": [
{
"id": 1,
"name": "Brand Name",
"image": "https://..."
},
// ... 19 more items
]
}
Pagination Best Practices
- Start with page 1 for the first request
- Use reasonable page sizes (10-50 items) for better performance
- Check the count to determine if more pages are available
- Handle empty results when
countis 0 ordatais empty