82trust / 100
Cnpj Situacao
by Brazilayer CNPJ Registry in Company & people data
x402 APIPassing, checked 2 h ago
Does this CNPJ exist in the official Receita Federal registry, and is it active? Returns existence, registration status (situacao_cadastral: Ativa=active, Suspensa=suspended, Baixada=closed) with date, headquarters/branch flag and state. Cheapest paid check in the catalog: digit arithmetic alone cannot tell a well-formed number from a real, active company. Free sample, no payment: https://api.brazilayer.com/v1/cnpj/amostra
GET https://api.brazilayer.com/v1/cnpj/situacao/:cnpj
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 101 ms typical, 101 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/situacao/: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.03:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapi.brazilayer.com%2Fv1%2Fcnpj%2Fsituacao%2F%3Acnpj
const res = await pay("https://api.brazilayer.com/v1/cnpj/situacao/:cnpj");
console.log(await res.json());Example input
{}Example output
{
"cnpj": "00000000000191",
"existe": true,
"matriz_filial": "matriz",
"situacao_cadastral": {
"codigo": "02",
"data": "1967-06-30",
"descricao": "Ativa"
},
"uf": "DF"
}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 | 101 ms | $0.001 |