All public endpoints require an API key.
AnyCrawler accepts either of these header styles:
Authorization: Bearer <apiKey>x-api-key: <apiKey>
The shared SDKs always send the Bearer form.
Use Authorization: Bearer <apiKey> for new integrations. It is the default in the TypeScript, JavaScript, and Python SDK files in shared/sdks/.
curl --request GET \
--url "https://api.anycrawler.com/v1/account/usage" \
--header "Accept: application/json" \
--header "Authorization: Bearer sk-your-key"curl --request GET \
--url "https://api.anycrawler.com/v1/account/usage" \
--header "Accept: application/json" \
--header "x-api-key: sk-your-key"- Public API keys are account-scoped.
- Missing, invalid, or revoked API keys return
401 INVALID_API_KEY. - The public API does not use browser sessions or OAuth access tokens for API requests.