AI engineering glossary · Web APIs HTTP
What is cursor pagination?
Cursor pagination (also called Keyset pagination): A pagination style where each page response includes an opaque marker pointing to where it ended, and the client sends it back to get the next page. It stays stable when data changes and is efficient on large datasets.
Cursor pagination: an example
The response has next_cursor: "eyJpZCI6MTIwfQ"; the next call adds ?cursor=eyJpZCI6MTIwfQ.
Related terms
More Web APIs HTTP terms
Where you learn it
Cursor pagination is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.