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.

Level: advancedTopic: Web APIs HTTP

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.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.