All APIs

CNPJ.ws API

Business verification, 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 SearchBusiness verificationGET /v2/pesquisa
Inputs
nothing required; atividade_principal_id, atividade_secundaria_id, atividade_id, natureza_juridica_id, razao_social, nome_fantasia, pais_id, estado_id, cidade_id, cep, situacao_cadastral, data_situacao_cadastral_de, data_situacao_cadastral_ate, porte_id, socio_nome, socio_cpf_cnpj, data_inicio_atividade_de, data_inicio_atividade_ate, cursor, limite, limit
Authentication
Confirm the key, permissions and plan in the provider documentation.
Listed response fields
establishment CNPJstotal resultspage sizehas next pagehas previous pagequery cursorcurrent page cursornext page cursorprevious page cursorapplied filtersavailable filters
Provider reference
Consulting by CNPJ RootCompany enrichmentGET /cnpj-raiz/{cnpj-raiz}
Inputs
cnpj-raiz; page
Authentication
Confirm the key, permissions and plan in the provider documentation.
Listed response fields
establishment CNPJstotal establishments
Provider reference
Consulting CNPJ in the Commercial APICompany enrichmentGET /cnpj/{cnpj}
Inputs
cnpj
Authentication
Confirm the key, permissions and plan in the provider documentation.
Listed response fields
CNPJ rootlegal nameshare capitalresponsible federative entitylast updatedcompany sizelegal natureresponsible person qualificationpartner CPF or CNPJpartner namepartner typepartner entry datepartner age rangepartner countrypartner qualificationpartner last updatedlegal representative CPFlegal representative namelegal representative qualificationSimples Nacional statusSimples Nacional opt-in dateSimples Nacional exclusion dateMEI statusMEI opt-in date
Provider reference
Consulting CNPJ in the Public APICompany enrichmentGET /cnpj/{cnpj}
Inputs
cnpj
Authentication
none
Listed response fields
CNPJ rootlegal nameshare capitalresponsible federative entitylast updatedcompany sizelegal natureresponsible person qualificationpartner CPF or CNPJpartner namepartner typepartner entry datepartner age rangepartner countrypartner qualificationpartner last updatedlegal representative CPFlegal representative namelegal representative qualificationSimples Nacional statusSimples Nacional opt-in dateSimples Nacional exclusion dateMEI statusMEI opt-in date
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
AdvancedcontactSee pricingCompany enrichment
BasiccontactSee pricingCompany enrichment
Freefree$0.00Company enrichment
IntermediatecontactSee pricingCompany enrichment
PremiumcontactSee pricingBusiness verification, Company enrichment

Coding agent prompt

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

CNPJ.ws integration prompt
Build a server-side integration for CNPJ.ws.
Read the official provider documentation before choosing authentication, request fields or a plan:
https://docs.cnpj.ws/referencia-de-api/api-comercial/consultando-cnpj
https://docs.cnpj.ws/referencia-de-api/api-comercial/consultando-raiz-cnpj
https://docs.cnpj.ws/referencia-de-api/api-comercial/pesquisa-de-empresas

Catalog operations to verify against the current documentation:
- Company Search: GET /v2/pesquisa; inputs: nothing required; atividade_principal_id, atividade_secundaria_id, atividade_id, natureza_juridica_id, razao_social, nome_fantasia, pais_id, estado_id, cidade_id, cep, situacao_cadastral, data_situacao_cadastral_de, data_situacao_cadastral_ate, porte_id, socio_nome, socio_cpf_cnpj, data_inicio_atividade_de, data_inicio_atividade_ate, cursor, limite, limit
- Consulting by CNPJ Root: GET /cnpj-raiz/{cnpj-raiz}; inputs: cnpj-raiz; page
- Consulting CNPJ in the Commercial API: GET /cnpj/{cnpj}; inputs: cnpj
- Consulting CNPJ in the Public API: GET /cnpj/{cnpj}; inputs: cnpj

Read credentials from a server-only environment variable such as PROVIDER_CNPJ_WS_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 2, 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.