How Does Cursor Pagination Work?

Cursor pagination is an alternative to traditional pagination. The response headers contain a next page token that can be passed into the next request to get the next page of results.

Example of next page token:

content-type: application/json;charset=UTF-8 elements-next-page-token: eyJsaW1pdCI6MSwicGFnZVNpemUiOjEsInBhZ2UiOjJ9 elements-request-id: 5a6f8ba4e4b0fe73329cbc84 elements-returned-count: 1

Example of a request using next page token:

Note that a next page token is returned regardless if there is data on the next page.