# Exceeding HubSpot's API request limit

Ways to prevent hitting Hubspot's maximum number of API calls in a 24-hour period.

June 15, 2023

## Ways to prevent exceeding your API request limit

HubSpot also offers a relatively low burst rate limit, which is how many concurrent requests can be made to fetch data from their API. Depending on your HubSpot plan, it can [range from 100 to 200 at max](https://developers.hubspot.com/docs/api/usage-details).

With these limits, when there's a lot of data to be fetched, it can be easy to exceed them. One example is when initially opening a dashboard where all your HubSpot widgets are making simultaneous requests to bring the data.

## 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](https://support.geckoboard.com/hc/en-us/articles/203233027) to display these multiple dashboards together.
