79trust / 100
Cnpj Empresa
by Brazilayer CNPJ Registry in Company & people data
x402 APIPassing, checked 2 h ago
Official registration data for a Brazilian company from the Receita Federal (Brazilian IRS) CNPJ registry, updated monthly: legal name (razao_social), trade name, registration status (situacao_cadastral: Ativa=active, Baixada=closed), start date, legal nature, share capital, main and secondary CNAE activities with descriptions, full address, contact info and Simples/MEI tax regime flags. Keys are in Portuguese legal terms. Free sample, no payment: https://api.brazilayer.com/v1/cnpj/amostra
GET https://api.brazilayer.com/v1/cnpj/empresa/:cnpj
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 424 ms typical, 639 ms slowest 5%
- Last check
- 2 h ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X GET "https://api.brazilayer.com/v1/cnpj/empresa/:cnpj"import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const client = new x402Client().register(
"eip155:8453",
new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapi.brazilayer.com%2Fv1%2Fcnpj%2Fempresa%2F%3Acnpj
const res = await pay("https://api.brazilayer.com/v1/cnpj/empresa/:cnpj");
console.log(await res.json());Example input
{}Example output
{
"cnae_principal": {
"codigo": "6422100",
"descricao": "Bancos múltiplos"
},
"cnpj": "00000000000191",
"endereco": {
"municipio": "BRASILIA",
"uf": "DF"
},
"razao_social": "BANCO DO BRASIL SA",
"situacao_cadastral": {
"codigo": "02",
"descricao": "Ativa"
}
}Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 2 h ago | Passed | 402 | 31 ms | $0.005 |
| 6 h ago | Passed | 402 | 572 ms | $0.005 |
| 9 h ago | Passed | 402 | 111 ms | $0.005 |
| 12 h ago | Passed | 402 | 583 ms | $0.005 |
| 16 h ago | Passed | 402 | 239 ms | $0.005 |
| 19 h ago | Passed | 402 | 639 ms | $0.005 |
| 23 h ago | Passed | 402 | 102 ms | $0.005 |
| 27 h ago | Passed | 402 | 121 ms | $0.005 |
| 30 h ago | Passed | 402 | 424 ms | $0.005 |
| 35 h ago | Passed | 402 | 642 ms | $0.005 |
| 38 h ago | Passed | 402 | 622 ms | $0.005 |
| 41 h ago | Passed | 402 | 33 ms | $0.005 |
| 46 h ago | Passed | 402 | 629 ms | $0.005 |