POST /v1/read, handle async job polling, parse the envelope contract, and throw typed errors.
Available SDKs
| Language | Package | Install |
|---|---|---|
| JavaScript / TypeScript | @vakra-dev/reader-js | npm install @vakra-dev/reader-js |
| Python | reader-py | pip install reader-py |
Quick comparison
kind: "scrape" for single-URL requests, kind: "job" for batches and crawls. The SDK auto-polls async jobs to completion and collects all paginated results before returning.
Features
| Feature | reader-js | reader-py |
|---|---|---|
| Sync scrape | ✓ | ✓ |
| Batch & crawl auto-poll | ✓ | ✓ |
| Async client | (native fetch is async) | AsyncReaderClient |
| SSE streaming | client.stream(jobId) | client.stream(jobId) |
| Typed errors (11 codes) | ✓ | ✓ |
| Auto-pagination of job results | ✓ | ✓ |
| Retry with exponential backoff | ✓ | ✓ |
Honors Retry-After on 429 | ✓ | ✓ |
Error handling
Errors from the API are parsed into specific exception subclasses so you can branch on the error type rather than HTTP status:Next
- JavaScript SDK: installation and full API reference
- Python SDK: installation and full API reference

