Brazilayer — Brazilian Company Data (CNPJ)

Official registration data for all ~69 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).

Datasets

CNPJ Registry (live) — every Brazilian company, from the official Receita Federal registry.
Sanctions & Integrity (live) — official sanction lists (CEIS, CNEP, CEPIM, slave-labor blacklist, leniency agreements), updated daily.
Public Contracts (live) — every government contract by supplier + open tenders, from the official procurement portal (PNCP).
Central Bank Registry (live) — BCB-licensed institutions and their verified internet domains, refreshed daily.
More Brazilian public datasets (official gazettes, court records, public tenders) are on the roadmap under the same payment rails.

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/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} — all contracts won by a company$0.01
GET /v1/licitacoes/abertas — open tenders, live from the source$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 — 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

Free sample: GET /v1/commodities/amostra

Fund Industry — R$ 13.8 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

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. 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?

We publish the Agent Economy Report — a free weekly, data-generated index 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 →