Brazil Company Data — CNPJ, Partners (QSA) & CNAE Activity avatar

Brazil Company Data — CNPJ, Partners (QSA) & CNAE Activity

Pricing

$4.00 / 1,000 company records

Go to Apify Store
Brazil Company Data — CNPJ, Partners (QSA) & CNAE Activity

Brazil Company Data — CNPJ, Partners (QSA) & CNAE Activity

Official Brazilian company data by CNPJ: legal and trade name, CNAE activity, legal nature, share capital, status, partners (QSA) and registered address.

Pricing

$4.00 / 1,000 company records

Rating

0.0

(0)

Developer

Berkan Kaplan

Berkan Kaplan

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

5 days ago

Last modified

Categories

Share

Brazil Company Data — CNPJ (Receita Federal) 🇧🇷

foXLabs Americas company-registry series: Mexico · Canada · Colombia · Peru

🎉 Turn the Brazilian CNPJ registry into clean, structured company data — no login, no API key, one row per CNPJ, with legal form, CNAE industry, share capital, the partners (QSA) and Simples Nacional status. Built for B2B sales, lead generation, KYB / compliance and market-research teams.

🔍 What is the Brazil Company Data — and when should you use it?

Give this actor CNPJ numbers (with or without punctuation) and it returns matching companies from the Brazilian CNPJ registry (Receita Federal, via BrasilAPI) — as clean, deduplicated rows you can filter, export or feed to an AI agent. Every run queries the source live, so the data is as fresh as the registry itself.

Use it when you need: a Brazil company list for outreach; formation / status monitoring; or a canonical registry record for KYB and due diligence.

Use something else when: you need firmographics the registry doesn’t hold (revenue, headcount, website, email) — pair this with an enrichment actor from Fox Labs.

🤖 Use with AI agents

Already on the Apify MCP server? Ask for this Actor by name: foxlabs/brazil-company-data.

Your agent can pay for its own runs. This Actor is pay-per-event with agentic payments, so an agent can discover it, run it and settle the bill over x402 (USDC on Base) or Skyfire — no Apify account or API token of its own. Billing is the same either way: per delivered record, never for errors.

Otherwise paste this into Claude, ChatGPT, Cursor or any MCP-enabled assistant:

I want to pull Brazil company records using the Apify Actor `foxlabs/brazil-company-data`.
Input: `queries` is a list of CNPJ numbers (with or without punctuation). `maxResultsPerQuery` caps rows per query.
Start with: {"queries":["19131243000197","00000000000191"],"maxResultsPerQuery":50}
Ask me what to look up, run the Actor, then summarise the rows as a table.

The machine-readable API, MCP config and OpenAPI definition live at apify.com/foxlabs/brazil-company-data.md.

📋 Overview

Everything you need to turn the Brazilian CNPJ registry (Receita Federal, via BrasilAPI) into clean, structured data — in one actor, with no login, cookies or API key.

Why teams pick this actor:

  • ✅ Whole registry, one call — name or ID in, matching companies out.
  • 🧹 No empty-promise columns — only fields this registry actually fills; degenerate columns are removed.
  • 🔗 Stable join key — registrationNumber ties rows across runs and to other Fox Labs actors.
  • 💰 Pay only for results — per-row pricing, empty/failed lookups never billed.
  • 🤖 Agent-ready — MCP + x402 agentic payments.

✨ Features

  • 🔍 Name or ID lookup — relevance-ranked name search or exact registry-ID lookup.
  • 🏢 Full entity profile — status, legal form, formation date, address and the registry’s own contact fields.
  • 🧹 Clean schema — deduplicated camelCase rows, ready for CSV/Excel/JSON.

🎬 Quick Start

curl -X POST "https://api.apify.com/v2/acts/foxlabs~brazil-company-data/runs?token=YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{"queries":["19131243000197","00000000000191"],"maxResultsPerQuery":50}'

🚀 Getting Started (3 steps)

  1. Choose your targets — CNPJ numbers (with or without punctuation).
  2. Set the cap — maxResultsPerQuery limits rows per query.
  3. Run and export — get a clean dataset as JSON, CSV or Excel.

📥 Input

{"queries":["19131243000197","00000000000191"],"maxResultsPerQuery":50}
FieldTypeDescription
queriesarrayCNPJ numbers (with or without punctuation).
maxResultsPerQueryintegerCaps rows per query.
maxConcurrencyintegerHow many queries to fetch at once.
includeRawbooleanAttach the source’s untouched record under raw.

📤 Output

One row per company, saved to the dataset. Every row also carries query, scrapedAt, and — when a lookup fails — an error explaining why (never silently dropped, never billed).

FieldDescription
countryCountry
registryRegistry
companyNameCompany / entity name
registrationNumberRegistry ID — the join key
taxNumberTax identifier
statusactive / inactive / dissolved
statusRawStatus exactly as the registry words it
legalFormLegal form / entity type
incorporatedOnFormation / registration date (ISO)
dissolvedOnDissolution date where applicable (ISO)
addressPrincipal address
cityCity
postalCodePostal code
countryNameCountry
industryPrimary industry (NACE)
industryCodePrimary industry code (NACE)
capitalRegistered share capital
emailEmail
phonePhone
officersOfficers
sourceUrlPublic registry URL for the record
tradeNameTrade Name
statusReasonStatus Reason
statusChangedOnLast status-change date (ISO)
legalFormCodeLegal-form code
stateState / province
secondaryIndustriesSecondary Industries
companySizeCompany Size
isHeadquartersIs Headquarters
simplesNacionalSimples Nacional
meiMei

💼 Use cases

1. Brazil firmographic enrichment — attach industry, capital, size and partners to a CNPJ. Input: CNPJ numbers. Output: the full CNPJ record. Use: enrich a CRM or lead list.

2. Ownership (QSA) — read the partners / administrators of a company. Input: CNPJ numbers. Output: officers (QSA). Use: map decision-makers.

3. KYB / due diligence — verify a Brazilian company by CNPJ. Input: the CNPJ. Output: the canonical Receita record. Use: confirm status, form and capital.

🔗 Integration

JavaScript / Node.js

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: 'YOUR_TOKEN' });
const run = await client.actor('foxlabs/brazil-company-data').call({"queries":["19131243000197","00000000000191"],"maxResultsPerQuery":50});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items[0]);

Python

from apify_client import ApifyClient
client = ApifyClient('YOUR_TOKEN')
run = client.actor('foxlabs/brazil-company-data').call(run_input={"queries":["19131243000197","00000000000191"],"maxResultsPerQuery":50})
for item in client.dataset(run['defaultDatasetId']).iterate_items():
print(item)

Automation (n8n / Zapier / Make): schedule or webhook → HTTP request to the actor API with your queries → handle the JSON dataset → push to a sheet, CRM or dashboard.

📊 Pricing

Pay-per-event: per delivered record. Empty or failed lookups are never billed. View current pricing.

❓ FAQ

Do I need an account, login or API key? No. This reads the Brazilian CNPJ registry (Receita Federal, via BrasilAPI).

What do I search by? CNPJ numbers (with or without punctuation).

How current is the data? Every run queries the source live, so results are as fresh as the registry.

Why are firmographics like revenue or website missing? A public business registry doesn’t hold them; we don’t ship empty columns. Pair with an enrichment actor from Fox Labs.

Can I export to CSV / Excel / JSON? Yes — directly from the Apify dataset.

🐛 Troubleshooting

  • Fewer rows than expected — raise maxResultsPerQuery, or refine the name.
  • A name returns an unexpected entity — it matched a similar registered name; search the exact registry ID.
  • No rows for a name — try the entity’s exact legal name or its registry ID.

This actor reads a public government business registry published as open data. Results can still contain personal data (e.g. a registered agent’s name); personal data is protected by the GDPR and similar laws, so only process it with a legitimate basis. See Apify’s blog post on the legality of web scraping.

🤝 Support & contact

Changelog

0.1 — 2026-09-07

  • Dropped empty-promise columns. Removed employees, website — Brazilian CNPJ registry (Receita Federal, via BrasilAPI) does not carry them, so they were shipped as always-null columns. Only fields this registry actually fills are now emitted.
  • README rebuilt to the full standard (What-is / when, AI-agents + x402 agentic payments + MCP, Overview, Features, Use cases, Integration, FAQ, Troubleshooting, Support & contact).

0.1.0

  • Initial release: company lookup from the Brazilian CNPJ registry (Receita Federal, via BrasilAPI) by name or registry ID.