Pagination
Learn how pagination works across the Pandabase API.
All list endpoints use page-based pagination with consistent request parameters and response structure.
Request Parameters
Include these query parameters on any list endpoint:
Prop
Type
Response Structure
List endpoints return an object with items and pagination:
{
"ok": true,
"data": {
"items": [],
"pagination": {
"page": 1,
"limit": 25,
"total": 142,
"totalPages": 6
}
}
}Pagination Object
Prop
Type
Best Practices
- Use
pageandlimitquery parameters when making requests to list endpoints. - Respect the maximum
limitof 100 items per page. - Check
totalPagesto know when you've reached the last page. - An empty
itemsarray withtotal: 0means no results matched your query.
Limitations
- The maximum allowed
limitis 100 items per page. - If a
limitgreater than 100 is requested, the API will return a validation error. - Default
limitvaries by resource (20 or 25) but all cap at 100.
