APIs & Integrations

MChris
Member

API Limit Handling

SOLVE
We make a certain number of requests to the API each day. 
This limit is causing problems because we can't update their data as often as they need to
 
Quick tips to find a way to work around this limit so i can keep data up-to-date
1 Accepted solution
Humashankar
Solution
Key Advisor

API Limit Handling

SOLVE

Hi @MChris 

Ways to prevent exceeding your API request limit
To help prevent errors caused by hitting the API limit, consider:

Shortening the time frame used on the affected widgets. For example, if you have the time period set as Last 30
days, try setting it to Last 7 days.

Reducing the number of filters on the affected widgets. Fetching data for filters consumes a lot of API requests
as we need to collect all of the information and then filter it.

Splitting your HubSpot widgets across dashboards. A large number of widgets powered by the same data source on
the same dashboard will generally refresh at the same time, particularly when the dashboard is being loaded
initially. This can cause you to exceed your rate limit. Consider splitting your HubSpot widgets across multiple
dashboards, with ideally 8-12 widgets per dashboard. Widgets on the different dashboards would refresh at
different times and avoid making concurrent requests. You could then create a dashboard loop to display these
multiple dashboards together.

 

Warm Regards

Humashankar VJ
HubSpot Enthusiast and Key Advisor | Engineering Manager

View solution in original post

1 Reply 1
Humashankar
Solution
Key Advisor

API Limit Handling

SOLVE

Hi @MChris 

Ways to prevent exceeding your API request limit
To help prevent errors caused by hitting the API limit, consider:

Shortening the time frame used on the affected widgets. For example, if you have the time period set as Last 30
days, try setting it to Last 7 days.

Reducing the number of filters on the affected widgets. Fetching data for filters consumes a lot of API requests
as we need to collect all of the information and then filter it.

Splitting your HubSpot widgets across dashboards. A large number of widgets powered by the same data source on
the same dashboard will generally refresh at the same time, particularly when the dashboard is being loaded
initially. This can cause you to exceed your rate limit. Consider splitting your HubSpot widgets across multiple
dashboards, with ideally 8-12 widgets per dashboard. Widgets on the different dashboards would refresh at
different times and avoid making concurrent requests. You could then create a dashboard loop to display these
multiple dashboards together.

 

Warm Regards

Humashankar VJ
HubSpot Enthusiast and Key Advisor | Engineering Manager