Brazil CNPJ Company Lookup - Receita Federal
Pricing
$2.00 / 1,000 successful watchlist results
Brazil CNPJ Company Lookup - Receita Federal
Look up Brazilian companies you already have a CNPJ for. Public RFB company record: legal name, CNAE, status, address, officer names. No CPF values. No key.
Pricing
$2.00 / 1,000 successful watchlist results
Rating
0.0
(0)
Developer
Technical Dost Solutions
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
18 days ago
Last modified
Categories
Security
Limited permissionsShare
Brazil CNPJ company lookup. Look up Brazilian companies you already have a CNPJ for. Public RFB company record: legal name, CNAE, status, address, officer names. No CPF values. No key.
This Actor is a scheduled watchlist, not a one-shot dump. You bring identifiers you already have. It returns structured current fields, a change type against your previous snapshot, and a NEXT_SNAPSHOT you own.
Why pay
GET https://minhareceita.org/{cnpj} (public RFB CNPJ dataset, JSON, no API key) is free. The paid job is bounded, scheduled, charge-after-success monitoring with isolated snapshots, honest nulls, and no fee for failed lookups or suppressed unchanged rows.
- charges per successful watchlist item, with no Actor-start fee
- does not bill source errors or
onlyChangesunchanged rows - does not invent scores, contacts, or matches beyond what the source returned
Not a CNAE lead dump. Not a lawsuit search. Officer CPF/tax ids are omitted even when the source masks them.
What you get
{"schemaVersion": 1,"id": "00000000000191","status": "ok","cnpj": "00000000000191","legalName": "BANCO DO BRASIL SA","registrationStatus": "ATIVA","cnaeCode": "6422100","state": "DF","changeType": "INITIAL","error": null}
Public example identifiers, not a customer or endorsement. Missing source strings are null — never "N/A".
Quick start
{"cnpjs": ["00000000000191"],"maxItems": 1}
Run it, open the dataset, and save NEXT_SNAPSHOT from the default key-value store.
Repeat workflow
- Keep one watchlist per customer or project.
- Start a bounded run. Schedule it yourself if you need a cadence.
- Save the returned
NEXT_SNAPSHOTJSON in your private state. - On the next run pass it as
previousSnapshotand setonlyChanges: true. - Route
changeType: CHANGEDrows for review.
No schedules are enabled by default. Snapshots use the run's default storage, never a shared named store.
Input
| Field | Type | Default | What it does |
|---|---|---|---|
cnpjs | array | — | 1–20 CNPJ numbers (14 digits). |
maxItems | integer | 20 | Must cover all unique items; a smaller value is rejected rather than silently dropping IDs. |
onlyChanges | boolean | false | Suppress unchanged successful records without charging them. The first observation is still emitted. |
previousSnapshot | object | — | Prior NEXT_SNAPSHOT with schemaVersion: 1, kind: "brazil-cnpj", and a records map. |
Pricing
| Event | Price | When it happens |
|---|---|---|
| Successful watchlist result | $0.002 ($2 / 1,000) | One successful watchlist item written to the dataset |
| Actor start | none | No custom start fee |
You are not charged for: failed requests, parse failures, invalid input, or unchanged records suppressed by onlyChanges. With onlyChanges: false, an unchanged successful refresh is delivered work and is charged. The run stops when eventChargeLimitReached is true.
Worked example. 20 CNPJs each weekday, onlyChanges: true, 2 status changes/week → about 8 × $0.002 = $0.016/month after the first full refresh.
Set maxTotalChargeUsd on the run. The Actor launches with a $1.00 minimum max-cost-per-run so a high-volume schedule cannot cap itself at the Console $0.05 default.
Using the API
Keep APIFY_TOKEN on a protected backend.
curl --fail -X POST "https://api.apify.com/v2/acts/technicaldost~brazil-cnpj-company-lookup/run-sync-get-dataset-items?token=$APIFY_TOKEN" \-H 'Content-Type: application/json' \-d '{"cnpjs":["00000000000191"],"maxItems":1}'
JavaScript
import { ApifyClient } from 'apify-client';const client = new ApifyClient({ token: process.env.APIFY_TOKEN });const run = await client.actor('technicaldost/brazil-cnpj-company-lookup').call({"cnpjs": ["00000000000191"],"maxItems": 1});const { items } = await client.dataset(run.defaultDatasetId).listItems();
n8n. HTTP Request → POST https://api.apify.com/v2/acts/technicaldost~brazil-cnpj-company-lookup/runs with header Authorization: Bearer {{$credentials.apifyToken}}. Poll the run, then read the default dataset and NEXT_SNAPSHOT.
Limitations
- Public metadata only. No authentication bypass and no non-public personal data.
- Output is only as current as the official source. Lag and outages are reported as errors, not invented rows.
- One request at a time, 20 seconds per request.
- At most 1,000 snapshot records are retained;
SUMMARY.snapshotPrunedreports eviction.
Not affiliated with or endorsed by Receita Federal or Minha Receita. Not a substitute for a certified certidão.
Changelog
See CHANGELOG.md. Release 1.0.0 (2026-09-14): caller-owned watchlists, isolated snapshots, $0.002 per successful result, no start fee.
Output example
Each result is one dataset item. A real item from a test run (long fields shortened):
{"schemaVersion": 1,"id": "00000000000191","status": "ok","cnpj": "00000000000191","legalName": "BANCO DO BRASIL SA","tradeName": "DIRECAO GERAL","registrationStatus": "ATIVA","statusDate": "2005-11-03","openedOn": "1966-08-01","legalNature": "Sociedade de Economia Mista","cnaeCode": "6422100","cnaeDescription": "Bancos múltiplos, com carteira comercial"}
Use Brazil CNPJ Company Lookup with AI agents (MCP)
Give Claude, ChatGPT, Cursor, VS Code or any MCP client this Actor as a tool through the hosted Apify MCP server. The agent sees the input fields with descriptions and example values, runs the Actor, and reads the results.
MCP server URL (this Actor only):
https://mcp.apify.com/?tools=technicaldost/brazil-cnpj-company-lookup
Claude Code:
$claude mcp add --transport http apify "https://mcp.apify.com/?tools=technicaldost/brazil-cnpj-company-lookup" --header "Authorization: Bearer YOUR_APIFY_TOKEN"
Cursor, VS Code, Claude Desktop and other clients (mcp.json or the client's MCP settings):
{"mcpServers": {"apify": {"url": "https://mcp.apify.com/?tools=technicaldost/brazil-cnpj-company-lookup","headers": { "Authorization": "Bearer YOUR_APIFY_TOKEN" }}}}
Clients that support sign-in (such as Claude.ai connectors) can use the URL without a token and log in to Apify instead. Get your token in Apify Console → Settings → API & Integrations, or generate a ready config for your client at mcp.apify.com. In the agent the tool is named technicaldost--brazil-cnpj-company-lookup; ask it, for example, to "run Brazil CNPJ Company Lookup with {"cnpjs": ["00000000000191"]}".
AI agents without an Apify account can also run and pay for this Actor per request with x402 agentic payments.
Run Brazil CNPJ Company Lookup via API
Run the Actor and get its results in one call (replace YOUR_APIFY_TOKEN):
curl -X POST "https://api.apify.com/v2/acts/technicaldost~brazil-cnpj-company-lookup/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \-H "Content-Type: application/json" \-d '{"cnpjs": ["00000000000191"]}'
Python (pip install apify-client):
from apify_client import ApifyClientclient = ApifyClient("YOUR_APIFY_TOKEN")run = client.actor("technicaldost/brazil-cnpj-company-lookup").call(run_input={"cnpjs": ["00000000000191"]})for item in client.dataset(run["defaultDatasetId"]).iterate_items():print(item)
JavaScript / TypeScript (npm install apify-client):
import { ApifyClient } from 'apify-client';const client = new ApifyClient({ token: 'YOUR_APIFY_TOKEN' });const run = await client.actor('technicaldost/brazil-cnpj-company-lookup').call({"cnpjs": ["00000000000191"]});const { items } = await client.dataset(run.defaultDatasetId).listItems();console.log(items);
Long runs: start them with POST /v2/acts/technicaldost~brazil-cnpj-company-lookup/runs and fetch the dataset when the run finishes, or receive a webhook.
Related Actors
- Career Page Job Scraper & Change Monitor — Scrape public career pages and ATS job boards, filter structured roles, and detect new or removed openings acr
- Company Tech-Stack & Domain Intelligence API — Domain to company tech stack, founded year, headcount, industry, funding, socials & logo. Open-data company en
- France SIRENE Company Lookup - SIREN SIRET — Look up French companies you already have a SIREN or SIRET for. Official recherche-entreprises.api.gouv.fr: le
- UK New Company Leads Monitor - Companies House — Every company registered at Companies House, delivered daily and filtered to your industry, region and keyword
FAQ
Can I use Brazil CNPJ Company Lookup with AI agents like Claude or ChatGPT?
Yes. Connect the Apify MCP server with ?tools=technicaldost/brazil-cnpj-company-lookup (see above) and the agent can run the Actor and read its results on its own.
Can I call Brazil CNPJ Company Lookup from my own code?
Yes. Use the REST API, or the official Python and JavaScript clients shown above. Results are available as JSON, CSV, Excel, XML or HTML.
How do I run it on a schedule?
Save your input as a task in Apify Console and add a schedule (for example, daily). Use webhooks or integrations to send each run's results onward.
Is it legal to use this Actor?
It works with publicly available data. Make sure your use complies with the source website's terms and with data protection laws such as GDPR, especially for personal data.
Something doesn't work or I need a feature. What should I do?
Open an issue in the Issues tab on this Actor's page with an example input, and we'll look into it.