CNPJ Data API
Company discovery, Company enrichment. 4 documented operations.
API capabilities
2 tasks covered in the catalog.
Documented operations
Provider routes and credentials are separate from All Them APIs.
Company discoveryGET /api/companies
- Inputs
- nothing required; uf, codMunicipio, cidadeNome, cnae, porte, status, anoInicio, anoInicioMin, anoInicioMax, page, limit, export
- Authentication
- Confirm the key, permissions and plan in the provider documentation.
- Listed response fields
search IDcredits chargedcredits balanceCNPJlegal nametrade namelegal nature codelegal naturecompany size codecompany sizeregistration status coderegistration statusprimary CNAE codeprimary CNAEsecondary CNAE codesecondary CNAEmunicipality codemunicipalityheadquarters or branch codeheadquarters or branchstreetstreet numberaddress complementneighborhood
Individual lookupCompany enrichmentGET /api/companies/{cnpj}
- Inputs
- cnpj
- Authentication
- Confirm the key, permissions and plan in the provider documentation.
- Listed response fields
search IDcredits chargedcredits balanceCNPJlegal nametrade namelegal nature codelegal naturecompany size codecompany sizeregistration status coderegistration statusprimary CNAE codeprimary CNAEsecondary CNAE codesecondary CNAEmunicipality codemunicipalityheadquarters or branch codeheadquarters or branchstreetstreet numberaddress complementneighborhood
List lookupCompany enrichmentPOST /api/companies/list
- Inputs
- Content-Type header "application/json", cnpjs; page, limit, export
- Authentication
- Confirm the key, permissions and plan in the provider documentation.
- Listed response fields
search IDcredits chargedcredits balanceCNPJlegal nametrade namelegal nature codelegal naturecompany size codecompany sizeregistration status coderegistration statusprimary CNAE codeprimary CNAEsecondary CNAE codesecondary CNAEmunicipality codemunicipalityheadquarters or branch codeheadquarters or branchstreetstreet numberaddress complementneighborhood
Public lookupCompany enrichmentGET /api/public/companies/{cnpj}
- Inputs
- cnpj
- Authentication
- none
- Listed response fields
CNPJlegal nametrade nameregistration status coderegistration statusprimary CNAE codeprimary CNAEmunicipality codemunicipalitystatephone 1activity start datepartnerspartner namepartner CNPJ or CPFpartner entry datepartner qualificationpartner age range
Plans & pricing references
Listed fees retain the source billing period and currency. Check the provider for allowances, overages and current terms.
| Plan | Billing | Listed fee | Coverage |
|---|---|---|---|
| Business API | one-time | R$299.90 | Company enrichment, Company discovery |
| Growth API | one-time | R$169.90 | Company enrichment, Company discovery |
| Micro API | one-time | R$39.90 | Company enrichment, Company discovery |
| Public lookup | free | $0.00 | Company enrichment |
| Starter API | one-time | R$99.90 | Company enrichment, Company discovery |
Matching plan fees are grouped across operations. Included credits, metered rates and allowances can differ by operation; consult the official pricing reference.
Coding agent prompt
Prepare the adapter with the provider's documentation and your own account.
Build a server-side integration for CNPJ Data.
Read the official provider documentation before choosing authentication, request fields or a plan:
https://cnpjdata.com.br/en/api/docs
Catalog operations to verify against the current documentation:
- Company discovery: GET /api/companies; inputs: nothing required; uf, codMunicipio, cidadeNome, cnae, porte, status, anoInicio, anoInicioMin, anoInicioMax, page, limit, export
- Individual lookup: GET /api/companies/{cnpj}; inputs: cnpj
- List lookup: POST /api/companies/list; inputs: Content-Type header "application/json", cnpjs; page, limit, export
- Public lookup: GET /api/public/companies/{cnpj}; inputs: cnpj
Read credentials from a server-only environment variable such as PROVIDER_CNPJ_DATA_API_KEY; confirm the actual authentication scheme in the provider docs. Never expose credentials in browser code, URLs or logs.
Add bounded timeouts, explicit 401/403/429 handling, input validation and fixture-based tests. Preserve missing values and provider identifiers. Do not run paid or personal-data queries without approval. This is the provider's interface, not an All Them APIs execution endpoint.
If an endpoint, field, account permission or rate limit cannot be confirmed, list the missing requirement instead of inventing a working request. Return the adapter, tests and exact verification steps.Sources & integration checks
- Public source check
- Official source fetched · Nov 25, 2026
- Catalog source date
- Nov 23, 2026
- Authentication reference
- none
- Before using in production
- Verify coverage, accepted-result billing, rate limits, data freshness and permitted use for your workload.
Catalog data: Datacircle, CC BY 4.0. Provider sources and check dates are recorded separately. Catalog prices and operations are references, not an Agent Bench result.