Look up a Brazilian establishment by CNPJ
- endpoint
- 1
- credit per call
- 1
Yes.
/cnpja/v1
- POST/cnpja/v1/company1 credit
1 credit per call≈ $1/1,000 calls1,000 free credits, no card
Get a free API keyRun the call yourself, on the real endpoint
Change a parameter and press Try it. The response on the right is what your code will receive.
CNPJá API
1 of 1 endpoints, ready to run
AMBEV’s Manaus branch
// Press "Try it" and this pane shows exactly what the // live site returned this second — including an empty // result, if that is the truth. No key, no account.
What CNPJá endpoints does ReefAPI ship?
1 live read endpoint. Read-only data API: no writes, no account actions, no dashboard access on the target site.
company
1 crLook up one Brazilian establishment by its CNPJ.
- required
- cnpj
- optional
- —
Every parameter, every allowed value →
Missing a CNPJá endpoint, or need a source we don't have yet?Contact us real people · same-day reply.How the CNPJá API works
CNPJá is a normal ReefAPI surface — the same four rules that hold for every other engine on the key.
No OAuth app, no request signing, no per-site account. One key covers all 766 engines.
Every route is a POST with a JSON body. Parameters are validated against the published schema before anything is charged.
Credits, not seats. Failed and blocked calls are never charged, and nothing is cached: every call reads the source live.
One envelope everywhere. meta carries latency_ms, record_count and the endpoint that answered.
Compare a branch with its headquarters
These AMBEV establishments have different CNPJs and office records under the same registered company name.
Read the Manaus office address and the branch flag in source.head.
Read the head office and compare its registry_id, postal code and opening date with the branch.
Two AMBEV CNPJs, two office records: each call returns its own address, opening date and head-office flag (source.head) under the same registered company name.
curl -X POST https://api.reefapi.com/cnpja/v1/company \
-H "x-api-key: $REEF_KEY" \
-H "content-type: application/json" \
-d '{"cnpj":"33000167000101"}'{
"ok": true,
"data": { … },
"meta": {
"api": "cnpja",
"endpoint": "company",
"mode": "live",
"latency_ms": …,
"record_count": …
},
"error": null
}Which office does a CNPJ identify?
An establishment can have a different address, opening date and trade name from its company headquarters. These fields refer to one office.
| Field | Source field | Meaning |
|---|---|---|
| registry_id | taxId | The full CNPJ, including the establishment number and check digits |
| legal_name | company.name | The company’s registered name |
| name | alias or company.name | The office trade name where published, otherwise the registered name |
| founded | founded | The opening date of this establishment |
| phone | phones[0].number | The first published local subscriber number. Its area code is available separately in source.phones. |
| people | company.members | Named individuals and their legal representatives, each with their own published role where available |
source.head identifies a head office. source preserves the publisher’s nested objects, empty lists, null values and partially displayed identifiers.
Measured establishment coverage
The office lookup was checked on 23 November 2026.
All 22 registrations returned the requested full CNPJ and an identical source object in the measured responses.
19 of 22 offices published a phone number and 15 published an email address in that sample.
An overseas establishment retained its German city and the source’s empty Brazilian state and postal code.
What people build with CNPJá
The jobs this data is most often used for.
Match a supplier registration to a specific branch
Distinguish an office trade name from its company’s legal name
Check the office opening date and registration status
Read a company’s principal and secondary CNAE activities
endpoints
credit per call
What CNPJá data costs
The cheapest call here is 1 credit, so $15/mo (Pro) buys 10,000 of them — $1.50 per 1,000 credits. Credits roll over and never expire, and failed or blocked calls are not charged.
- 1,000 free credits on signup, no card
- One key, all 766 APIs, one credit pool
- Failed and blocked calls are never charged
- Credits roll over and never expire
Call it in two lines
Sign up, get 1,000 credits and one key that works on every engine. Then this is the whole protocol.
curl -X POST https://api.reefapi.com/cnpja/v1/company \
-H "x-api-key: $REEF_KEY" \
-H "content-type: application/json" \
-d '{"cnpj":"33000167000101"}'import os
import requests
REEF_KEY = os.environ["REEF_KEY"]
r = requests.post(
"https://api.reefapi.com/cnpja/v1/company",
headers={"x-api-key": REEF_KEY},
json={
"cnpj": "33000167000101"
},
timeout=90,
)
print(r.json()["data"])Have a question? We got answers.
The questions people actually ask before wiring up CNPJá.
How do I look up a Brazilian branch?▾
Pass the branch’s full CNPJ to company. The response includes the office address and the shared company registration. AMBEV’s Manaus branch is 07526557011659.
Can I look up a company by name?▾
This public CNPJá service takes a known CNPJ. The supplier documents advanced company search separately as a commercial feature.
How should I send a CNPJ with leading zeros?▾
Send a string and keep every leading zero. The action accepts the compact identifier or its standard printed punctuation and checks both final digits.
Which contact details are included?▾
emails contains the published email addresses. phones contains local subscriber numbers. Open source.phones for the area code and phone type associated with each number.
Where are corporate shareholders?▾
source.company.members includes the full member roster, including companies and representatives where published. people exposes the named individuals and their own roles.
Is there a registration status and date?▾
source.status carries the published status code and text. source.statusDate is its effective date. updated_at is the timestamp supplied by CNPJá for the office record.
Can I retrieve several establishments together?▾
Call company once per CNPJ. Serving multiple CNPJs requires separate office requests. When the service reports RATE_LIMITED, wait before trying again.
What is the CNPJá API?▾
CNPJá API is a ReefAPI endpoint group for look up a brazilian establishment, its registration, activities and published contacts by cnpj. It returns live JSON through POST requests under /cnpja/v1.
Is the CNPJá API free to try?▾
Yes. ReefAPI starts with 1,000 free credits, no card required. CNPJá calls use the same shared credit balance as every other ReefAPI engine.
Do I need a CNPJá login or account?▾
No login to CNPJá is needed for the API response. You call ReefAPI with your x-api-key header, and the playground can run live examples before you create a production key.
How fresh is the CNPJá data?▾
The page example is captured from a live company call, and production requests fetch live data through ReefAPI rather than a static sample.
How many credits does the CNPJá API use?▾
CNPJá actions currently cost 1 credit per successful call. Failed or blocked calls are free. All APIs draw from one credit pool.
Can I call CNPJá from an AI assistant or MCP client?▾
Yes. Connect ReefAPI once through MCP and your assistant can call cnpja actions with the same key, credit pool and JSON envelope used by normal REST requests.
Is the CNPJá API a CNPJá scraper?▾
It is the managed alternative to a DIY CNPJá scraper. Instead of building and maintaining your own scraper — proxies, headless browsers, captcha and constant breakage — you call one ReefAPI endpoint and get the same look up a brazilian establishment, its registration, activities and published contacts by cnpj back as clean JSON.
16 Finance & Data APIs on the same key
One key, one credit pool, one response envelope. If you are pulling CNPJá, you are one call away from the rest of the category — no second contract, no second integration.
Need something this API does not do?
Name the endpoint, the field, or a source we do not carry yet. We ship new APIs every week and you would be first to get the key. Real people read every message and reply the same day.
Try it on your own data before you pay anything
The call above is the real endpoint, not a recording. A free key gives you 1,000 credits, the other 765 APIs, and the same envelope everywhere.
Endpoints, parameters and credit costs on this page are read from the live catalog and cannot drift from what the API accepts. Field notes were captured on 2026-11-23.