SDKs & Libraries
Client libraries and code examples for integrating CrawlKit into your applications. Build data pipelines, deploy spiders, run enrichment, and analyze websites in your language of choice.
TypeScript SDK
Fully typed client with generics, async/await, and typed error handling. Best for Node.js backends, Next.js API routes, and Deno. npm install @crawlkit/sdk
JavaScript SDK
Lightweight fetch-based client for Node.js and browsers. Zero dependencies, built-in retry logic, and streaming support. Works everywhere fetch is available.
Python SDK
Sync and async clients with requests and httpx. Pandas integration for dataset export. Ideal for data science, automation scripts, and Jupyter notebooks. pip install crawlkit
Rust SDK
Async reqwest-based client with serde deserialization and typed errors. First-class tokio support. cargo add crawlkit-client
curl Examples
Copy-paste curl commands for every major endpoint group. Includes jq recipes for parsing responses and shell scripts for automation. No SDK required.
Quick Comparison
| SDK | Runtime | Async | Types | Best For |
|---|---|---|---|---|
| TypeScript | Node.js, Deno, Bun | async/await | Full generics | Production backends, type-safe integrations |
| JavaScript | Node.js, Browser | async/await | — | Quick scripts, browser apps, prototyping |
| Python | CPython 3.9+ | asyncio + httpx | Type hints | Data science, automation, Jupyter notebooks |
| Rust | Native | tokio | Full structs | High-performance services, CLI tools |
| curl | Any shell | — | — | Testing, CI/CD scripts, quick debugging |
Authentication
All SDKs authenticate with a Bearer token in the Authorization header. Get your API key from the CrawlKit dashboard.
Authorization: Bearer ck_live_YOUR_API_KEY
See the Authentication guide for details on API key vs. JWT auth, subscription tiers, and local development setup.
Base URL
All API requests use the base URL:
https://api.crawlkit.app/api/v1/
Need Help?
- Getting Started — Make your first API call in 2 minutes
- Error Reference — Handle errors gracefully in any language
- Rate Limits — Understand tier-based limits and retry strategies
- API Reference — Complete documentation for all 383 API operations