Learn about the different API and developer feature limits in HubSpot.
expires_in
parameter indicating how long it can be used to make API calls before refreshing. Unauthorized (401)
requests are not a valid indicator that a new access token must be retrieved.
Product Tier | Per 10 Seconds | Per Day | |
---|---|---|---|
Apps | (Any Hub) Free and Starter | 100 / app | 250,000 / account |
(Any Hub) Professional | 190 / app | 625,000 / account | |
(Any Hub) Enterprise | 190 / app | 1,000,000 / account | |
Apps with API Limit Increase | (Any Hub) Free, Starter, Professional, and Enterprise | 250 / app | 1,000,000 / account on top of your base subscription, for each limit increase. You can purchase a maximum of two API limit increases. |
429
error response for all subsequent API calls. Requests resulting in an error response shouldn’t exceed 5% of your total daily requests. If you plan on listing your app in the HubSpot App Marketplace, it must stay under this 5% limit to be certified.
The 429
response will have the following format:
message
and policyName
will indicate which limit you hit (either daily or secondly).
The daily limit resets at midnight based on your time zone setting.
The following table details the rate limit headers included in the response of each API request to HubSpot, subject to the exceptions listed below the table.
Header | Description |
---|---|
X-HubSpot-RateLimit-Daily | The number of API requests that are allowed per day. Note that this header is not included in the response to API requests authorized using OAuth. |
X-HubSpot-RateLimit-Daily-Remaining | The number of API requests still allowed for the current day. Note that this header is not included in the response to API requests authorized using OAuth. |
X-HubSpot-RateLimit-Interval-Milliseconds | The window of time that the X-HubSpot-RateLimit-Max and X-HubSpot-RateLimit-Remaining headers apply to.For example, a value of 10000 would be a window of 10 seconds. |
X-HubSpot-RateLimit-Max | The number of requests allowed in the window specified in X-HubSpot-RateLimit-Interval-Milliseconds .For example, if this header had a value of 100, and the X-HubSpot-RateLimit-Interval-Milliseconds header was 10000, the enforced limit would be 100 requests per 10 seconds. |
X-HubSpot-RateLimit-Remaining | The number of API requests still allowed for the window specified in X-HubSpot-RateLimit-Interval-Milliseconds . |
X-HubSpot-RateLimit-Secondly
and X-HubSpot-RateLimit-Secondly-Remaining
headers are still included and will still have accurate data, but the limit referenced by these headers is no longer enforced and these two headers should be considered deprecated.TEN_SECONDLY_ROLLING
limit, you should throttle the requests that your app is making to stay under that limit. In addition to throttling the requests, or if you’re running into the daily limit, check out the suggestions below.
If you find that you’re still hitting the call limits after looking through these suggestions, please post on HubSpot’s developer forums. You should include as many details as possible about the APIs you’re using, how you’re using them, and which limit you’re hitting.