Brazilayer: Brazilian Company Data (CNPJ)

Official registration data for more than 70 million Brazilian companies, from the Receita Federal (Brazilian IRS) public CNPJ registry, updated monthly. No API keys, no signup: paid endpoints use the x402 payment protocol (USDC on Base).

Also listed on PayAPI Market and in the MCP Registry (io.github.brazilayer/mcp).

Datasets

CNPJ Registry: every company in the official Receita Federal registry, monthly release.
Sanctions & Integrity: official sanction lists (CEIS, CNEP, CEPIM, slave-labor blacklist, leniency agreements), updated daily.
Public Contracts: contracts published on the national procurement portal (PNCP), by supplier, plus open tenders.
Central Bank Registry: BCB-licensed institutions and their verified internet domains, refreshed daily.
Company Enrichment: the four above for one CNPJ, in one call.
Brazil Markets, Commodity Signals, Fund Industry (CVM), Tax Reform, Causal Chains and Deforestation (INPE alerts): one section each below.

Start here (free)

GET /v1/health                        → service status + data reference month
GET /v1/cnpj/amostra                  → full sample response, learn the schema
GET /v1/ferramentas/cnpj/{value}      → validate/normalize a CNPJ (free, unlimited)
GET /v1/ferramentas/cpf/{value}       → validate a CPF (free, unlimited)

The tools are pure arithmetic and cost nothing to call: no key, no signup, no rate limit. Validate before you pay: an invalid CNPJ never resolves in a paid endpoint. The CPF tool never echoes the full number, only the masked form.

CNPJ Registry: paid endpoints

EndpointPrice
GET /v1/cnpj/situacao/{cnpj}: does it exist and is it active (cheapest paid check)$0.001
GET /v1/cnpj/empresa/{cnpj}: registration card$0.005
GET /v1/cnpj/empresa/{cnpj}/socios: partners/shareholders$0.005
GET /v1/cnpj/empresa/{cnpj}/completo: full bundle + branches$0.01
GET /v1/cnpj/busca: company search (name/state/city/activity)$0.01
GET /v1/cnpj/socio/busca?nome=…: reverse partner lookup$0.02

Sanctions & Integrity: paid endpoints

EndpointPrice
GET /v1/integridade/consulta/{cnpj}: full screening, all lists in one call$0.01

Free sample: GET /v1/integridade/amostra

Public Contracts: paid endpoints

EndpointPrice
GET /v1/licitacoes/fornecedor/{cnpj}: contracts a company won, as published on the PNCP (totals and the 100 most recent)$0.01
GET /v1/licitacoes/abertas: open tenders, refreshed from the source every 30 minutes$0.01

Free sample: GET /v1/licitacoes/amostra

Central Bank Registry: paid endpoint

EndpointPrice
GET /v1/bcb/instituicao/{cnpj}: authorization check + verified domains$0.005

Free sample: GET /v1/bcb/amostra · Python: pip install brazilayer

Company Enrichment: the bundle, one call

EndpointPrice
GET /v1/empresa/enriquecer/{cnpj}: full KYB profile (registration + partners + branches + sanctions + Central Bank + public contracts)$0.05

Free sample: GET /v1/empresa/amostra. The bundle replaces 5 separate calls.

Brazil Markets: streaming data

EndpointPrice
GET /v1/mercado/noticias: BR financial & crypto news + sentiment, 15-min refresh$0.002
GET /v1/mercado/indicadores: Selic, IPCA, PTAX + Focus survey medians$0.002
GET /v1/mercado/cambio: PTAX + live BRL crypto premium (capital-flow signal)$0.002

Free sample: GET /v1/mercado/amostra

Commodity Signals: Brazil prices global commodities

EndpointPrice
GET /v1/commodities/clima: crop-weather stress per belt (rain, drought, frost risk)$0.005
GET /v1/commodities/fogo: satellite fire hotspots by biome + drought proxy$0.002
GET /v1/commodities/exportacoes: monthly exports of soy, coffee, sugar, beef… with YoY$0.005
GET /v1/commodities/hidrologia: stored hydro energy by grid subsystem$0.002
GET /v1/commodities/briefing: daily AI Brazil Commodity Briefing (English)$0.10
GET /v1/commodities/pacote: all five above in one call (47% cheaper)$0.06

Free sample: GET /v1/commodities/amostra

Packs

EndpointPrice
GET /v1/mercado/pacote: FX, macro indicators and headlines in one call$0.004
GET /v1/pacotes/brasil: 13 parameter-free endpoints in one call (commodities, market, fund flows and ranking, tax calendar, deforestation ranking, open tenders), 43% cheaper than one by one; causal chains and fund equity flows are sold separately$0.09

Free: GET /v1/pacotes/amostra lists what each pack contains and what it saves.

Fund Industry: about R$ 14 trillion, official CVM data

EndpointPrice
GET /v1/fundos/fluxos: daily net flows by fund class (institutional money movement)$0.005
GET /v1/fundos/consulta/{cnpj}: verify a fund at the CVM (registered, operating, manager)$0.005
GET /v1/fundos/ranking: rank by net assets, inflows or shareholders$0.01
GET /v1/fundos/carteira/{cnpj}: a fund's stock holdings from its latest CVM portfolio disclosure$0.01
GET /v1/fundos/movimentacoes: what funds bought and sold, stock by stock, in a consolidated month (default: the latest)$0.02

Free sample: GET /v1/fundos/amostra

Tax Reform: Brazil's 2026-2033 VAT transition

EndpointPrice
GET /v1/tributos/ncm/{codigo}: IBS/CBS regime for a product, with the legal basis$0.005
GET /v1/tributos/busca: search the reform annexes by product description$0.005
GET /v1/tributos/calendario: which taxes are in force each year$0.002

Free sample: GET /v1/tributos/amostra (rule + legal basis, not tax advice).

Causal Chains: the reading, not the measurement

Each chain returns the upstream indicator with its lead time, the current state, the observable consequence and a reading from a deterministic rule, with the rule, its thresholds and its limits stated in the response.

EndpointPrice
GET /v1/cadeias/energia_br: rain → reservoirs → thermal dispatch risk$0.05
GET /v1/cadeias/cafe_kc: frost/drought in the coffee belt → crop damage$0.05
GET /v1/cadeias/soja_zs: rain in Mato Grosso → yield → exports$0.05
GET /v1/cadeias/capital_br: dollar premium → fund flows → FX$0.05

Free sample: GET /v1/cadeias/amostra

Deforestation: EUDR origin risk

Official INPE satellite alerts (DETER, Amazon and Cerrado) by municipality since 31 Dec 2020, the EU Deforestation Regulation cutoff, which binds large operators from 30 December 2026 for coffee, cocoa, soy, cattle, rubber, palm oil and wood.

EndpointPrice
GET /v1/desmatamento/municipio/{ibge}: cleared area since the cutoff, by class, with ranking$0.01
GET /v1/desmatamento/fornecedor/{cnpj}: from a supplier's CNPJ to its municipality's record$0.02
GET /v1/desmatamento/ranking: where clearing is concentrated, by municipality or state$0.01

Free sample: GET /v1/desmatamento/amostra (alerts, not the consolidated annual figure; regional risk indicator, not an EUDR certificate).

How payment works

Call any paid endpoint → receive HTTP 402 with a payment-required header (base64 JSON: price, USDC asset, pay-to address) → sign an EIP-3009 authorization and retry with it in the PAYMENT-SIGNATURE header. Client libraries like @x402/fetch automate the whole flow in one line.

Daily content

Prefer no code? Same data on Apify

The same official Brazilian company data, self-service and pay-as-you-go with a credit card: no wallet, no integration. Run it from your browser or wire it into n8n, Make or Zapier:

Machine-readable

Building on the agent economy?

The team behind Brazilayer also runs the Agent Economy Report, a free weekly observatory of the machine-to-machine economy: which x402 services are born and earning, on-chain settlement (net of store and automated noise), MCP adoption, and paid-web signals. One e-mail a week, no signup wall. Read it & subscribe →