TOOLS. SYSTEMS. BETTER DECISIONS.
Stack & Method
HomeThe journal
The reading shelf

The journal

Useful questions, clear assumptions and room to understand the details.

Journal entries

New from the working library

The latest practical questions, worked examples and guides from Stack & Method.

Browse all articles ↗

How to do cursor-based pagination

A practical guide to implementing API cursor pagination with a next token: picking a stable order, building opaque cursors, HTTP patterns, SQL examples and common pitfalls.

Your privacy choices

Optional analytics helps us improve these guides. It stays off until you allow it. Privacy details