B

Brazilayer CNPJ Registry · Cnpj Empresa

by Brazilayer CNPJ Registry

GETBase

$0.005

per call · USD Coin on Base

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

Endpoint

GET https://api.brazilayer.com/v1/cnpj/empresa/:cnpj

3

Calls / 30d

1

Unique payers / 30d

Sep 7

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://api.brazilayer.com/v1/cnpj/empresa/:cnpj", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://api.brazilayer.com/v1/cnpj/empresa/:cnpj" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "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"
  }
}

Payment details

Pay to0x3cc1d8ee1dfdfd326c19b0884b8df4b24b623f0c
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of Data & Enrichment and the homepage with a featured placement.

Get featured →

More from Brazilayer CNPJ Registry & similar services

B

Brazilayer CNPJ Registry · Cnpj Situacao

api.brazilayer.com

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

GETBaseData & Enrichment
$0.001 / call9 calls / 30d
B

Brazilayer CNPJ Registry · Cnpj Busca

api.brazilayer.com

Search Brazilian companies in the official Receita Federal CNPJ registry. Filters (at least one required): nome (full-text on names, accent-insensitive), uf (state), municipio (4-digit RFB code), cnae, porte (size), abertura_de/abertura_ate (opening-date window YYYY-MM-DD, for newly registered companies), situacao (default "ativa"). Paginated; total capped at "10000+". Free sample, no payment: https://api.brazilayer.com/v1/cnpj/amostra

GETBaseData & Enrichment
$0.01 / call5 calls / 30d
B

Brazilayer CNPJ Registry · Socio Busca

api.brazilayer.com

Reverse lookup: find every Brazilian company where a given person or entity appears as partner/shareholder, by name (full-text, accent-insensitive). Returns partner name, company CNPJ and legal name, role and entry date. The highest-value query for due diligence — data straight from the official Receita Federal CNPJ registry (personal tax IDs come pre-masked from the source). Free sample, no payment: https://api.brazilayer.com/v1/cnpj/amostra

GETBaseData & Enrichment
$0.02 / call4 calls / 30d