---
title: "Discussion on \"Cursor vs offset pagination: what to actually put in your OpenAPI spec\" | Hashnode"
description: "Discussion on \"Cursor vs offset pagination: what to actually put in your OpenAPI spec\". Offset pagination is easy until data changes under the client; cursors are stable but opaque and bad for jump-to-page. Here is how to choose, how to document each style in OpenAPI 3.2, and the response envelope that stops frontend teams guessing."
url: "https://hashnode.com/posts/cursor-vs-offset-pagination-api-design/6aca07b450151a1896678979"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Cursor vs offset pagination: what to actually put in your OpenAPI spec](https://blogs.powerduck.com/cursor-vs-offset-pagination-api-design?utm_source=hashnode&utm_medium=feed)

Offset pagination is easy until data changes under the client; cursors are stable but opaque and bad for jump-to-page. Here is how to choose, how to document each style in OpenAPI 3.2, and the response envelope that stops frontend teams guessing.

Aug 18 · 6 min read · blogs.powerduck.com  
Read the article

-   [#api-design](https://hashnode.com/tag/api-design)
-   [#openapi](https://hashnode.com/tag/openapi)

## Written by

[Powerduck](https://hashnode.com/@powerduck)

@powerduck · hon

  
[View profile](https://hashnode.com/@powerduck)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
