Skip to content

Authentication

Every request to POST /v1/search is authenticated with an API key sent in the x-api-key header.

Terminal window
curl -X POST https://api.serp.cheap/v1/search \
-H "x-api-key: YOUR_API_KEY" \
-H "content-type: application/json" \
-d '{ "q": "coffee makers" }'

Create and manage keys in the dashboard. You can hold multiple keys per account (e.g. one per environment) and deactivate any of them at any time. Each key carries its own rate limit, derived from your plan.

HTTPerrorMeaning
401missing_api_keyNo x-api-key header was sent.
401unknown_api_keyThe key doesn’t exist.
403inactive_api_keyThe key was deactivated.
403account_blockedThe account is suspended.

See Errors & retries for the full error model and the codes you should retry.