The Hog enforces rate limits on all API endpoints to ensure reliable service for every organization. Limits are tracked per organization, not per API key — so all keys belonging to the same organization share the same quota. When you exceed a limit, the API returns HTTP 429 and you must wait before retrying.Documentation Index
Fetch the complete documentation index at: https://docs.thehog.ai/llms.txt
Use this file to discover all available pages before exploring further.
Global rate limit
Every authenticated endpoint is covered by a global, per-organization rate limit. The limit applies across all endpoints combined, so a burst of company searches counts against the same bucket as a burst of enrichment requests.Polling rate limit
GET /api/operations/:id has its own dedicated, more restrictive rate limit — separate from the global bucket — of 30 requests per minute per organization. This limit exists because polling is the highest-frequency access pattern and must not crowd out other API traffic.
HTTP 429 response
When you hit a rate limit, the API returns:Retrying after 429
Use exponential backoff when you receive a 429. Do not retry immediately — the limit window must pass before your request will succeed.Wait with exponential backoff
Start with a short delay and double it on each consecutive 429, up to a maximum. Add random jitter to avoid thundering-herd retries from parallel processes.
Recommended polling intervals
| Job type | Recommended interval |
|---|---|
Enrichment (POST /api/people/enrich) | 2–5 seconds |
Content generation (POST /api/generate) | 2–5 seconds |
Deep research (POST /api/deep-research) | 10–30 seconds |