Skip to content

Pagination ​

Collection endpoints use page-based pagination.

ParameterDefaultRange
page1>= 1
limit201–100

Example:

http
GET /customers?page=2&limit=50

Response metadata:

json
{
  "meta": {
    "page": 2,
    "limit": 50,
    "total": 186,
    "total_pages": 4
  }
}

Use meta.total_pages rather than calculating the final page from the current array length.

Cedius is an illustrative API documentation portfolio project.