Errors & limits

Errors are JSON with a stable code:

{ "error": "country_not_entitled" }

Error codes

STATUSCODEWHEN
400missing_querySearch without q or structured params.
400conflicting_parametersSearch mixing q with structured params.
400missing_countryregistrationNumber or name without country.
400invalid_parametersA list, task or upload parameter is not allowed; detail says which.
400missing_entity_addressInvestigate without entityId, country+registrationNumber, or registry+registryRef.
422unsupported_lookup_for_countryThat country's registry has no registration-number lookup yet.
401missing_or_unknown_api_keyNo key, a key we don't recognize, or a revoked key.
402insufficient_creditsCode QUOTA_EXCEEDED: no checks left — your plan's checks for this period and any credit-pack credits are used up. Investigations from the app count too. The body carries upgrade_url and topup_url.
402past_dueCode PAST_DUE: the last payment failed and the grace period has ended. Update the payment method in the app.
403api_access_requiredCode API_ACCESS_REQUIRED: API and MCP access comes with Growth and above, or with any credit pack.
403email_unverifiedCode EMAIL_UNVERIFIED: the account's email address isn't verified yet.
403country_not_entitledThe entity belongs to a country outside your key. On search this arrives as a 200 with a note instead.
404unknown_idId prefix matches no connected registry.
404not_foundNo record behind the id.
405method_not_allowedWrong HTTP method.
413file_too_largeA document over 8 MB (4 MB as base64 over MCP).
415unsupported_typeA document type Verety does not read.
422download_failedA document link could not be downloaded, or points to a private address.
429rate_limit_exceededToo many requests — back off and retry.
502investigation_failedThe investigator stopped with an error; message says why.

A 402 or 403 from a check or a gated feature has one shape, the same over MCP (as an isError tool result):

{ "error": "insufficient_credits", "code": "QUOTA_EXCEEDED", "message": "You have no Verety checks left. …", "upgrade_url": "https://app.verety.ai/account#billing", "topup_url": "https://app.verety.ai/account#billing-packs" }

Limits

Each investigation uses one check. Checks come from your plan (renewed every billing period) and then from credit packs (credits never expire), shared between the app, the API and MCP — see them on the Account page. Requests per minute per key are set per plan. Searches, record lookups, lists, documents and tasks don't use checks. If you're building for volume, talk to us about higher limits.

Retries

429 — back off and retry. 5xx — retry once, then report it. Each investigation uses one check, so re-run one only when you need a new result — a kept check can be read again with GET /api/v1/checks/{id} for free.

ON THIS PAGE