# HubDB rows pagination

**URL:** <https://community.hubspot.com/t/hubdb-rows-pagination/138242>\
**Category:** APIs & Integrations\
**Tags:** python, developer-tools\
**Created:** [August 19, 2025, 4:57pm UTC](https://community.hubspot.com/t/hubdb-rows-pagination/138242 "2025-08-19T16:57:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ChrisChu](https://avatars.discourse-cdn.com/v4/letter/c/f08c70/32.png) [@ChrisChu](https://community.hubspot.com/u/ChrisChu)\
**Post date:** [August 19, 2025, 4:57pm UTC](https://community.hubspot.com/t/hubdb-rows-pagination/138242/1 "2025-08-19T16:57:07Z")

</div>

I am running into an issue with getting all the rows from HubDB. I am using [https://api.hubapi.com/cms/v3/hubdb/tables/{tableid}/rows?limit=100](https://api.hubapi.com/cms/v3/hubdb/tables/%7Btableid%7D/rows?limit=100) to get all my table rows. The first call to the API returns total 2473 rows which matches up the number I have in HubDB. After the first row, I am keep on making API call based on paging.next.link, but all the calls after the first one are showing total 2415 rows. I have captured all the json response, and I can only see 2415 unique path. Is there anything I am not doing right?

Thanks

Chris

---

<div class="post-metadata">

**Author:** ![STierney](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/stierney/32/186066_2.png) [@STierney](https://community.hubspot.com/u/STierney)\
**Post date:** [August 19, 2025, 8:35pm UTC](https://community.hubspot.com/t/hubdb-rows-pagination/138242/2 "2025-08-19T20:35:09Z")

</div>

Hey @ChrisChu - thanks for posting in the Community!  
I’d like to tag in some HubDB experts to see if they have any insight on this setup! @Stephanie-OG, @ChrisoKlepke, and @HFisher7, and thoughts for @ChrisChu?  
Shane, Community Manager

---

<div class="post-metadata">

**Author:** ![Patrick216](https://avatars.discourse-cdn.com/v4/letter/p/8baadc/32.png) [@Patrick216](https://community.hubspot.com/u/Patrick216)\
**Post date:** [August 25, 2025, 9:57pm UTC](https://community.hubspot.com/t/hubdb-rows-pagination/138242/3 "2025-08-25T21:57:38Z")

</div>

@ChrisChu  
I think the API may be broken… for v3, this is correct—you just set limit=[# of rows you want] and it should return that amount.  
I had this working is production until recently, when something with the limit param must have changed.  
You don’t need to add a `portalId` query parameter when calling the authenticated HubDB Rows API; paginate using the paging information returned by the API.  
@ChrisoKlepke @HFisher7 @Stephanie-OG Any ideas why this param isn’t working?

_Moderator Note: this post was reviewed for relevancy and optimized for clarity on September 30, 2026. Thank you for your contributions to the HubSpot Community!_
