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

WhenResultHTTPTimePrice
2 h agoPassed40231 ms$0.005
6 h agoPassed402572 ms$0.005
9 h agoPassed402111 ms$0.005
12 h agoPassed402583 ms$0.005
16 h agoPassed402239 ms$0.005
19 h agoPassed402639 ms$0.005
23 h agoPassed402102 ms$0.005
27 h agoPassed402121 ms$0.005
30 h agoPassed402424 ms$0.005
35 h agoPassed402642 ms$0.005
38 h agoPassed402622 ms$0.005
41 h agoPassed40233 ms$0.005
46 h agoPassed402629 ms$0.005