429/5xx, auto-pagination, and a typed error hierarchy.
Python SDK
pip install blitz-api-py — sync + async clients, Pydantic v2 models, Python 3.10+.TypeScript / JavaScript SDK
npm install blitz-api-js — Zod-validated types, ESM + CJS, Node 20+.Install
Why use an SDK?
- Fully typed — Pydantic v2 (Python) / Zod-inferred types (TS) for every request filter and response field, with editor autocomplete.
- Auto-pagination — iterate every result across pages without writing a cursor or page loop.
- Resilient by default — automatic retries with backoff on
429and5xx, plus a typed exception hierarchy. - Client-side rate limiting — a single client instance stays under your per-endpoint request-per-second limit.
- Forward-compatible — fields the API adds later are preserved, never dropped or rejected.
Quickstart
Both SDKs read the key from theBLITZ_API_KEY environment variable (or take it explicitly), then expose the same four namespaces.
Endpoint coverage
Every v2 endpoint is a typed method, grouped into four namespaces. Method names and fields are identical across both SDKs.Next steps
Python SDK guide
Install, auth, async, pagination, configuration, and error handling for
blitz-api-py.TypeScript / JavaScript SDK guide
Install, auth, pagination, configuration, and error handling for
blitz-api-js.Pagination
Stream results across pages and cap spend with
max_items.Rate limits & retries
The client-side limiter, automatic
429/5xx retries, and timeout behavior.Authentication
How API keys work and how to health-check your key.
API reference
Full request/response schemas and an interactive try-it console.

