Skip to main content

API Key Authentication

All Crawleo API requests require authentication using your API key.

Getting Your API Key

  1. Sign up at crawleo.dev/login
  2. Subscribe to a plan at crawleo.dev/pricing
  3. Access your API key from the dashboard

Using Your API Key

Include your API key in one of the following headers: Option 1: Authorization Header (Bearer Token)
Authorization: Bearer YOUR_API_KEY
Option 2: X-API-Key Header
x-api-key: YOUR_API_KEY
Both methods are equivalent - use whichever is more convenient for your application.

Example Request

curl -X GET "https://api.crawleo.dev/search?query=hello" \
  -H "Authorization: Bearer YOUR_API_KEY"

Security Best Practices

Never expose your API key in client-side code or public repositories.
Store your API key in environment variables rather than hardcoding it:
export CRAWLEO_API_KEY="your_api_key_here"
import os
api_key = os.environ.get("CRAWLEO_API_KEY")
Make API calls from your backend server, not from browser-based JavaScript.
Periodically rotate your API keys, especially if you suspect they may have been compromised.

Credits System

API usage is tracked using credits. Each API call deducts credits from your monthly allowance based on your subscription plan.

Credit Costs

API EndpointCredits Cost
Search API10 credits per page of results
Crawl API (no proxy)1 credit per page
Crawl API (standard proxy)2 credits per page
Crawl API (premium proxy)10 credits per page

Subscription Plans

PlanCredits/MonthConcurrent RequestsPrice
Free10,0005$0/month
Developer100,00020$20/month
Pro1,000,00050$100/month
Scale2,500,000100$200/month

Full Pricing Details

See detailed credit costs and usage examples.

Concurrent Request Limits

Each plan has a maximum number of concurrent requests. If you exceed this limit, you’ll receive a 429 response with the message:
Concurrent request limit reached ({limit}). Please wait for other requests to finish.

Error Responses

Status CodeDescriptionError Message
401Invalid or missing API key-
403API key doesn’t have access to this resource-
429Credits exhausted"Credits exhausted. Please upgrade your plan."
429Concurrent limit reached"Concurrent request limit reached ({limit}). Please wait for other requests to finish."
Last modified on February 1, 2026