Brazil Company Leads API by CNAE Industry Code

Build B2B prospect lists of active Brazilian companies by industry, state and company size, straight from the official Tax ID registry.

JSON CSV XLSX XML

No Apify account? Sign up for free.

How to integrate

curl -X POST "https://api.apify.com/v2/actors/brasildados~cnpj-lead-scraper-search/run-sync-get-dataset-items" \
  -H "Authorization: Bearer YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"cnaes":["6201501","6204000"],"uf":["SP"],"porte":[],"situacaoCadastral":"02","maxResults":500}'
Sample response (Brazilian registry field names)
{
  "cnpj": "12345678000195",
  "cnpjFormatado": "12.345.678/0001-95",
  "matriz": true,
  "consultadoEm": "2026-09-08T14:12:42.266Z",
  "razaoSocial": "ALFA DIGITAL SERVICOS LTDA",
  "nomeFantasia": "Alfa Digital",
  "naturezaJuridica": "2062",
  "naturezaJuridicaDescricao": "Sociedade Empresária Limitada",
  "capitalSocial": "50000.00",
  "capitalSocialNumerico": 50000,
  "porte": "03",
  "porteDescricao": "Empresa de Pequeno Porte",
  "enteFederativo": null,
  "situacaoCadastral": "02",
  "situacaoCadastralDescricao": "Ativa",
  "dataSituacaoCadastral": "2021-01-07",
  "dataInicioAtividade": "2021-01-07",
  "cnaePrincipal": {
    "codigo": "6204-0/00",
    "descricao": "Consultoria em tecnologia da informação"
  },
  "cnaesSecundarios": [
    {
      "codigo": "6190-6/01",
      "descricao": "Provedores de acesso às redes de comunicações"
    },
    {
      "codigo": "6202-3/00",
      "descricao": "Desenvolvimento e licenciamento de programas de computador customizáveis"
    }
  ],
  "logradouro": "Rua dos Engenheiros",
  "numero": "370",
  "complemento": "Anexo a e B",
  "bairro": "Loteamento dos Engenheiros",
  "cep": "69919053",
  "uf": "AC",
  "municipioCodigo": "1200401",
  "municipioNome": "Rio Branco",
  "pais": "76",
  "paisDescricao": "Brasil",
  "telefone1": "6800000000",
  "telefone2": null,
  "email": "[email protected]",
  "enderecoCompleto": "Rua dos Engenheiros, 370, Anexo a e B, Loteamento dos Engenheiros, Rio Branco/AC, CEP 69919-053",
  "idadeEmpresaAnos": 5,
  "idadeEmpresaDias": 2070,
  "tempoSituacaoAtualDias": 2070,
  "totalSocios": 2,
  "totalCnaesSecundarios": 8,
  "tempoMedioSociosDias": 2070,
  "socios": [
    {
      "nome": "ALFA PARTICIPACOES LTDA",
      "tipo": "1",
      "tipoDescricao": "Pessoa Jurídica",
      "documento": "98765432000110",
      "qualificacao": "22",
      "qualificacaoDescricao": "Sócio",
      "dataEntrada": "2021-01-07",
      "faixaEtariaDescricao": null
    },
    {
      "nome": "Jose Carlos de Oliveira",
      "tipo": "2",
      "tipoDescricao": "Pessoa Física",
      "documento": "***697402**",
      "qualificacao": "05",
      "qualificacaoDescricao": "Administrador",
      "dataEntrada": "2021-01-07",
      "faixaEtariaDescricao": "41-50"
    }
  ]
}

What the Brazil company leads API returns

  • Company Tax ID and registration status

  • Legal name and trade name

  • Main and secondary CNAE industry codes with descriptions

  • Full address with city and state

  • Business phone and email, when registered

  • Partners and shareholders (QSA), with individual IDs masked

  • Company size, share capital, opening date and company age

Brazil company leads API use cases

B2B prospect lists for a given industry and region of Brazil

Market sizing before entering the Brazilian market

Finding distributors, resellers and suppliers by segment

Seeding a CRM with companies to qualify later

Brazil company leads API FAQ

How can I get a list of companies in Brazil by industry?

Brazil classifies every company with a CNAE code, a 7-digit industry code from the official registry. Send one or more CNAE codes, optionally with states and company size, and the API returns the matching active companies with Tax ID, address and contact fields, up to 1,000 per run.

What is a CNAE code and how do I find the right one?

CNAE is the Brazilian equivalent of NAICS or SIC codes. The full list of 1,332 subclasses, with search and a copy button, is at brasildados.org/lista-cnaes/ (in Portuguese). For example, 6201501 is custom software development.

Is there an official database of Brazilian companies?

Yes. Brazil's Federal Revenue publishes the Tax ID registry as open data, covering tens of millions of establishments. The API queries that registry and returns it as structured JSON, so you do not need to download and parse the bulk files yourself.

Does the data include personal information about company partners?

Partner records come from the public registry, but tax IDs of individuals (CPF) are masked, in line with Brazil's data protection law (LGPD). Corporate partners keep their full Tax ID.

Can I filter Brazilian companies by state and size?

Yes. Pass one or more state codes (such as SP or RJ) in uf and size codes in porte (micro, small or other). You can also choose the registration status; the default returns only active companies.

More Brazilian data APIs

Brazil Company Lawsuits API: Litigation Check by Tax ID

Screen Brazilian companies for litigation by Tax ID: a risk summary by court, case type and status, or the individual cases behind it.

View details

Brazil Tax Debtors API: PGFN Federal Debt Check by Tax ID

Find out whether a Brazilian company owes federal debt and how much, before extending credit or signing a contract.

View details

Brazil Public Tenders API: Open Government Bids

Open federal, state and municipal tenders in Brazil, filtered by keyword, state and procurement method, with deadlines and estimated value.

View details