The HG Insights API enforces rate limits to ensure fair usage and service stability.
Your rate limit depends on your plan:
| Plan | Requests per Second | Requests per Day |
|---|---|---|
| Sandbox | 2 | 1,000 |
| Standard | 25 | 50,000 |
| Enterprise | 200 | Unlimited |
The rate limit is per request, not per company. Endpoints that accept multiple companies per call (e.g., /companies/enrich accepts up to 25 companies per request) count as 1 request against the limit — regardless of how many companies you include. Batching is the most efficient way to stay under the limit.
Every response includes headers showing your current rate limit status:
| Header | Description |
|---|---|
x-ratelimit-limit | Maximum requests allowed per window for your plan (e.g., 25, 25;w=1 on Standard) |
x-ratelimit-remaining | Requests remaining in the current window |
x-ratelimit-reset | Seconds until the window resets |
x-ratelimit-limit: 25, 25;w=1
x-ratelimit-remaining: 24
x-ratelimit-reset: 1(Example shown for the Standard plan — the numbers reflect your plan's per-second limit.)
When you exceed the limit, the API returns a 429 Too Many Requests response. Check x-ratelimit-reset to know how long to wait before retrying.
- Use batch requests — The enrichment endpoint accepts up to 25 companies per request, reducing the number of calls needed
- Implement backoff — If you receive a
429response, wait forx-ratelimit-resetseconds before retrying - Spread requests evenly — Avoid bursts; distribute requests across the full second window
Contact your HG Insights account manager to upgrade your plan for a higher rate limit.