Rate Limiting
We define rate limits on a per-key basis and use a fixed-window rate limiting strategy. So if your API key’s rate limit is100 requests per minute, you can make those 100 API calls at any interval within the 60-second window.
Rate limits for all of our API endpoints are separate.
To view your rate limits, you can access our API dashboard or view the headers in your API response.
The API Dashboard
All accounts have access to our API Dashboard, which allows you to manage your API keys, view usage, and test new endpoints (when available). To check your credit usage on the dashboard, go to the Usage tab. Select the endpoint you want to check from the header row. You will see your Monthly Data Stats and Active Credit Usage for that endpoint on the page.Check Rate Limits in Response Headers
To check your rate limit and credit usage for a particular endpoint via code, check the headers of the API response. Here’s an example for checking the Person Enrichment API:Python
cURL
JavaScript
Sample Response Headers
JSON
Header Field Descriptions
If your account has a limit on the number of
200 API calls that you can make, once x-totallimit-remaining reaches zero, all API requests will return 402 errors. Similarly, once x-ratelimit-remaining reaches zero, all requests that you make will return 429 errors until the current rate limit window resets.
Since a given route can have multiple rate limits active, we will use the rate limit with the lowest timegranularity when your request does not breach any rate limits. If you have reached a rate limit, we’ll return the reset time of that one in the response headers.
Increasing Account Request LimitsCheck out the default rate limits in our Help Center Article.If you are an existing Enterprise customer and would like to increase your account’s
x-totallimit-limit or x-ratelimit-limit values, please contact your Customer Success Manager.If you are an existing Pro customer and would like to increase your accounts’ rate limit, please submit a request using this form and we will evaluate your needs on a case-by-case basis.Response Size Limit
There is a 1MB size limit on all API responses. In practice, the type of requests that are most likely to hit this limit are those returning multiple full records (such as the Search APIs or the Bulk Person Enrichment API), particularly when requesting 80-100 records in a single response. Here are some ways to avoid hitting this limit:-
Add the
Accept-Encoding: gzipheader to your request headers; we will gzip-compress the responses, and they will be around five times smaller. -
Use the
data_includeinput parameter to only return fields that you need (on endpoints that support this parameter.) - Request fewer records per call. By requesting around 50 records instead of 100, you should keep API response sizes below the limit.
