Guides ยท Technology

API Pagination Access Patterns

Match pagination to client needs

Different pagination patterns fit different client needs: offset for small static lists, cursor/keyset for large or changing data, and search-after for sorted search results; pick sort keys, limits, and docs accordingly.

Map Use Case

Static/small lists can use offset; dynamic/large prefer cursor or search-after.

Choose Sort Keys

Use stable indexed keys for cursors/search-after; avoid nondeterministic sorts.

Document

Explain limits, tokens, and consistency guarantees to clients.

Keep Exploring

Related Terms

One useful idea at a time

Get new explainers in your inbox

Occasional clear explanations. No daily noise.