Skip to content

Guides

Pagination

Page through long lists with page and limit.

List endpoints return results in pages. Use the page and limit query parameters to choose which page to fetch and how many items it contains (at most 100):

curl "https://api.acme.dev/v1/stores/store_42/products?page=2&limit=50"

The response includes the total number of items, so you know when to stop:

{
  "data": [],
  "page": 2,
  "limit": 50,
  "total": 134
}