Brazilian company by CNPJ

GET https://api.api.sh/cnpj/v1/company
1 credit / call government & registries try it in the playground →

A Brazilian company or branch from the Receita Federal CNPJ register: legal and trade name, head office or branch, registration status with date and reason, start of activity, main and secondary CNAE activities, legal nature, size, share capital, full address, business phones and e-mail as registered, Simples and MEI options, tax regime by year and the partners and administrators listed in the register (name, role, type, entry date).

Every response includes credits_used: the credits this call cost.

Parameters

nametypedescription
cnpjrequired string CNPJ, 14 digits (punctuation allowed). Example: 33000167000101

Every endpoint also takes fresh, raw, fields (see lean responses and caching).

Example

curl "https://api.api.sh/cnpj/v1/company?cnpj=33000167000101" \
  -H "x-api-key: $APISH_KEY"

Response

A JSON object with the fields described above, plus raw (the source's own data), cached, fetched_at and credits_used. Errors return {"success": false, "error": "…"} with the HTTP status (see errors). A lookup that ran but found nothing (404) costs the price above; refused calls and errors on our side are free (what's charged).

The fastest way to see the full response is the playground: it runs this endpoint with your account and shows the exact JSON.