API Authentication
Authenticate your API requests with API keys
Authentication Required
All API requests must include a valid API key in the request headers.
Header-Based Authentication
Pass your API key in the X-API-KEY header:
Terminalcurl -X POST https://api.scrapehub.io/v4/scrape \ -H "X-API-KEY: sk_live_xxxx_449x" \ -H "Content-Type: application/json" \ -d '{"target": "https://example.com"}'
Authentication Errors
401 UnauthorizedMissing or invalid API key. Check your authentication credentials.
403 ForbiddenAPI key doesn't have permission for this resource.