# Tips and tricks for API pagination

DevFeed: [Tips and tricks for API pagination](<https://devfeed.tech/articles/tips-and-tricks-for-api-pagination-15925.md>)

Original publisher: [Read original article](<https://developer.squareup.com/blog/tips-and-tricks-for-api-pagination>)

Author: Tristan Sokol

Published: 2017-09-07T17:01:31Z

Content type: tutorial

Language: en

Sources: [Square Corner Blog RSS Feed](<https://devfeed.tech/sources/square-corner-blog-rss-feed.md>)

Topics: [API](<https://devfeed.tech/topics/api.md>), [Transactions](<https://devfeed.tech/topics/transactions.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [apis](<https://devfeed.tech/tags/apis.md>), [tips](<https://devfeed.tech/tags/tips.md>), [tricks](<https://devfeed.tech/tags/tricks.md>)

## AI overview

This tutorial explains API pagination, including how services return cursors or other pagination information for retrieving large result sets over multiple requests. It also describes Square's v2 List Transactions endpoint, where responses include pagination tokens for retrieving subsequent batches of transactions.

## Source excerpt

Sometimes you need more from your API than what you get from the first set of returned results.