Uma integração · Dezenas de bases públicas brasileiras · Uma API key

Dados do Brasil em uma única API.

Receita Federal, DATASUS, ANS, ANVISA, WHO e Banco Central — estruturados, normalizados e atualizados automaticamente, com uma única API key. Pare de manter dezenas de integrações com arquivos públicos: CNPJ, saúde, fiscal, índices e câmbio em 28 APIs prontas para produção.

69.5Mcompanies (full Receita Federal base)
72.8Mestablishments (all states, all CNAEs)
28.1Mshareholders/partners on file
494,662healthcare facilities (national base)
4.6Mhealth professionals (national workforce)
26,001drug registry items
1key for all 28 APIs

One key. The whole country.

Not samples. Not stale exports. Complete official datasets, re-imported automatically every month and served through a single key.

69.5Mcompanies — full national registry
72.8Mestablishments across every state, CNAE and size
28.1Mshareholders and legal representatives
49.9MSimples/MEI tax regime records
494,662active healthcare facilities
6.7Mhealth professionals — full national workforce (monthly)
26,001drugs with official ANVISA prices
43,444ANVISA-registered medicines with status and holder
35,310ICD-11 codes (WHO official release)
14,233CID-10 diagnosis codes
10,515NCM tariff codes in force
10,220CBO occupations (incl. synonyms)
1,308economic index points (36 months)
2,992PTAX currency quotes (36 months)
220M+records total behind one key

Why not just use the free APIs?

Free mirrors give you a CNPJ lookup. They cannot give you what the full, versioned registry enables.

69M companies, not lookups

Free APIs query one CNPJ at a time. We own the entire official registry — every company, establishment and shareholder — so you can search, filter, count and cross-reference the whole country.

Versioned monthly

Free mirrors are static snapshots. We re-import the official base twice a month and keep the version history — the only way to answer "what changed since last month?"

Derived intelligence

Corporate ownership graphs, B2B lead lists, risk scores and compliance monitoring are computed from the full base. No free API offers them — they need the complete registry.

Cross-dataset answers

Healthcare providers (CNES) crossed with company records, capital restated by official inflation, procedure codes mapped across standards. A free API answers one table; we answer the country.

What can you actually build with this?

Not abstract "data". Real products that solve real problems — built on 220M+ official records.

🛡️

KYC that reveals hidden owners

Onboard a company, then answer "who really controls it?" in one call. Company Graph + CNPJ Full expose the shareholder network — every company behind the same person. Banks, exchanges and law firms pay for this daily.

GET /v1/company-graph/{cnpj}/grupo
📞

A lead engine that fills your CRM

"All dental clinics in São Paulo with phone and email" — filter 72.8M establishments by CNAE, state, size and status, enrich in batch, export CSV. Sales teams stop scraping and start selling.

GET /v1/leads/search?uf=SP&cnae=8630
📊

Instant credit pre-score

Before a loan, score any Brazilian company: status, age, size, capital, Simples regime — transparent, explainable, from public data. Fintechs get a first-pass risk screen without buying a bureau.

GET /v1/intelligence/score/{cnpj}
🚨

A watchdog for your portfolio

Watch 1,000 CNPJs. Get alerted when a customer's company status, capital or shareholder count changes — every month, automatically. Continuous KYC that regulators keep asking for.

POST /v1/compliance/watchlist
🏥

A healthcare provider directory

Find every hospital in a state with type, coordinates, and the company behind it — CNES registry crossed with the CNPJ record. Insurers and telemedicine networks validate providers in one call.

GET /v1/health-link/search?tipo=hospital&uf=SP
💱

A price engine that speaks BRL

Your SaaS lists prices in BRL — or you sell to Brazilians from abroad. Convert with the official Central Bank rate for any date, restate company capital by inflation, and quote with confidence.

POST /v1/cambio/converter
💊

A drug price comparator

26,001 medications with official ANVISA prices, adjustable per state. Build a price-comparison app, a PBM cost engine, or a pharmacy chain's live price list — refreshed monthly.

GET /v1/medications/search?q=dipirona
🧾

A payroll that never guesses

INSS and IRRF brackets with their legal basis, plus an auditable progressive calculator — including the 2025-2026 tax relief. HR software that computes Brazilian payroll correctly out of the box.

POST /v1/esocial/calc/irrf
🩺

Credential any health professional

Verify a doctor, nurse or therapist in one call: occupation (CBO), professional council, whether they work in the SUS — and every facility they practice at, across all of Brazil. Insurers and telehealth platforms stop chasing credentials by phone.

GET /v1/cnes/profissionais/search?nome=

Infraestrutura para produção

Todos os números abaixo são reais e verificáveis — consulte /status e /v1/freshness.

Operacional

Status geral da API — 19 grupos de dados respondendo.

Atualização automática

Importação 2x/mês das fontes oficiais + verificação diária de frescor.

Latência amostrada

Consultas simples em milissegundos; buscas pesadas com cache TTL de 120s.

220M+ registros

Empresas, estabelecimentos, sócios, profissionais de saúde e mais.

Ver status completo & confiabilidade →

Uma integração para cada área do seu negócio

O valor não é uma consulta isolada — é combinar bases diferentes com uma única integração e uma única autenticação.

🏥 Healthtech

CNES (estabelecimentos) + profissionais (CBO/conselho) + TUSS + SIGTAP + CID-10/CID-11 + terminologias (ATC, CIAP-2, CBHPM) + medicamentos CMED + registro ANVISA. Uma healthtech que normalmente precisaria de 6+ integrações com o Ministério da Saúde, ANS, ANVISA e WHO constrói tudo com uma API.

CNES→Profissional→Especialidade→TUSS/SIGTAP

🧾 ERP / Fintech / B2B

CNPJ completo + QSA/sócios + CNAE + endereço + situação + capital + Simples/MEI + grupo econômico + leads + índices (SELIC/IPCA) + câmbio PTAX. KYC, cadastro, crédito e contabilidade sem baixar uma base da Receita.

CNPJ→Empresa→Sócios→Grupo econômico

🔗 Data Enrichment

Cruzamento entre bases: a empresa atrás do hospital (CNPJ × CNES), o profissional por trás da razão social (pessoas × CNES), o preço real atrás do medicamento (CMED × BPS × ANVISA). Enriquecimento que exige pipelines internos — resolvido com chamadas.

CNPJ→Estabelecimento→Município→Indicadores

28 problemas reais, 28 soluções

Each API targets a specific pain point of working with Brazilian public data in production — this isn't a generic lookup, it's the import/cleanup/maintenance work someone at your company would otherwise have to own.

01

CNPJ Alphanumeric

For: fintechs, ERPs, onboarding/KYC systems

The new CNPJ format is already live. Your 14-digit numeric validator is about to break.

Problem

Since mid-2026 Brazil’s tax authority issues CNPJs with letters (e.g. 12ABC34501DE35). Old regex (^\d{14}$) rejects valid customers — signups break silently.

Solution

Validates both formats with the official check-digit algorithm, normalizes, formats, and generates test batches so QA covers the new format before it becomes a production incident.

POST/v1/cnpj/validate
curl -X POST https://api.anrelia.com/v1/cnpj/validate \
  -H "X-API-Key: YOUR_KEY" -H "Content-Type: application/json" \
  -d '{"cnpj":"12ABC34501DE35"}'
{
  "valid": true,
  "cnpj": "12ABC34501DE35",
  "formatted": "12.ABC.345/01DE-35",
  "type": "alphanumeric",
  "has_letters": true
}
02

Tax Reform Reference

For: fiscal ERPs, accounting firms, invoicing software

Brazil’s consumption tax reform changes its classification tables monthly. Someone has to track it — not you.

Problem

Misclassifying a transaction’s IBS/CBS code means a rejected invoice or, worse, a tax assessment. The official tables change without warning on your radar.

Solution

Full official classification table with every code linked straight to the exact statute article, plus the complete NCM table (10,515 codes) — both re-imported every month.

GET/v1/tax/cclasstrib/{code}
curl https://api.anrelia.com/v1/tax/cclasstrib/000001 \
  -H "X-API-Key: YOUR_KEY"
{
  "code": "000001",
  "cst": "000",
  "name": "Fully taxed by IBS and CBS.",
  "legislacao_url": "https://www.planalto.gov.br/..."
}
03

NF-e / RTC Validator

For: e-commerce, marketplaces, invoicing ERPs

Find out your invoice will be rejected before you submit it, not after.

Problem

Every rejected e-invoice means manual rework, shipping delays, and at volume, a whole team just chasing down XML errors field by field.

Solution

Real validation against the complete official government XML schema (not a shallow check) — returns the exact field, the violated rule and a fix suggestion, before you ever submit.

POST/v1/nfe/validate
curl -X POST https://api.anrelia.com/v1/nfe/validate \
  -H "X-API-Key: YOUR_KEY" -H "Content-Type: application/json" \
  -d '{"xml":"..."}'
{
  "valid": false,
  "errors": [{
    "path": "//ide",
    "message": "Missing child element(s). Expected is (cNF).",
    "suggestion": "Fix the field per the official layout..."
  }]
}
04

Drug Registry + Pricing

For: pharmacy chains, price-comparison apps, health plans, PBMs

Keeping 26,000 drug prices current is a full-time job. Outsource it.

Problem

The official price list ships as a raw monthly spreadsheet with no stable naming — parsing, cleaning and versioning it eats a developer’s time every month.

Solution

Complete official list (26,001 items) with regulatory registration, barcode and regulated prices already adjustable by state tax rate — re-imported from the source every month.

GET/v1/medications/search?q=
curl "https://api.anrelia.com/v1/medications/search?q=dipirona" \
  -H "X-API-Key: YOUR_KEY"
{
  "total": 395,
  "data": [{
    "brand": "ABERALGINA",
    "active_ingredient": "DIPIRONA",
    "pf": 5.84, "pmc": 7.83, "pmvg": 4.58
  }]
}
05

Procedure Code Crosswalk

For: health insurers, hospitals, telemedicine platforms

Providers speak one code standard, the public system speaks another. Getting it wrong means unpaid claims.

Problem

Billing with the wrong procedure code is a classic reason claims get denied. Matching two code tables by hand, item by item, doesn’t scale.

Solution

Free-text semantic search → procedure code, plus an official regulator crosswalk where one exists (always labeled as such, never disguised as a guess) and a text-similarity suggestion only when no official mapping exists.

POST/v1/procedure/identify
curl -X POST https://api.anrelia.com/v1/procedure/identify \
  -H "X-API-Key: YOUR_KEY" -H "Content-Type: application/json" \
  -d '{"description":"office consultation"}'
{
  "candidates": [{ "tuss": "10101012", "confidence": 1 }]
}
// GET /v1/procedure/10101012/sigtap ->
{ "is_official_crosswalk": true, "suggestions": [...] }
06

Healthcare Facility Directory

For: insurtechs, health-search apps, provider networks, health logistics

494,662 active healthcare facilities. If it’s not here, it probably doesn’t exist.

Problem

Verifying that a provider is real, active, and pulling its tax ID/address/coordinates for a network or map means cross-referencing public registries in incompatible formats.

Solution

Complete, active national base — all states, every facility type — with name, tax ID, address and coordinates, searchable by state, city or facility type.

GET/v1/cnes/search?uf=&q=
curl "https://api.anrelia.com/v1/cnes/search?uf=SP&especialidade=hospital+geral" \
  -H "X-API-Key: YOUR_KEY"
{
  "total": 1847,
  "data": [{
    "nome_fantasia": "AHBB BILAC",
    "cnpj": "45349461000706",
    "municipio_nome": "Bilac", "uf_sigla": "SP"
  }]
}
07

eSocial / Payroll Tables

For: payroll ERPs, accounting firms, HR software, fintechs

INSS, IRRF and the CBO occupation list change every year. Your payroll team shouldn't track them by hand.

Problem

The official INSS/IRRF brackets and the 2,400+ CBO occupations come as raw portarias and loose tables — re-keyed by hand in every payroll system, and wrong versions cause fines.

Solution

The current CBO list (canonical + synonyms) and the 2026 INSS/IRRF brackets with their legal basis, plus an auditable progressive INSS and IRRF calculator with the 2025-2026 tax relief.

GET/v1/esocial/cbo/search?q=
curl "https://api.anrelia.com/v1/esocial/cbo/search?q=enfermeiro" \
  -H "X-API-Key: YOUR_KEY"
{
  "total": 18,
  "data": [{
    "code": "2235-05",
    "termo": "Enfermeiro",
    "tipo": "CANONICO"
  }]
}
08

ICMS / CEST

For: fiscal ERPs, e-commerce, tax engines, logistics

The CEST×NCM table and interstate ICMS rates are scattered across 27 states. Centralize them.

Problem

Looking up the right CEST for a product, or the interstate ICMS rate between two states, means checking CONFAZ annexes and state legislation — by hand, every time.

Solution

The complete CEST×NCM table (1,013 rules, CONFAZ) plus the interstate ICMS rates between every pair of states, with the rule that produced each rate.

GET/v1/icms/cest/search?q=
curl "https://api.anrelia.com/v1/icms/cest/search?q=catalisador" \
  -H "X-API-Key: YOUR_KEY"
{
  "total": 2,
  "data": [{
    "cest": "01.001.00",
    "descricao": "Catalisadores em colmeia...",
    "ncm": "38151210",
    "segmento": "01"
  }]
}
09

CID-10 Reference

For: healthtech, EHRs, telemedicine, insurance claim systems

14,000+ official diagnosis codes with Portuguese descriptions. Stop shipping them in your bundle.

Problem

Every health app ends up embedding a partial, outdated CID-10 table — and the official DATASUS files are raw, unindexed and hard to query.

Solution

The complete Brazilian CID-10 (categories + subcategories, pt-BR), searchable by free text with accent-insensitive matching, plus chapter navigation and code lookup.

GET/v1/cid/{code}
curl https://api.anrelia.com/v1/cid/E11 \
  -H "X-API-Key: YOUR_KEY"
{
  "code": "E11",
  "description": "Diabetes mellitus não-insulino-dependente",
  "chapter_code": "IV",
  "chapter_title": "Doenças endócrinas..."
}
10

Economic Indices + Correction

For: accounting firms, fintechs, legal (debt calculation), ERP financial modules

SELIC, IPCA, INPC, IGP-M — and the official correction math, done right.

Problem

The Central Bank publishes the raw series, but applying the official correction methodology (which months count, pro-rata, mid-period index changes) is where everyone errs.

Solution

Official monthly series (SELIC, IPCA, INPC, IGP-M, IGP-DI, INCC) plus a correction calculator that applies the standard official methodology and shows every factor used.

POST/v1/indices/corrigir
curl -X POST https://api.anrelia.com/v1/indices/corrigir \
  -H "X-API-Key: YOUR_KEY" -H "Content-Type: application/json" \
  -d '{"valor":1000,"serie":"ipca","de":"2025-01-01","ate":"2026-01-01"}'
{
  "valor_original": 1000,
  "valor_corrigido": 1060.48,
  "fator": 1.06048,
  "indices_aplicados": 12
}
11

Currency Exchange (PTAX)

For: e-commerce, fintechs, pricing tools, any app that needs to quote prices in BRL

Official USD/BRL and other currency rates from the Central Bank — with history and conversion.

Problem

Foreign developers quoting prices in Brazil need the official PTAX rate, but scraping the Central Bank or parsing historical series is fragile and undocumented.

Solution

Official PTAX rates for USD, EUR, CHF and ARS with 36 months of history, latest-quote endpoint and a BRL↔currency converter that uses the correct rate for any date.

GET/v1/cambio/cotacao/usd
curl "https://api.anrelia.com/v1/cambio/cotacao/usd" \
  -H "X-API-Key: YOUR_KEY"
{
  "data": "2026-08-24",
  "valor": 5.1506,
  "moeda": "usd",
  "nome": "Dólar americano (USD)"
}
12

CNPJ Full Record

For: KYC/KYB platforms, fintechs, HR tech, anyone verifying Brazilian companies

The complete Brazilian company record: legal name, CNAE, shareholders, address, status.

Problem

Validating a CNPJ is not enough — you need the full firmographic record. The official Receita Federal dataset is huge, poorly documented and painful to maintain.

Solution

The complete public company record from the Receita Federal open data: legal name, trade name, CNAE (primary + secondary), status, address, capital, shareholders and Simples/MEI — refreshed automatically from the official source.

GET/v1/cnpj-full/{cnpj}
curl "https://api.anrelia.com/v1/cnpj-full/06990590000123" \
  -H "X-API-Key: YOUR_KEY"
{
  "cnpj": "06990590000123",
  "razao_social": "GOOGLE BRASIL INTERNET LTDA.",
  "situacao_cadastral": "ATIVA",
  "cnae_fiscal": "6319400",
  "capital_social": 200000000,
  "socios": [{ "nome": "GOOGLE INTERNATIONAL LLC" }]
}
13

Company Graph

For: compliance/KYC platforms, due diligence, fraud detection, competitive intelligence

Who owns what in Brazil: shareholders, portfolios and full economic groups.

Problem

Knowing a company's shareholders isn't enough — you need the whole network. Who else does this person control? What is the full economic group?

Solution

The corporate graph built from 28M shareholder records × 69M companies: shareholders of a CNPJ, every company of a shareholder, and the complete economic group behind any company.

GET/v1/company-graph/{cnpj}/grupo
curl "https://api.anrelia.com/v1/company-graph/06990590000123/grupo" \
  -H "X-API-Key: YOUR_KEY"
{
  "raiz": "06990590",
  "total_membros": 3,
  "membros": [{
    "cnpj_basico": "06990590",
    "razao_social": "GOOGLE BRASIL INTERNET LTDA."
  }]
}
14

B2B Leads

For: sales teams, CRMs, marketing agencies, B2B prospecting platforms

Find, filter and export every Brazilian company by CNAE, state and size — with contacts.

Problem

Finding qualified Brazilian leads means scraping registries and praying the contacts are right. Nobody sells you the full national base with phone and email ready to import.

Solution

72.8M establishments searchable by CNAE, UF, municipality, size and status — with phone and email — plus batch enrichment and one-click CSV export for your CRM.

GET/v1/leads/search?uf=&cnae=
curl "https://api.anrelia.com/v1/leads/search?uf=SP&cnae=86&limit=3" \
  -H "X-API-Key: YOUR_KEY"
{
  "total": 3,
  "data": [{
    "cnpj": "...", "razao_social": "...",
    "email": "...", "telefone1": "..."
  }]
}
15

Company Intelligence

For: credit teams, underwriting, market research, corporate analysis

Risk score, sector benchmarks and headquarter/branch structure for every CNPJ.

Problem

Risk-scoring Brazilian companies usually needs paid bureau data. The basic signals — status, age, size, capital, Simples — are all public, but scattered.

Solution

Transparent risk score (status + age + size + capital + regime), sector benchmarks by CNAE/state (capital and age percentiles), and full headquarters/branches structure — computed from the official base.

GET/v1/intelligence/score/{cnpj}
curl "https://api.anrelia.com/v1/intelligence/score/33000167000101" \
  -H "X-API-Key: YOUR_KEY"
{
  "score": 90,
  "classificacao": "BAIXO_RISCO",
  "fatores": [
    { "fator": "Situação ATIVA", "impacto": "+20" }
  ]
}
16

Health Link

For: insurers, telemedicine, health logistics, provider networks, care coordination

Every healthcare provider in Brazil, cross-referenced: CNES registry × company record.

Problem

Validating a healthcare provider means checking the CNES registry and the company registry separately, in incompatible formats.

Solution

The 494,662-facility national health registry crossed with the full CNPJ base: unit type, location, coordinates, and the company's legal data in one response.

GET/v1/health-link/{cnpj}
curl "https://api.anrelia.com/v1/health-link/search?tipo=hospital&uf=SP" \
  -H "X-API-Key: YOUR_KEY"
{
  "cnes": {
    "codigo": "...",
    "tipo_unidade": "HOSPITAL GERAL",
    "latitude": -23.5
  },
  "empresa": { "razao_social": "..." }
}
17

Compliance Watch

For: banks, fintechs, crypto exchanges, law firms, any regulated continuous-KYC workflow

Watch CNPJs and detect cadastral changes month over month — continuous KYC.

Problem

KYC isn't a one-time check. Regulators require continuous monitoring, but detecting changes in the company registry requires versioned data most APIs don't keep.

Solution

A watchlist of CNPJs with snapshot-based change detection: status, capital and shareholder-count changes between monthly versions of the official base.

POST/v1/compliance/watchlist
curl -X POST https://api.anrelia.com/v1/compliance/watchlist \
  -H "X-API-Key: YOUR_KEY" -H "Content-Type: application/json" \
  -d '{"cnpjs":["06990590000123"]}'
{
  "adicionados": 1,
  "total_watchlist": 1
}
18

Adjusted Capital

For: accountants, M&A advisors, debt-collection law, corporate valuation

Company capital restated by official inflation — for valuation and debt calculation.

Problem

A company's registered capital in 2010 isn't comparable to today's — you need it restated by official inflation, and doing that per company by hand is tedious.

Solution

The registered capital of any CNPJ restated by IPCA or SELIC using the official Central Bank methodology, with the exact factor applied.

GET/v1/capital-corrigido/{cnpj}
curl "https://api.anrelia.com/v1/capital-corrigido/06990590000123" \
  -H "X-API-Key: YOUR_KEY"
{
  "capital_original": 200000000,
  "capital_corrigido": 245000000,
  "indice": "ipca"
}
19

People Search

For: compliance/KYC, due diligence, journalists, fraud detection, recruiters

Find a person by name, discover every company they own or manage.

Problem

You have a name — not a CNPJ. Finding which companies a person controls means combing through registry files name by name. Nobody exposes this as an API.

Solution

Search 28M shareholder records by name and get every company the person is linked to — with status, size, capital and state. Plus the recovered CPF and a health-professional flag: if the person works in healthcare (CNES), you see their occupation, council and CNS. The reverse of Company Graph: start from the person.

GET/v1/people/search?nome=
curl "https://api.anrelia.com/v1/people/search?nome=MARCOS%20MARANHAO" \
  -H "X-API-Key: YOUR_KEY"
{
  "total": 3,
  "data": [{
    "nome": "MARCOS MOURA MARANHAO JUNIOR",
    "total_empresas": 1,
    "qualificacao": "22"
  }]
}
20

Health Workforce

For: insurers, telehealth, credentialing, healthcare analytics, staffing

Every health professional in Brazil — search by name, follow them across hospitals.

Problem

Verifying a doctor, nurse or therapist — where they work, what they do, whether they are in the SUS — means digging through DATASUS files in a proprietary compressed format nobody documents.

Solution

The national health workforce: 4M+ unique workers and 6.7M work links across every healthcare facility, searchable by name — with occupation (CBO), professional council, recovered CPF and every establishment they work at — refreshed monthly from the official source.

GET/v1/cnes/profissionais/search?nome=
curl "https://api.anrelia.com/v1/cnes/profissionais/search?nome=MARIA%20SILVA" \
  -H "X-API-Key: YOUR_KEY"
{
  "total": 24,
  "data": [{
    "cns_prof": "700403498708148",
    "nome": "MARIA DA SILVA SOUZA",
    "cpf_mascarado": "***498708**",
    "cbo_descricao": "Enfermeiro",
    "n_vinculos": 2,
    "ufs": ["SP", "RJ"]
  }],
  "aviso": "CPF recuperado do campo obfuscado do DATASUS..."
}
21

Professional Business Interests

For: insurers, fraud detection, KYC, compliance, healthcare due diligence

The companies behind the doctor — MEI clinics and shareholder stakes, from the recovered CPF.

Problem

A doctor who owns a clinic, a nurse with a side business, a therapist who is a partner in a chain — knowing the business interests behind a health professional means cross-referencing two government databases by hand.

Solution

Every company linked to a health professional, crossed by their CPF: their own MEI/EI (legal name ends with the CPF) and companies where they appear as a shareholder — with status, size, capital and state.

GET/v1/cnes/profissionais/{cns}/empresas
curl "https://api.anrelia.com/v1/cnes/profissionais/700403498708148/empresas" \
  -H "X-API-Key: YOUR_KEY"
{
  "cns_prof": "700403498708148",
  "nome": "MARIA DA SILVA SOUZA",
  "total_empresas": 2,
  "empresas": [{
    "cnpj_basico": "12345678",
    "razao_social": "MARIA DA SILVA SOUZA 02990363246",
    "origem": "mei",
    "situacao": "ATIVA",
    "uf": "SP"
  }]
}
22

Workforce Analytics

For: market research, staffing agencies, public health planning, investors in healthcare

How many nurses in São Paulo? Occupation counts, SUS participation, UF breakdown.

Problem

Sizing a healthcare market — "how many physiotherapists are there?" — means downloading and parsing the entire national registry, state by state, in a proprietary format.

Solution

Aggregated workforce analytics: total workers and unique professionals per state, SUS participation, and a searchable occupation directory (CBO) with real counts — the demand side of Brazilian healthcare.

GET/v1/cnes/profissionais/estatisticas?uf=
curl "https://api.anrelia.com/v1/cnes/profissionais/estatisticas?uf=SP" \
  -H "X-API-Key: YOUR_KEY"
{
  "total_vinculos": 1568320,
  "profissionais_unicos": 1100000,
  "top_ocupacoes": [{
    "cbo": "322205",
    "cbo_descricao": "Técnico de enfermagem",
    "vinculos": 4516
  }]
}
23

Real Health Prices

For: hospitals, clinics, procurement, healthtech, patients, market research

Actual prices paid for medicines and medical supplies in Brazil — with the real sellers and buyers.

Problem

CMED lists maximum allowed prices, not what anyone actually pays. Clinics and hospitals buying gloves, reagents or drugs have no public benchmark of real transaction prices.

Solution

791K+ real purchases from the Ministry of Health price bank (BPS, 2009-2023): medicines AND medical supplies, with the actual unit price paid, the supplier (CNPJ + name), the buying institution, date and state — searchable, comparable by supplier, with yearly history.

GET/v1/health-prices/search?q=
curl "https://api.anrelia.com/v1/health-prices/search?q=luva%20procedimento"   -H "X-API-Key: YOUR_KEY"
{
  "total": 3,
  "data": [{
    "codigo_br": "BR0269893",
    "descricao": "LUVA PROCEDIMENTO, LÁTEX...",
    "n_compras": 546,
    "preco_min": 0.11,
    "preco_medio": 2.3,
    "ufs": 27
  }]
}
24

Health Terminologies

For: EHR/EMR software, health plans, lab systems, research, coding teams

The medical dictionaries of Brazil in one API: ATC, CIAP-2, CBHPM/TUSS, LOINC.

Problem

Brazilian health software must code diagnoses (CID), procedures (TUSS/CBHPM/SIGTAP), drugs (ATC) and exams (LOINC) — each from a different official table, each in a different format, each updated on its own schedule.

Solution

ATC/DDD (WHO, 7K drugs with defined daily dose), CIAP-2 (686 primary-care rubrics), CBHPM/TUSS (32.9K private procedures/OPME/medications) and LOINC-BR exam names — all in one searchable API with versioned sources.

GET/v1/health-terms/search?q=
curl "https://api.anrelia.com/v1/health-terms/search?q=insuficiencia%20cardiaca"   -H "X-API-Key: YOUR_KEY"
{
  "total": 1,
  "data": [{
    "codigo": "K77",
    "descricao": "Insuficiência cardíaca",
    "tabela": "ciap2"
  }]
}
25

SUS SIGTAP Procedures

For: hospital billing, SUS auditors, healthtech, regulators, telehealth, research

Every SUS procedure with official prices, CIDs, CBO occupations and billing rules.

Problem

SIGTAP is the official SUS table — procedures, medications and OPME with the exact amounts the government pays — but it ships as a monthly fixed-width file dump that no one wants to parse and keep current.

Solution

The complete unified SIGTAP table (DATASUS, current month): 5,023 procedures with SH/SA/SP values, complexity, sex/age rules, financing, plus 82K CID-10 links, 195K CBO occupation links, services, habilitations, bed types, modalities, RENASES, SIA/SIH mappings and compatibility rules — searchable in milliseconds.

GET/v1/sigtap/search?q=
curl "https://api.anrelia.com/v1/sigtap/search?q=amniocentese"   -H "X-API-Key: YOUR_KEY"
{
  "total": 1,
  "data": [{
    "code": "0201010011",
    "code_formatted": "02.01.01.001-1",
    "nome": "AMNIOCENTESE",
    "complexidade_label": "Alta Complexidade",
    "vl_sh": "R$ 2.20",
    "no_financiamento": "Média e Alta Complexidade (MAC)"
  }]
}
26

TUSS Terminology

For: health plans, billing systems, clinics, labs, integration teams

The complete ANS TUSS — all 65 official tables with per-code validity dates.

Problem

Private health billing in Brazil runs on TUSS codes, but ANS publishes 65 tables in scattered formats — and each code has a validity window you must respect when submitting TISS claims.

Solution

Every TUSS table (procedures, daily rates/taxes/gases, medications, OPME, domains) with the official validity dates of each code (inicio/fim vigência) — one searchable API, updated 2x/month from the ANS official platform.

GET/v1/tuss/search?q=
curl "https://api.anrelia.com/v1/tuss/search?q=ultrassom&tabela=tuss-22"   -H "X-API-Key: YOUR_KEY"
{
  "total": 11,
  "data": [{
    "tabela": "tuss-22",
    "id": "40802075",
    "display_name": "Ultrassom...",
    "inicio_vigencia": "2016-04-15",
    "vigente": true
  }]
}
27

ICD-11 Reference

For: EHR/EMR, health plans, public health, migration projects, research

The official WHO ICD-11 (CID-11) with the official ICD-10 ↔ ICD-11 crosswalk.

Problem

Brazil is migrating from CID-10 to the WHO ICD-11 — a completely different code system. Every health software will need the new codes and a way to translate legacy CID-10 data.

Solution

The official ICD-11 MMS linearization (WHO 2024-01): 35,310 categories, 788 blocks, 28 chapters — searchable with hierarchy navigation — plus the official WHO ICD-10↔ICD-11 mapping files (12.3K + 17.2K links) to translate codes both ways.

GET/v1/icd11?q=
curl "https://api.anrelia.com/v1/icd11?q=cholera"   -H "X-API-Key: YOUR_KEY"
{
  "q": "cholera",
  "total": 4,
  "data": [{
    "code": "1A00",
    "title": "Cholera",
    "class_kind": "category",
    "chapter_no": "01",
    "primary_tabulation": true
  }]
}
28

ANVISA Medicines Registry

For: pharma KYC, marketplaces, hospitals, pharmacovigilance, procurement

The official ANVISA registry of every medicine in Brazil — registration, status, holder, restrictions.

Problem

Every medicine in Brazil needs an ANVISA registration, but the official open-data file is a messy CSV in a server with broken TLS — nobody parses it and keeps it current.

Solution

The official registry, clean and searchable: 43,444 products with active ingredient, therapeutic class, registration number, status (Active/Inactive), holder (CNPJ + name) and expiry — plus 16,395 usage/prescription restrictions and a live cross-reference to CMED prices.

GET/v1/anvisa/search?q=
curl "https://api.anrelia.com/v1/anvisa/search?q=dipirona&situacao=Ativo"   -H "X-API-Key: YOUR_KEY"
{
  "total": 170,
  "data": [{
    "nome": "ALIVDIP",
    "numero_registro": "103700624",
    "principio_ativo": "dipirona sódica",
    "situacao": "Ativo",
    "detentor_nome": "LABORATÓRIO TEUTO BRASILEIRO S/A"
  }]
}

Manter integrações próprias

  1. Download de arquivos oficiais
  2. Tratamento e limpeza
  3. Acompanhar mudanças de layout
  4. Normalização de formatos
  5. Carga em banco de dados
  6. Indexação e busca
  7. Atualização periódica
  8. Monitoramento
  9. Correção de falhas

Com Anrelia

  1. Uma API
  2. Uma autenticação (API key)
  3. Dados estruturados e atualizados

“Os dados públicos são gratuitos. Manter a infraestrutura para utilizá-los não é.”

Quantas integrações sua empresa precisaria manter?

Marque as bases que você usa hoje (ou pretende usar):

Pricing

One key unlocks all 28 APIs. Start free, pay only once volume justifies it.

Basic
US$ 0/mês
100 chamadas/mês
  • Todas as 28 APIs
  • O suficiente para validar se resolve o seu problema
Ultra
US$ 75/mês
US$ 59/mês no plano anual · 50.000 chamadas/mês · ~US$ 1,50 por mil
  • Todas as 28 APIs
  • Produção em escala
Mega
US$ 149/mês
500.000 chamadas/mês · ~US$ 0,30 por mil
  • All 28 APIs
  • High volume / multiple products

Frequently asked questions

Is the data real, or a sample?

Real and complete — not fabricated seed data. The healthcare facility directory is the entire active national base, the drug registry has the full official list, the tariff code table has every code currently in force, CID-10 is the complete Brazilian table, and the economic series come from the Central Bank of Brazil. Sources for each domain are documented in the API reference.

How does the data stay current?

An automated pipeline re-imports every external data source monthly, directly from official government channels. If a source changes format, the import fails safely and keeps serving the last good data — it never takes the API down.

Can I trust the procedure code crosswalk?

Where an official regulator mapping exists, the response is explicitly marked is_official_crosswalk: true. For codes without an official mapping, the API returns a text-similarity suggestion — always labeled as such, never disguised as official.

How is the risk score calculated? Is it a credit model?

The score is fully transparent and auditable: it starts at 50 and applies objective factors from the official Receita Federal data — status (ATIVA +20, BAIXADA −40, INAPTA −25), age (≥20y +15, ≥10y +10, ≥3y +5, young −5), size (large +10, small +5) and capital (≥R$1M +10, ≥R$100K +5). Each response lists the exact factors applied (fatores[]) and the full methodology (metodologia). It is a screening tool, not a credit model — it does not predict default and does not consider debt, liens or lawsuits. Combine with a bureau for final credit decisions.

Do I need a separate key per API?

No. One X-API-Key unlocks all 10 endpoints — CNPJ, Tax, NF-e, Medications, Procedure crosswalk, Facility directory, Payroll, ICMS/CEST, CID-10, Indices, FX and CNPJ.

How do I get a key?

Reach out with your estimated usage and which domain interests you most — we'll set you up with a Basic-tier test key so you can validate it before committing to a plan.

Ready to stop maintaining this by hand?

Get a test key, run the examples above against your own data, and see if it fits.

Explore the documentation