Home › Funding, grants and compliance › Brazil CNPJ Lookup API

Brazil CNPJ Lookup API: Company, Partners, CNAE

How it works

Look up Brazilian companies by CNPJ list: legal name, status, CNAE activities, partners (QSA), address, phone, capital and tax regime from Receita Federal open data. No login.

Input options

FieldNameRequiredWhat it does
cnpjsCNPJ numbersnoBrazilian company IDs (CNPJ), one per line, with or without dots, slash and dash (33.000.167/0001-01 or 33000167000101). You can paste a whole column from a spreadsheet. Check...
maxItemsMax companiesnoStop after this many company records. You are charged per company record returned.
checkBranchesUpToAlso check branch numbers up tonoFor each CNPJ, also look up its branches (filiais) numbered 0001 to this number, using the company root. 0 = off. Branches that do not exist are skipped silently and never charged.
onlyActiveOnly active companiesnoReturn only companies whose registration status is ATIVA. Others are skipped and not charged.
statesOnly these states (UF)noTwo-letter state codes such as SP, RJ, MG. Companies elsewhere are skipped and not charged. Useful together with branch checks.
includePartnersInclude partners (QSA)noInclude the partner and administrator list with role, entry date and age range. Personal tax IDs are masked by the Receita Federal.
includeSecondaryActivitiesInclude secondary CNAE activitiesnoInclude the full list of secondary economic activities.
reportUnresolvedAdd a free row for CNPJs that could not be resolvednoAdds a row with lookupStatus not_found, invalid or error so you can reconcile your list. These rows are never charged.

Output fields

One row per result. These are the 56 fields declared in the actor's dataset schema (field list from the schema, not a sample run).

FieldTypeMeaning
recordTypestring
lookupStatusstring
cnpjstring
cnpjFormattedstring
cnpjRootstring
branchTypestring
legalNamestring
tradeNamestring
registrationStatusstring
registrationStatusCodeinteger
registrationStatusDatestring
registrationStatusReasonstring
specialStatusstring
specialStatusDatestring
openingDatestring
companyAgeYearsinteger
legalNatureCodeinteger
legalNaturestring
sizeCodeinteger
sizestring
shareCapitalBrlnumber
mainCnaeCodeinteger
mainCnaeDescriptionstring
secondaryCnaesarray
secondaryCnaeCountinteger
partnersarray
partnerCountinteger
streetTypestring
streetstring
numberstring
complementstring
districtstring
citystring
cityIbgeCodeinteger
statestring
zipCodestring
fullAddressstring
countrystring
phone1string
phone2string

Limits, stated plainly

Public data only, no login. Fields a source does not publish come back empty rather than guessed. Coverage and freshness follow the underlying public source.

Price

Pay on Apify, no subscription: $0.00084 per company record returned (pay per event). The live price is on the actor page.

Run it on Apify

Disclosure: we build and maintain this actor.

Related

More in funding, grants and compliance