Look up a Brazilian company by CNPJ without scraping
A CNPJ is the 14-digit tax number of every Brazilian company. Onboarding flows, supplier checks and data pipelines need to know whether it belongs to a real, active company and what its legal name is. Scraping portals for that is slow and breaks often; the registry data is published as open government data.
One request
curl "https://api.ambolt.dev/v1/entity-resolve?query=33.000.167/0001-01&country=BR&free=1"
The number may be written with or without dots, slash and dash. The answer is the company record with its source:
{
"matched": true,
"bestMatch": {
"country": "BR",
"registry": "Receita Federal (CNPJ)",
"registryId": "33000167000101",
"name": "PETROLEO BRASILEIRO S A PETROBRAS",
"legalForm": "Sociedade de Economia Mista",
"status": "active",
"incorporationDate": "1966-09-28",
"address": { "city": "RIO DE JANEIRO", "region": "RJ", "country": "BR" },
"industry": [{ "scheme": "CNAE", "code": "600001", "label": "Extração de petróleo e gás natural" }],
"licence": "Open government data (Receita Federal), served by BrasilAPI (MIT)"
}
}
Recorded 2026-10-04; fields trimmed.
What is left out on purpose
- Individual entrepreneurs (MEI) and natural-person forms: their names are personal data.
- The partner list (
qsa), phone numbers and e-mail addresses.
You get the company, not the people behind it. Name search is not offered for Brazil, because there is no open key-less source for it: the lookup is number in, record out.
Status values
active means the registration is active. Anything else (suspended, unfit, closed) is returned as inactive with the detail in statusDetail, so a check can be a one-line condition.
Other ways to call it
The same lookup is a free MCP tool (entity_resolve, https://api.ambolt.dev/mcp), and a pay-per-call x402 endpoint. It also covers company registers in Norway, Finland, Czechia, Slovakia, France, the UK, Latvia and Estonia.
This is information from a public register, not legal advice and not a substitute for an official extract.
More from the blog
- A first KYB check in one call: what to ask, what to keep
- The CRA reporting duty is live: what to prepare before you need it
- Live SSL, domain and vulnerability badges for your README
- Check an npm or PyPI package for known vulnerabilities before you install
- All tools and prices
- Guides
Data and prices change; every API response states its source and date. Informational only, not financial, legal or tax advice.