# API returning the same contacts

**URL:** <https://community.hubspot.com/t/api-returning-the-same-contacts/29973>\
**Category:** APIs & Integrations\
**Tags:** contacts\
**Created:** [January 11, 2021, 10:10am UTC](https://community.hubspot.com/t/api-returning-the-same-contacts/29973 "2021-01-11T10:10:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![MPallot](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/mpallot/32/92090_2.png) [@MPallot](https://community.hubspot.com/u/MPallot)\
**Post date:** [January 11, 2021, 10:10am UTC](https://community.hubspot.com/t/api-returning-the-same-contacts/29973/1 "2021-01-11T10:10:03Z")

</div>

Hello, I am very new to using APIs so please excuse me if this is a basic question.

I am trying to call all our contacts from Hubspot using the following URL:

[https://api.hubapi.com/crm/v3/objects/contacts](https://api.hubapi.com/crm/v3/objects/contacts)? limit=100 &properties=… &paginateAssociations=true &archived=false&hapikey=…

But we have more than 100 contacts but when I try to increase this limit I don’t call any contacts (I assume due to the limit of 100/10 seconds) (HTTP/1.1 400 Bad Request)

So what do I need to change in my URL or workflow to call the second page of contacts as opposed to the first page again?

Thanks

---

<div class="post-metadata">

**Author:** ![DRousselin](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/drousselin/32/75439_2.png) [@DRousselin](https://community.hubspot.com/u/DRousselin)\
**Post date:** [January 11, 2021, 12:49pm UTC](https://community.hubspot.com/t/api-returning-the-same-contacts/29973/2 "2021-01-11T12:49:37Z")

</div>

This GET request returns you a JSON object including the paging details : **{paging.next.after}**  
So, you have to include in your link : **&after={paging.next.after}**  
Here is the documentation link for contacts : [Accounts Dashboard | HubSpot](https://developers.hubspot.com/docs/api/crm/contacts) (select Endpoints tab)
