Pagination
Cursor-based pagination for list endpoints using limit, starting_after, and ending_before.
List endpoints are paginated with a cursor. Instead of page numbers you pass the id of the last item you saw to fetch the next slice — this stays stable as data changes underneath you.
Parameters
| Parameter | Description |
|---|---|
limit | Maximum number of items to return per page. |
starting_after | Return items after this object id — the next page. |
ending_before | Return items before this object id — the previous page. |
curl "https://api.getmeonline.io/v1/products?limit=20&starting_after=prod_123" \
-H "Authorization: Bearer $GETME_API_KEY"
To page forward, take the id of the last item in a response and pass it as starting_after on the next request. Continue until fewer than limit items come back, which means you have reached the end.