Getting Your API Key
- Go to CrawlKit Dashboard
- Navigate to API Keys
- Click Create New Key
- Give it a name (e.g., “My App”, “Production”)
- Copy the key - you’ll only see it once!
Your API key looks like this:
ck_abc123.... Keep it secret!Using Your API Key
Add theAuthorization header to every request:
Example Request
Managing API Keys
- Create keys in the dashboard under API Keys
- Name your keys to remember what they’re for (e.g., “Production”, “Testing”)
- Delete unused keys to keep your account secure
- Never share keys in public repos or client-side code
Security Tips
Never expose keys in frontend code
Never expose keys in frontend code
Browser JavaScript can be viewed by anyone. Use a backend proxy instead.
Use environment variables
Use environment variables
Store keys in
.env files, not in your code.Use different keys for different environments
Use different keys for different environments
Create separate keys for development, staging, and production.
Delete compromised keys
Delete compromised keys
If a key might be exposed, delete it immediately and create a new one.