Skip to content
Get API key (opens in a new tab)

Pagination

Follow cursor-paginated list responses without skipping or repeating items.

List endpoints return an opaque next_cursor. Send it unchanged as cursor to retrieve the next page.

Pagination parameters

ParameterTypeMeaning
limitintegerNumber of items to return, from 1 to 100
cursorstringCursor returned by the previous page

The generated endpoint reference shows which list endpoints support pagination.

Response fields

{
  "data": [],
  "has_more": true,
  "next_cursor": "eyJpZCI6InBvc3RfMDEifQ"
}
  • data: items in the current page
  • has_more: whether another page is available
  • next_cursor: cursor for the next page, or null on the final page

Request a page

Omit cursor on the first request. For subsequent pages, pass next_cursor unchanged:

curl "https://api.cevoid.com/v2/posts?limit=25&cursor=eyJpZCI6InBvc3RfMDEifQ" \
  -H "Authorization: Bearer ${CEVOID_API_KEY}"

Keep every filter except cursor unchanged between page requests. Stop when has_more is false.