ScrapeUnblocker uses API keys for authentication. Every request must include your key in theDocumentation Index
Fetch the complete documentation index at: https://developers.scrapeunblocker.com/llms.txt
Use this file to discover all available pages before exploring further.
x-scrapeunblocker-key HTTP header. Requests without a valid key are rejected.
Where to find your key
Your API key is available in your account dashboard:Open Dashboard
app.scrapeunblocker.com
Using your key
Pass the key as a request header:The header name is case-insensitive, but always spelled with hyphens:
x-scrapeunblocker-key. Do not use X-ScrapeUnblocker-Key in places where exact-case matters (some CDNs strip non-canonical case).Keeping your key safe
- Never commit keys to source control. Use environment variables (
.envfiles added to.gitignore). - Never expose keys in client-side code. Browsers and mobile apps can read them. Always proxy requests through your own backend.
- Rotate immediately if leaked. Generate a new key in the dashboard - the old one will keep working for a short grace period.
Environment variables
The recommended way to store your key:Authentication errors
A missing or invalid key returns HTTP401 Unauthorized. Common causes:
| Symptom | Likely cause |
|---|---|
401 with valid-looking key | Trailing whitespace or newline in the header value |
401 for every request | Key was rotated in dashboard but old key still cached |
403 (not 401) | Key is valid - the target site blocked the request. See handling failures |
401, contact support from the help center.
