# Minha Receita Brazil CNPJ Company API

> Brazilian company records by CNPJ from Receita Federal open data: status, CNAE, address and partners

- Vendor: `minhareceitabrazilcnpjcompanya` · version 1.0 · category Business · tags cnpj api, brazil company api, receita federal api, cnpj lookup api, brazil business registry api, cnae api
- Datasource: custom HTTP routes
- Marketplace page: https://apiclay.com/api/minhareceitabrazilcnpjcompanya
- This document: https://apiclay.com/docs/minhareceitabrazilcnpjcompanya.md
- OpenAPI 3.1: https://apiclay.com/api/minhareceitabrazilcnpjcompanya/openapi.json
- MCP: connect https://api.apiclay.com/v1/mcp (see https://apiclay.com/llms.txt), then `apiclay_describe_api` with vendor `minhareceitabrazilcnpjcompanya`
- Updated: 2026-11-18

## About

## Minha Receita Brazil CNPJ Company API

Minha Receita, the open-source service that publishes Receita Federal's open CNPJ data: one Brazilian company or branch by its 14-digit CNPJ, with legal and trade name, registration status and date, legal nature, size, share capital, main and secondary CNAE activities with descriptions, full address with IBGE municipality code, phone numbers and email, Simples Nacional and MEI options, tax regime history and the partners (QSA) with role, age band and entry date.

Data comes from **minhareceita.org** (https://minhareceita.org). Every route calls the source's own public API and returns it unchanged.

Typical flow: `/company?cnpj=33683111000280` (digits only).

### Routes

#### GET `/company` - Company by CNPJ
| Param | In | Type | Required | Description |
|---|---|---|---|---|
| cnpj | path | string | yes | 14-digit CNPJ, digits only, e.g. `33683111000280`. |

Returns: `cnpj`, `razao_social`, `nome_fantasia`, `situacao_cadastral` and `descricao_situacao_cadastral`, `data_inicio_atividade`, `natureza_juridica`, `porte`, `capital_social`, `cnae_fiscal` and `cnae_fiscal_descricao`, `cnaes_secundarios`, address (`logradouro`, `numero`, `bairro`, `municipio`, `codigo_municipio_ibge`, `uf`, `cep`), `ddd_telefone_1`, `email`, `opcao_pelo_simples`, `opcao_pelo_mei`, `regime_tributario`, `qsa` (partners).

### Caveats

- Partners (QSA) are listed by name with role and age band and with masked CPFs, as Receita Federal publishes them; some companies give a person's email or phone.
- Follows Receita Federal's monthly open-data release, so recent changes can take a few weeks to show.
- Upstream responses can change over time. Verify fields before relying on them.
- Not affiliated with or endorsed by minhareceita.org.

## Pricing

- Pay as you go: 0.0012 credits/request
- Trial: 1 free requests per buyer
- Billing order: trial requests -> subscribed plan requests -> pay as you go. 1 credit's USD value is shown on the marketplace page.

## HTTP routes

Only the public, buyer-facing parts of each route are listed; vendor-side credentials stay on the gateway.

### GET /company — Company by CNPJ
- Gateway: `GET https://api.apiclay.com/v1/api/minhareceitabrazilcnpjcompanya/company`
- Public query params: `cnpj` (string, required)
- Upstream proxy: ApiClay proxy paid by the vendor (data cap 2 MB per call). Fetched through an ApiClay proxy paid by the vendor; a response larger than the route's data cap fails with 502 and is refunded in full.

## Call example

```bash
curl -X GET "https://api.apiclay.com/v1/api/minhareceitabrazilcnpjcompanya/company?cnpj=<cnpj>" \
  -H "token: <YOUR_APICLAY_TOKEN>"
```

Index of every published API: https://apiclay.com/llms.txt
