# Problem with pagination on the APIv2

**URL:** <https://www.patreondevelopers.com/t/problem-with-pagination-on-the-apiv2/2663>\
**Category:** API Feedback\
**Created:** [January 23, 2020, 7:33pm UTC](https://www.patreondevelopers.com/t/problem-with-pagination-on-the-apiv2/2663 "2020-01-23T19:33:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mifey](https://avatars.discourse-cdn.com/v4/letter/m/7ea924/32.png) [@Mifey](https://www.patreondevelopers.com/u/Mifey)\
**Post date:** [January 23, 2020, 7:33pm UTC](https://www.patreondevelopers.com/t/problem-with-pagination-on-the-apiv2/2663/1 "2020-01-23T19:33:12Z")

</div>

When I try to query Patreon’s API using an http client like Postman, the page[count] parameter works just fine. When I put 100 as a value for example, I do get all my pledges (which are less than a 100).

However, in my Java application when I try to query the same URL using Java’s Http Client RestTemplate, the number of results are limited to 10 no matter what value I set for the page[count] parameter.

Therefore I tried using pagination but this is not an easy task using this API and the URL in the JSON object’s attribute « page.next » seems to always return the same elements.

Anybody knows if page based pagination is possible for Patreon’s API or is there an example of how to implement pagination for a Patreon campaign please ?

---

<div class="post-metadata">

**Author:** ![Dave\_Humphrey](https://avatars.discourse-cdn.com/v4/letter/d/a183cd/32.png) [@Dave\_Humphrey](https://www.patreondevelopers.com/u/Dave_Humphrey)\
**Post date:** [January 22, 2021, 7:53pm UTC](https://www.patreondevelopers.com/t/problem-with-pagination-on-the-apiv2/2663/2 "2021-01-22T19:53:50Z")

</div>

Try page[size] which seems to have worked for me (as found in another thread).
