Look up a company in the public registry
Returns the public registry record of a company, read at request time (a copy up to 30 days old may answer instead). Brazil only today: send country: BR and the CNPJ.
Three answers, and never a guess:
- result: found with the record. stale: true means the registry could not be read and a copy older than 30 days answered.
- result: not_found: every registry source said the number does not exist. It is a real answer and is charged.
- 503 REGISTRY_UNAVAILABLE: the registry could not be read. The charge is refunded; retry.
A check-digit error is 400 INVALID_REGISTRATION_NUMBER and another country is 422 FEATURE_NOT_AVAILABLE; the charge for either is refunded. Nothing about the lookup is stored.
Send an Idempotency-Key to retry safely: the same key and body return the same answer and are not charged again.
Requires the businesses:read scope. API keys created before this scope existed do not gain it: create a new key with the scopes you need.
Request
- Base URLhttps://developers.ozav.io/v2
- Auth
- API key in header X-API-Key
- or HTTP bearer
Headers
Optional idempotency key (16-256 characters of [A-Za-z0-9_-]); same semantics as on money-moving operations.
Request body
Response
The registry answer.
Changes
No recorded changes to this operation across all 1 revision of this API.