BRAZILAYER

Brazilian public data. Priced per call. Built for AI agents.

Ten datasets, one JSON API: company registry, sanctions, public contracts and Central Bank licenses for KYB and AML — plus live signals only Brazil can give you: market news with sentiment, the BRL crypto premium, crop weather that prices global coffee and soy, and where the R$ 13.8tn fund industry moved its money today. No signup. No API keys. Your agent pays per request — from $0.002 in USDC — and gets an answer in seconds.

10 datasets · 31 paid endpoints Official sources only Refreshed every 15 minutes Listed on the x402 Bazaar & MCP Registry pip install brazilayer

How it works

STEP 1

Call any endpoint

You get HTTP 402 back with the exact price, the asset (USDC on Base) and the address to pay — machine-readable, no account needed.

STEP 2

Pay a fraction of a cent

Your x402 client signs a USDC authorization. Libraries like @x402/fetch do this automatically — one line of code.

STEP 3

Get your JSON

Retry with the payment proof and receive the data. The whole loop takes about two seconds, end to end.

Datasets

LIVE

CNPJ Registry

$0.005 – $0.02 per call

Every company in Brazil, from the official Receita Federal registry, refreshed monthly.

  • Registration card: legal name, status, activities, address, tax regime
  • Partners & shareholders, with roles and entry dates
  • Full-text company search by name, state, city or activity
  • Reverse lookup: every company where a person is a partner
LIVE

Public Contracts

$0.01 per call

Government procurement from the official portal (PNCP), refreshed daily.

  • Every contract won by a company, with values and bodies
  • Supplier summary: totals, first/last contract, distinct bodies
  • Open tenders accepting proposals — live from the source
  • The B2G piece of due diligence
LIVE

Central Bank Registry

$0.005 per check

Licensed financial institutions, from the Central Bank of Brazil, daily.

  • Is this company a BCB-authorized bank, credit union or consortium?
  • Officially verified internet domains — catch fake-bank phishing
  • The instant check for crypto exchanges and fintechs onboarding Brazil
LIVE

Sanctions & Integrity

$0.01 per screening

Five official government sanction lists in a single call, updated daily.

  • Debarred & ineligible companies (CEIS)
  • Anti-corruption penalties with fine amounts (CNEP)
  • Slave-labor blacklist and barred nonprofits
  • Leniency agreements — plus a simple clean-record flag
LIVE

Brazil Markets

$0.002 per call

Streaming market data for trading agents — refreshed every 15 minutes.

  • BR financial & crypto news with AI sentiment and market relevance
  • Selic, IPCA, PTAX and the Focus survey (market forecasts), from the Central Bank
  • Live BRL crypto premium (ágio) — a classic capital-flow signal
LIVE

Commodity Signals

$0.002 – $0.02 per call

Brazil prices global commodities — the signals, from official public data.

  • Crop-weather stress per belt: rain, drought, frost risk (coffee, soy, sugar…)
  • Satellite fire hotspots, exports with YoY, stored hydro energy
  • Daily AI Brazil Commodity Briefing in English, with direction flags
LIVE

Fund Industry

$0.005 – $0.01 per call

The R$ 13.8 trillion Brazilian fund industry, from official CVM filings.

  • Daily net flows by fund class — where institutional money is moving
  • Verify any fund: registered at the CVM? operating? who manages it?
  • Rank and screen ~25,000 fund classes by assets, inflows or shareholders
LIVE

Deforestation

$0.01 – $0.02 per call

Official satellite alerts since the EU deforestation cutoff of 31 Dec 2020.

  • 176,000 km² cleared across 1,450 municipalities — Amazon and Cerrado
  • From a supplier's CNPJ to the record of its municipality
  • For coffee, soy, cattle and cocoa entering the EU from December 2026
LIVE

Causal Chains

$0.05 per chain

Not the measurement — what precedes it, and by how long.

  • Rain over the Southeast leads reservoirs by weeks → thermal dispatch risk
  • Frost in the coffee belt, drought in Mato Grosso, dollar premium vs fund flows
  • Deterministic reading: the rule, its thresholds and its limits travel with the answer
LIVE

Tax Reform

$0.002 – $0.005 per call

Brazil is replacing 5 taxes between 2026 and 2033. Every seller must reclassify.

  • Which IBS/CBS regime applies to a product, by NCM — zero, −60% or standard
  • Always with the legal basis: annex, item and the literal wording of the law
  • Transition calendar: which taxes are in force in any given year
LIVE

Company Enrichment

$0.05 per profile

The full KYB profile in one call — entity in, due diligence out.

  • Registration + partners + branches + sanctions + Central Bank + contracts
  • Replaces 5 separate calls — the format enrichment buyers expect
  • Free sample: a sanctioned company with government contracts

See it live

# Free sample — learn the response format before paying
curl https://api.brazilayer.com/v1/cnpj/amostra

# Paid endpoint without payment — returns the 402 quote
curl -i https://api.brazilayer.com/v1/integridade/consulta/00000000000191

# With an x402 client, payment is automatic
const fetchPay = wrapFetchWithPayment(fetch, client)
await fetchPay('https://api.brazilayer.com/v1/cnpj/empresa/00000000000191')

For agents and builders

# Python — LangChain/CrewAI tools included
pip install brazilayer

Straight from the source, nothing added

Brazilayer redistributes official public records from the Brazilian government — the Federal Revenue company registry and the transparency portals for sanctions — exactly as published, converted to clean JSON. No scraping, no enrichment, no guessing: personal identifiers arrive masked from the source and stay masked. Every response cites its source and reference date.

Building on the agent economy?

We publish the Agent Economy Report — a free weekly, data-generated index of the machine-to-machine economy: x402 services born and earning, on-chain settlement net of store and automated noise, MCP adoption and paid-web signals. One e-mail a week. Read & subscribe →