$0.01
per call · USD Coin on Base
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
Endpoint
GET https://api.brazilayer.com/v1/cnpj/busca5
Calls / 30d
1
Unique payers / 30d
Sep 7
Last called
exact
Payment scheme
Call this service
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/busca", {
method: "GET",
});
const data = await res.json();curl -X GET \
"https://api.brazilayer.com/v1/cnpj/busca?nome=padaria&por_pagina=20&uf=RJ" \
-H "X-PAYMENT: <signed x402 payment>"Example response
{
"pagina": 1,
"resultados": [
{
"cnpj": "00064704000128",
"razao_social": "PADARIA DOCES SONHOS LTDA",
"uf": "RJ"
}
],
"total": 4086
}Payment details
0x3cc1d8ee1dfdfd326c19b0884b8df4b24b623f0cUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913Is this your API?
Pin it to the top of Data & Enrichment and the homepage with a featured placement.
More from Brazilayer CNPJ Registry & similar services
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
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
Brazilayer CNPJ Registry · Empresa Completo
api.brazilayer.com
Complete bundle for a Brazilian company in one call: full registration data + all partners/shareholders + list of branches (filiais) with their status. Best value for a full company profile from the official Receita Federal CNPJ registry. Free sample, no payment: https://api.brazilayer.com/v1/cnpj/amostra