/enrichment/email and /enrichment/phone run at the same time without competing for the same budget. Both SDKs handle this for you: a client-side limiter keeps your outgoing requests under the cap, and any 429 that still slips through is retried automatically. In most cases you don’t need to write any rate-limit handling yourself.
Find your limit
Your per-endpoint limit is onkey_info(). Read it rather than hard-coding a number, so your code stays correct when you change plan.
/v2 response also reports live headroom in its fair_usage block, so you can watch the budget mid-run without a second call:
key_info response.
Client-side rate limiting
Each client throttles its outgoing requests torate_limit_rps (default 5) per endpoint: every endpoint path gets its own limiter, mirroring the API’s per-endpoint budget. In Python it’s a sliding window (at most N requests to a given endpoint in any rolling second); in TypeScript it’s a token bucket (admits at most N per second, per endpoint). A single client instance therefore stays under the API limit on every endpoint on its own, as long as rate_limit_rps doesn’t exceed your plan’s limit. Set it to None / null to disable.
Automatic retries
429 (rate limited) and 5xx (server errors) are retried automatically, up to max_retries (default 3). After a 429, both SDKs wait for the time in the Retry-After header (the API sends 1 second; 60 seconds if the header is missing, and Python waits at most 120 seconds). After a 5xx, both back off exponentially with jitter: 0.5 seconds, doubling on each attempt up to 8 seconds, plus a random 0 to 0.5 seconds. 400 / 401 / 402 / 404 / 422 / 423 are not retried; they raise immediately. If the retries are exhausted, the error surfaces as RateLimitError (429) or ServerError / APIStatusError (5xx).
Timeouts are not retried
Each method takes a per-calltimeout (Python keyword arg; TypeScript options object as the last argument). Unlike 429/5xx, a read timeout is not retried: the server may already have processed the request and counted its records, so the SDK surfaces APITimeoutError immediately rather than risk counting them twice. Raise the per-call timeout for genuinely slow endpoints instead of relying on retries.
Running many workers
The limiter is per client instance (per process), and the API limit is per endpoint, shared by every API key of your account. If you fan the SDK out across multiple processes or workers that hit the same endpoint, even with different API keys of the same account, their combined rate can exceed that endpoint’s limit and you’ll see429s. The retry path absorbs occasional ones, but for steady throughput divide rate_limit_rps across the workers sharing an endpoint (e.g. 5 workers all calling /enrichment/email on an account limited to 10 requests per second per endpoint → rate_limit_rps = 2 each). Workers calling different endpoints don’t compete: each endpoint has its own budget.
Next steps
Pagination
Stream results across pages and bound the records you pull with
max_items.Python error handling
The full exception hierarchy for
blitz-api-py.TypeScript error handling
The full exception hierarchy for
blitz-api-js.API reference
Request/response schemas and a try-it console.

