Reef AI: ask for any data. Try it
CNPJá API

Look up a Brazilian establishment by CNPJ

endpoint
1
credit per call
1

Yes.

/cnpja/v1

  • POST/cnpja/v1/company1 credit
1 active endpoint. Every call is 1 credit.Every parameter ↓OpenAPI 3.0 spec ↗

1 credit per call≈ $1/1,000 calls1,000 free credits, no card

Get a free API key
Try it live

Run 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

View docs ↗

AMBEV’s Manaus branch

1 credit1 required · 0 optional
POST/cnpja/v1/company
idle
// 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.

Try every endpoint in the playground

Endpoints

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 cr

    Look 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 it works

How the CNPJá API works

CNPJá is a normal ReefAPI surface — the same four rules that hold for every other engine on the key.

Authenticate01
x-api-key header

No OAuth app, no request signing, no per-site account. One key covers all 766 engines.

Call02
POST /cnpja/v1/…

Every route is a POST with a JSON body. Parameters are validated against the published schema before anything is charged.

Pay03
1 credit per call

Credits, not seats. Failed and blocked calls are never charged, and nothing is cached: every call reads the source live.

Read04
{ ok, data, meta, error }

One envelope everywhere. meta carries latency_ms, record_count and the endpoint that answered.

Recipe

Compare a branch with its headquarters

These AMBEV establishments have different CNPJs and office records under the same registered company name.

01company?cnpj=07526557011659
GET/cnpja/v1/company?cnpj=07526557011659

Read the Manaus office address and the branch flag in source.head.

02company?cnpj=07526557000100
GET/cnpja/v1/company?cnpj=07526557000100

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.

request
curl -X POST https://api.reefapi.com/cnpja/v1/company \
  -H "x-api-key: $REEF_KEY" \
  -H "content-type: application/json" \
  -d '{"cnpj":"33000167000101"}'
response envelope
{
  "ok": true,
  "data": { … },
  "meta": {
    "api": "cnpja",
    "endpoint": "company",
    "mode": "live",
    "latency_ms": …,
    "record_count": …
  },
  "error": null
}
Fields

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.

FieldSource fieldMeaning
registry_idtaxIdThe full CNPJ, including the establishment number and check digits
legal_namecompany.nameThe company’s registered name
namealias or company.nameThe office trade name where published, otherwise the registered name
foundedfoundedThe opening date of this establishment
phonephones[0].numberThe first published local subscriber number. Its area code is available separately in source.phones.
peoplecompany.membersNamed 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.

Coverage

Measured establishment coverage

The office lookup was checked on 23 November 2026.

Identity

All 22 registrations returned the requested full CNPJ and an identical source object in the measured responses.

Contacts

19 of 22 offices published a phone number and 15 published an email address in that sample.

Foreign offices

An overseas establishment retained its German city and the source’s empty Brazilian state and postal code.

Use cases

What people build with CNPJá

The jobs this data is most often used for.

01

Match a supplier registration to a specific branch

02

Distinguish an office trade name from its company’s legal name

03

Check the office opening date and registration status

04

Read a company’s principal and secondary CNAE activities

1

endpoints

1

credit per call

Pricing

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.

$0.67–$1.50 / 1,000 credits
Full pricing →
  • 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
no credit card1,000 free credits · instant API key · pay by card or crypto
Quickstart

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
curl -X POST https://api.reefapi.com/cnpja/v1/company \
  -H "x-api-key: $REEF_KEY" \
  -H "content-type: application/json" \
  -d '{"cnpj":"33000167000101"}'
python
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"])
FAQ

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.

Same key

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.

Contact

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.

0/4000

No account needed · we reply from [email protected]

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.