Reference

Errors and limits

Every error looks the same, so you can handle them in one place.

{ "error": { "code": "quota_exceeded", "message": "…", "request_id": "req_…" } }

Error codes

StatusCodeWhat to do
401missing_api_keyAdd Authorization: Bearer wv_live_…
401invalid_api_keyCheck your key, or make a new one at /account
400invalid_requestThe message says what to fix
429rate_limitedOver 10 calls a second. Wait Retry-After seconds.
429quota_exceededMonthly free searches and credits used up. Buy credits at /account.
503search_unavailableRetry in a moment
503answer_unavailableAnswers paused or the AI failed. Nothing charged; search still works.

Watches add a few more codes: see Watches.

Headers on every reply

HeaderWhat it is
X-RateLimit-LimitFree searches a month
X-RateLimit-RemainingFree searches left this month
X-RateLimit-ResetUnix time the month resets
X-Credits-RemainingPrepaid searches left. Used only after the free ones run out, so 0 is fine if you never bought any.

What each call costs

CallSearches used
POST /v1/search1
POST /v1/answer5, answered or not (0 if it fails)
POST /v1/pages1 per title, found or not
GET /v1/changes1
/v1/watchesFree