DEVELOPER DOCUMENTATION

Errors and limits

Every error has a stable code and a short message.

Error shape

JSON
{
  "error": {
    "code": "INVALID_API_KEY",
    "message": "Provide a valid Bearer API key."
  }
}

Codes

CodeStatusMeaning
INVALID_API_KEY401The key is missing, unknown or revoked
KEY_SCOPE403The key cannot do this, or cannot use this index
ORIGIN_NOT_ALLOWED403A browser key used from a website it does not list
INVALID_INPUT422The query is empty, too long, or the locale is not en or ar
INVALID_SEARCH422A malformed search or area
BETA_REQUIRED403Hosted search is not enabled for the account
NO_SUCH_INDEX404The index does not exist
CONFIRMATION_REQUIRED409An import that would remove more than 20% needs confirming
PLAN_LIMIT402Beyond the plan: indexes, published rules, campaigns
PLAN_REQUIRED402Hosted search needs a plan: the free period and grace period ended
RATE_LIMITED429Too many requests; retry after Retry-After seconds
DAILY_LIMIT429The free Developer API key's daily allowance is used up
TOO_MANY_INVALID_KEYS429Too many attempts with invalid keys from one address; try again later
BUDGET_EXHAUSTED503The service's monthly budget is reached; parsing resumes when it resets
INVALID_LISTING422A listing that cannot be used, with its issues
PARSER_UNAVAILABLE503Parsing is briefly unavailable; retry

Limits

Developer API (free): a daily allowance per key for parse and autocomplete, resetting at 00:00 UTC; each answer carries X-RateLimit-Limit and X-RateLimit-Remaining.

Hosted search (beta and paid plans): no daily allowance. Requests count against the plan's monthly fair-use line (Settings → Usage), with bursts limited per account (50 a second on the free beta) and per visitor of a browser key.