Pagination

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

Offset pagination

Use the skip and limit query parameters to paginate through results:

Paginated request

GET
/products
curl "https://api.pixeepim.com/api/v1/products?skip=0&limit=50" \
  -H "Authorization: Bearer {api_key}"
ParameterTypeDefaultMaxDescription
skipinteger0Number of items to skip
limitinteger50500Number of items to return

Pagination metadata

Every list response wraps results in an items array and includes a meta object:

Paginated response

{
  "items": [...],
  "meta": {
    "total": 1234,
    "page": 1,
    "per_page": 50,
    "total_pages": 25,
    "has_next": true,
    "has_previous": false
  }
}
FieldDescription
totalTotal items matching the query
pageCurrent page number (1-indexed)
per_pageItems returned on this page
total_pagesTotal number of pages
has_nextWhether a next page exists
has_previousWhether a previous page exists

Iterating all pages

Page 1 (items 1–50)

curl "https://api.pixeepim.com/api/v1/products?skip=0&limit=50" \
  -H "Authorization: Bearer {api_key}"

Page 2 (items 51–100)

curl "https://api.pixeepim.com/api/v1/products?skip=50&limit=50" \
  -H "Authorization: Bearer {api_key}"

Continue incrementing skip by limit until has_next is false.

Was this page helpful?