How It Works
- Initial Request:
- The client requests the first page of results. The server returns the requested items along with a cursor pointing to the next position in the dataset.
- Subsequent Requests:
- For subsequent pages, the client includes the cursor received from the previous response in the request.
- The server uses this cursor to determine where to start fetching the next set of results.
- Final Page:
- If there are no more results, the server indicates this, often by omitting the cursor or returning an empty data set.
Example
Take the lastId of the result and pass it as the nextOffset parameter. The hasMore parameter will indicate if there are more results.

