<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Unable to fetch more than 100 records from Hubspot API in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Unable-to-fetch-more-than-100-records-from-Hubspot-API/m-p/429073#M42635</link>
    <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/162759"&gt;@DKumar&lt;/a&gt;&amp;nbsp;multiple api requests using a paging token is a requirement of any rest API, as it should not be expected that a single http request can respond with all records in the system. The response payload would be too large. If you aren't looking to use any third-party API wrappers, you will need to support the paging tokens to loop through all records from the HubSpot API.&lt;/P&gt;</description>
    <pubDate>Mon, 19 Apr 2021 13:53:28 GMT</pubDate>
    <dc:creator>lynton</dc:creator>
    <dc:date>2021-04-19T13:53:28Z</dc:date>
    <item>
      <title>Unable to fetch more than 100 records from Hubspot API</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Unable-to-fetch-more-than-100-records-from-Hubspot-API/m-p/422409#M41938</link>
      <description>&lt;DIV&gt;We are trying to read records of "Contact"/"Engagement" using Hubspot API. While performing this activity, we are only able to fetch 100 records at a time using this URL--&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;A href="https://api.hubapi.com/crm/v3/objects/contacts?&amp;amp;limit=100&amp;amp;properties=lifecycle_stages,firstname,lastname,email,mobilephone,hubspot_owner_id,company,mql_time_stamp,notes_last_updated,fedid,associatedcompanyid,hubspotscore,jobtitle,address,city,state,&amp;amp;hapikey=apikey" target="_blank" rel="noopener"&gt;https://api.hubapi.com/crm/v3/objects/contacts?&amp;amp;limit=100&amp;amp;properties=lifecycle_stages,firstname,lastname,email,mobilephone,hubspot_owner_id,company,mql_time_stamp,notes_last_updated,fedid,associatedcompanyid,hubspotscore,jobtitle,address,city,state,&amp;amp;hapikey=apikey&lt;/A&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;and upon increasing the limit we are getting error 400 bad request(refer screenshot).&lt;BR /&gt;We also tried exceuting the same API URL repetitively but we are only able to read the first 100 reads.&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Hubspot.png" style="width: 965px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/39978iBD6003743CD64E1A/image-size/large?v=v2&amp;amp;px=999" role="button" title="Hubspot.png" alt="Hubspot.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Fri, 26 Mar 2021 05:30:19 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Unable-to-fetch-more-than-100-records-from-Hubspot-API/m-p/422409#M41938</guid>
      <dc:creator>DKumar</dc:creator>
      <dc:date>2021-03-26T05:30:19Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to fetch more than 100 records from Hubspot API</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Unable-to-fetch-more-than-100-records-from-Hubspot-API/m-p/422654#M41971</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/162759"&gt;@DKumar&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For anything more than 100, you will receive a paging object that will allow you to send a new request with the additional query param.&amp;nbsp; This will load the next 100.&lt;/P&gt;
&lt;P&gt;Looks something like this&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;"paging": {
    "next": {
      "link": "?after=NTI1Cg%3D%3D",
      "after": "NTI1Cg%3D%3D"
    }
  }&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 26 Mar 2021 18:31:20 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Unable-to-fetch-more-than-100-records-from-Hubspot-API/m-p/422654#M41971</guid>
      <dc:creator>dennisedson</dc:creator>
      <dc:date>2021-03-26T18:31:20Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to fetch more than 100 records from Hubspot API</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Unable-to-fetch-more-than-100-records-from-Hubspot-API/m-p/423960#M42099</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/13982"&gt;@dennisedson&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi Dennisedson, thanks for taking out time to suggest a solution on this.&amp;nbsp; While making use of this solution, we will be required to create a new URL whenever we need to fetch the next 100 records. Is there way through which we can use a single URL for fetching 100 next everytime we hit.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Apr 2021 06:52:20 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Unable-to-fetch-more-than-100-records-from-Hubspot-API/m-p/423960#M42099</guid>
      <dc:creator>DKumar</dc:creator>
      <dc:date>2021-04-01T06:52:20Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to fetch more than 100 records from Hubspot API</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Unable-to-fetch-more-than-100-records-from-Hubspot-API/m-p/424900#M42211</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/162759"&gt;@DKumar&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You will need to update the url with the new parameter.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Apr 2021 20:54:32 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Unable-to-fetch-more-than-100-records-from-Hubspot-API/m-p/424900#M42211</guid>
      <dc:creator>dennisedson</dc:creator>
      <dc:date>2021-04-05T20:54:32Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to fetch more than 100 records from Hubspot API</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Unable-to-fetch-more-than-100-records-from-Hubspot-API/m-p/425342#M42262</link>
      <description>&lt;DIV&gt;Hi &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/13982"&gt;@dennisedson&lt;/a&gt;&amp;nbsp;,&lt;/DIV&gt;&lt;DIV&gt;Thanks for your response. We are actually trying do an API Integration of HubSpot with our system. For this, we are trying to use a single URL for reading all the records in contact. The number of records of contacts in HubSpot are expected to keep on increasing. In the suggested solution, we will be required to update the URL for every 100 records. Can you please suggest a solution accordingly, wherein, we can make use of a single URL for fetching all contact records.&lt;/DIV&gt;</description>
      <pubDate>Wed, 07 Apr 2021 06:52:58 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Unable-to-fetch-more-than-100-records-from-Hubspot-API/m-p/425342#M42262</guid>
      <dc:creator>DKumar</dc:creator>
      <dc:date>2021-04-07T06:52:58Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to fetch more than 100 records from Hubspot API</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Unable-to-fetch-more-than-100-records-from-Hubspot-API/m-p/425648#M42297</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/162759"&gt;@DKumar&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To the best of my knowledge, you cannot.&amp;nbsp; There might be a client library that obfuscates it, but that is the limit.&lt;/P&gt;
&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/11945"&gt;@lynton&lt;/a&gt; could you correct me if I am wrong here?&lt;/P&gt;</description>
      <pubDate>Wed, 07 Apr 2021 18:28:38 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Unable-to-fetch-more-than-100-records-from-Hubspot-API/m-p/425648#M42297</guid>
      <dc:creator>dennisedson</dc:creator>
      <dc:date>2021-04-07T18:28:38Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to fetch more than 100 records from Hubspot API</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Unable-to-fetch-more-than-100-records-from-Hubspot-API/m-p/425658#M42299</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/162759"&gt;@DKumar&lt;/a&gt;&amp;nbsp;this is a fairly common method of paging through multiple records in a REST API. As you mentioned, your HubSpot database will grow over time. It's not technically feasible to return all records in a single api call, so HubSpot uses this paging method.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you're looking for easier ways to paginate and query HubSpot API data, you can look at third-party API wrappers and tools, such as Kingswaysoft or CData which allows for SQL-like queries against HubSpot without fussing with the underlying API mechanics. I hope this helps!&lt;/P&gt;</description>
      <pubDate>Wed, 07 Apr 2021 19:06:44 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Unable-to-fetch-more-than-100-records-from-Hubspot-API/m-p/425658#M42299</guid>
      <dc:creator>lynton</dc:creator>
      <dc:date>2021-04-07T19:06:44Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to fetch more than 100 records from Hubspot API</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Unable-to-fetch-more-than-100-records-from-Hubspot-API/m-p/428996#M42625</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;We are actually trying do an API Integration of HubSpot with our system. For this, we are trying to use a single URL for reading all the records in contact but we are not able to fetch all record in single URL for this we have to update the URL for every 100 Records due to hubspot paging. for this issue we have suggested a solution to look at&amp;nbsp;&amp;nbsp;third-party API wrappers and tools, such as Kingswaysoft or CData which allows for SQL-like queries against HubSpot without fussing with the underlying API mechanics.&amp;nbsp; But we don't want to use third-party API&amp;nbsp;wrappers and tools so except this is there any other solution through which we can fetch all contact record in singel URL.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Apr 2021 10:29:42 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Unable-to-fetch-more-than-100-records-from-Hubspot-API/m-p/428996#M42625</guid>
      <dc:creator>DKumar</dc:creator>
      <dc:date>2021-04-19T10:29:42Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to fetch more than 100 records from Hubspot API</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Unable-to-fetch-more-than-100-records-from-Hubspot-API/m-p/429073#M42635</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/162759"&gt;@DKumar&lt;/a&gt;&amp;nbsp;multiple api requests using a paging token is a requirement of any rest API, as it should not be expected that a single http request can respond with all records in the system. The response payload would be too large. If you aren't looking to use any third-party API wrappers, you will need to support the paging tokens to loop through all records from the HubSpot API.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Apr 2021 13:53:28 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Unable-to-fetch-more-than-100-records-from-Hubspot-API/m-p/429073#M42635</guid>
      <dc:creator>lynton</dc:creator>
      <dc:date>2021-04-19T13:53:28Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to fetch more than 100 records from Hubspot API</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Unable-to-fetch-more-than-100-records-from-Hubspot-API/m-p/442618#M43825</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/11945"&gt;@lynton&lt;/a&gt;&amp;nbsp;Thanks for your Response.Could you please explore me that how we can support paging tokens to loop through all records from the Hubspott API.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Jun 2021 04:35:14 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Unable-to-fetch-more-than-100-records-from-Hubspot-API/m-p/442618#M43825</guid>
      <dc:creator>DKumar</dc:creator>
      <dc:date>2021-06-01T04:35:14Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to fetch more than 100 records from Hubspot API</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Unable-to-fetch-more-than-100-records-from-Hubspot-API/m-p/442785#M43850</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/162759"&gt;@DKumar&lt;/a&gt;&amp;nbsp;this depends on the programming language, but any software developer should be able to apply the paging method to their code. If you're looking for off the shelf software to make it easier, check out products from Skyvia, CData, Kingswaysoft, or Stitch Data for various options to extract this data with minimal or no code.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Jun 2021 13:23:04 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Unable-to-fetch-more-than-100-records-from-Hubspot-API/m-p/442785#M43850</guid>
      <dc:creator>lynton</dc:creator>
      <dc:date>2021-06-01T13:23:04Z</dc:date>
    </item>
  </channel>
</rss>

