API Key Authentication
All Crawleo API requests require authentication using your API key.Getting Your API Key
Create an Account
Sign up at crawleo.dev/login.
Choose a Plan
Subscribe to a plan at crawleo.dev/pricing.
Copy Your Key
Access your API key from the dashboard.
Using Your API Key
Include your API key in one of the following headers — both methods are equivalent:| Method | Header | Format |
|---|---|---|
| Bearer Token | Authorization | Bearer YOUR_API_KEY |
| X-API-Key | x-api-key | YOUR_API_KEY |
Example Requests
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. Client-side requests would expose your API key to anyone inspecting the page source.
Rotate Keys Regularly
Rotate Keys Regularly
Periodically rotate your API keys, especially if you suspect they may have been compromised. You can regenerate keys from the dashboard.
Error Responses
When authentication fails, you’ll receive one of these error responses:| Status Code | Description | Cause |
|---|---|---|
401 | Unauthorized | Invalid or missing API key |
403 | Forbidden | API key doesn’t have access to this resource |
429 | Too Many Requests | Credits exhausted or concurrent limit reached |
Credits & Pricing
Learn about credit costs, plans, and rate limits.
API Reference
See the full API documentation.