All APIs

Serpro Consulta CNPJ API

Company enrichment. 3 documented operations.

API capabilities

1 tasks covered in the catalog.

Documented operations

Provider routes and credentials are separate from All Them APIs.

Consulta BásicaCompany enrichmentGET /basica/{ni}
Inputs
ni; x-signature, x-request-tag
Authentication
Confirm the key, permissions and plan in the provider documentation.
Listed response fields
CNPJhead office or branchlegal nametrade nameregistration statusregistration status dateregistration status reasonlegal nature codelegal natureactivity start datemain CNAEsecondary CNAEsstreet typestreetstreet numberaddress complementZIP codeneighborhoodmunicipality codemunicipalitystatecountry codecountryjurisdiction municipality code
Provider reference
Consulta EmpresaCompany enrichmentGET /empresa/{ni}
Inputs
ni; x-signature, x-request-tag
Authentication
Confirm the key, permissions and plan in the provider documentation.
Listed response fields
CNPJhead office or branchlegal nametrade nameregistration statusregistration status dateregistration status reasonlegal nature codelegal natureactivity start datemain CNAEsecondary CNAEsstreet typestreetstreet numberaddress complementZIP codeneighborhoodmunicipality codemunicipalitystatecountry codecountryjurisdiction municipality code
Provider reference
Consulta QSACompany enrichmentGET /qsa/{ni}
Inputs
ni; x-signature, x-request-tag
Authentication
Confirm the key, permissions and plan in the provider documentation.
Listed response fields
CNPJhead office or branchlegal nametrade nameregistration statusregistration status dateregistration status reasonlegal nature codelegal natureactivity start datemain CNAEsecondary CNAEsstreet typestreetstreet numberaddress complementZIP codeneighborhoodmunicipality codemunicipalitystatecountry codecountryjurisdiction municipality code
Provider reference

Plans & pricing references

Listed fees retain the source billing period and currency. Check the provider for allowances, overages and current terms.

Official pricing
Source-listed pricing plans
PlanBillingListed feeCoverage
Faixa 01 - 1 a 999on-demandR$0.00Company enrichment
Faixa 02 - 1.000 a 9.999on-demandR$564.34Company enrichment
Faixa 02 - 1.000 a 9.999on-demandR$742.06Company enrichment
Faixa 02 - 1.000 a 9.999on-demandR$1,013.79Company enrichment
Faixa 03 - 10.000 a 49.999on-demandR$3,556.64Company enrichment
Faixa 03 - 10.000 a 49.999on-demandR$5,962.40Company enrichment
Faixa 03 - 10.000 a 49.999on-demandR$8,264.17Company enrichment
Faixa 04 - 50.000 a 99.999on-demandR$13,079.74Company enrichment
Faixa 04 - 50.000 a 99.999on-demandR$25,109.50Company enrichment
Faixa 04 - 50.000 a 99.999on-demandR$35,049.30Company enrichment
Faixa 05 - 100.000 a 249.999on-demandR$17,789.82Company enrichment
Faixa 05 - 100.000 a 249.999on-demandR$39,759.60Company enrichment

Matching plan fees are grouped across operations. Included credits, metered rates and allowances can differ by operation; consult the official pricing reference.

Showing 12 of 46 listed plan/fee combinations. Use the official pricing reference for the full current offer.

Coding agent prompt

Prepare the adapter with the provider's documentation and your own account.

Serpro Consulta CNPJ integration prompt
Build a server-side integration for Serpro Consulta CNPJ.
Read the official provider documentation before choosing authentication, request fields or a plan:
https://apicenter.estaleiro.serpro.gov.br/documentacao/dist/index.html

Catalog operations to verify against the current documentation:
- Consulta Básica: GET /basica/{ni}; inputs: ni; x-signature, x-request-tag
- Consulta Empresa: GET /empresa/{ni}; inputs: ni; x-signature, x-request-tag
- Consulta QSA: GET /qsa/{ni}; inputs: ni; x-signature, x-request-tag

Read credentials from a server-only environment variable such as PROVIDER_SERPRO_CONSULTA_CNPJ_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 8, 2026
Authentication reference
See each operation and confirm the provider's current access requirements.
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.