# BrasilAPI Brazilian company by CNPJ

Brazilian company by 14-digit CNPJ from the Receita Federal open CNPJ dataset, registration. Needs cnpj.

Brazilian company by 14-digit CNPJ from the Receita Federal open CNPJ dataset, served by the BrasilAPI community project: legal and trade name, registration status, CNAE activities, size, capital, address, contact and partners (QSA).

- Tool ID: `brasilapi/cnpj`
- Provider: [BrasilAPI](/providers/brasilapi.md)
- Capability: [Company registries & KYB](/tools/b2b-data/company-registries.md)
- Price: no charge per call
- Authentication: an authorised Agentik workspace is required for execution, including zero-price tools.

## Pricing contract

No charge per call. A workspace is still needed so your agent can call it.


```json
{
  "model": "per_call",
  "amountUsd": 0
}
```

## Complete input schema


```json
{
  "type": "object",
  "properties": {
    "cnpj": {
      "type": "string",
      "pattern": "^[0-9]{14}$",
      "description": "14-digit CNPJ without punctuation, e.g. '33000167000101' (Petrobras)"
    }
  },
  "required": [
    "cnpj"
  ],
  "additionalProperties": false
}
```

## Published example

This is the provider tool’s published example. Replace example values with the user’s requested inputs, respecting the schema; do not execute an example merely to test a connection.


```json
{
  "tool_id": "brasilapi/cnpj",
  "input": {
    "cnpj": "33000167000101"
  }
}
```

## Execute and retrieve

Inspect again before execution, explain the price and obtain the required authority. Use MCP run_tool or POST /v1/run with this tool ID, valid input and an idempotency key. Save the returned run ID and follow the actual state. If Agentik answers that the tool is temporarily unavailable, do not retry it blindly; use discovery to propose an alternative.

A partial or uncertain result can still have consumed provider resources. Consult [billing](/docs/billing.md), [idempotency](/docs/idempotency.md) and [asynchronous results](/docs/async.md).

Licence: Receita Federal open CNPJ data (public), served by BrasilAPI (MIT-licensed community project, no published usage terms).

Attribution: Data from the Receita Federal do Brasil open CNPJ dataset via BrasilAPI.

[Provider documentation](https://brasilapi.com.br/docs#tag/CNPJ)

[REST inspection](https://api.agentik.cc/v1/tools/brasilapi/cnpj) · [OpenAPI](/openapi.json) · [Connection guide](/connect.md)

---

[HTML page](/providers/brasilapi/cnpj) · [Agent index](/llms.txt)
