API Key Authentication
All Crawleo API requests require authentication using a Bearer token.Getting Your API Key
- Sign up at crawleo.dev/login
- Subscribe to a plan at crawleo.dev/pricing
- Access your API key from the dashboard
Using Your API Key
Include your API key in theAuthorization header of every request:
Example Request
Security Best Practices
Use Environment Variables
Use Environment Variables
Store your API key in environment variables rather than hardcoding it:
Server-Side Only
Server-Side Only
Make API calls from your backend server, not from browser-based JavaScript.
Rotate Keys Regularly
Rotate Keys Regularly
Periodically rotate your API keys, especially if you suspect they may have been compromised.
Rate Limiting
API requests are rate-limited based on your subscription plan. If you exceed your rate limit, you’ll receive a429 Too Many Requests response.
Error Responses
| Status Code | Description |
|---|---|
401 | Invalid or missing API key |
403 | API key doesn’t have access to this resource |
429 | Rate limit exceeded |
