Pagination

List endpoints in the Pixee PIM API return paginated results using page-based pagination. The default page size is 20 items; the maximum is 100.

Page-based pagination

Use the page and per_page query parameters to paginate through results:

Paginated request

GET
/products
curl "https://api.pixeepim.com/api/v1/products?page=1&per_page=20" \
  -H "Authorization: Bearer {api_key}"
ParameterTypeDefaultMaxDescription
pageinteger1Page number (1-indexed)
per_pageinteger20100Number of items to return per page

Pagination response format

Every list response wraps results in an items array and includes pagination fields directly at the root level:

Paginated response

{
  "items": [...],
  "total": 1247,
  "page": 1,
  "per_page": 20,
  "pages": 63
}
FieldDescription
totalTotal items matching the query
pageCurrent page number (1-indexed)
per_pageItems returned per page
pagesTotal number of pages

Iterating all pages

Page 1 (items 1–20)

curl "https://api.pixeepim.com/api/v1/products?page=1&per_page=20" \
  -H "Authorization: Bearer {api_key}"

Page 2 (items 21–40)

curl "https://api.pixeepim.com/api/v1/products?page=2&per_page=20" \
  -H "Authorization: Bearer {api_key}"

Continue incrementing page until page exceeds pages.

Was this page helpful?