Skip to main content
All list endpoints across AscendAPI products use cursor-based pagination. This page explains how it works, how to navigate through results, and how it compares to traditional offset-based pagination.

How It Works

Each list response returns a data array alongside a meta object that contains everything you need to navigate to the next or previous page.

Meta Fields


First Request

No cursor is needed on the first request. Use the limit parameter to control how many results are returned per page.

Next Page

Pass the nextCursor value from the previous response as the after parameter.

Previous Page

Pass the previousCursor value as the before parameter to go back.

With Filters

Pagination works alongside all available filters. Pass any combination of query parameters together with the cursor.
Stop paginating when hasNextPage is false. No results exist beyond that point.

Cursor vs Offset Pagination

AscendAPI uses cursor-based pagination instead of the traditional page/offset approach. The table below explains the key differences. Offset pagination works by scanning and discarding rows before returning results. On large datasets, requesting a deep page means the database scans thousands of rows before serving your response. Cursor-based pagination skips this entirely by using a record ID as a direct reference point, making every page request equally fast regardless of dataset size.

Plan-Based Record Limits

On certain AscendAPI products, your plan determines how many records you can access in total, not just per page. This affects pagination directly as total in the meta object will reflect your plan limit rather than the full dataset size. For example, if your plan includes access to 1,000 records, pagination will stop at 1,000 results regardless of the full dataset size. To check the limits included in your plan, refer to the features listed on the product page.

Contact

For any queries reach out at hello@ascendapi.com.
Last modified on March 30, 2026