Skip to main content
All API requests require an API key for authentication.

Getting Your API Key

  1. Go to CrawlKit Dashboard
  2. Navigate to API Keys
  3. Click Create New Key
  4. Give it a name (e.g., “My App”, “Production”)
  5. 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 the Authorization header to every request:
Authorization: ApiKey ck_your_api_key_here

Example Request

curl -X POST https://api.crawlkit.com/api/v1/crawl/raw \
  -H "Authorization: ApiKey ck_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{"url": "https://example.com"}'

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
API keys provide full access to your account. Keep them secret!

Security Tips

Browser JavaScript can be viewed by anyone. Use a backend proxy instead.
Store keys in .env files, not in your code.
# .env file
CRAWLKIT_API_KEY=ck_abc123...
Create separate keys for development, staging, and production.
If a key might be exposed, delete it immediately and create a new one.