Endpoint
Authentication
| Header | Required | Value |
|---|---|---|
X-API-Key | Yes | Your API key (bun_...) |
Overview
Look up any registered Brazilian company by its CNPJ. Bunny returns the legal name, trade name, registration status, founding date, legal nature, primary activity, address, and capital: everything you need to verify a business partner or pre-fill B2B forms.Use cases
- KYC and onboarding verification for B2B platforms
- Pre-fill company registration forms
- Validate supplier and partner CNPJs
- Compliance and due diligence checks
Details
Pass the 14-digit CNPJ with or without formatting. Dots, slashes, and hyphens are stripped automatically. Inactive or suspended CNPJs are still returned with their status indicated.Path parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
cnpj | string | Yes | Brazilian company registration number (CNPJ), digits only (e.g. 11222333000181) |
Response
200 OK
| Field | Type | Description |
|---|---|---|
cnpj | string | The CNPJ that was looked up (digits only) |
name | string | Legal company name (razão social) |
trade_name | string | null | Trade/fantasy name |
status | string | Registration status (e.g. ATIVA, BAIXADA) |
status_date | string | Date the current status was set (ISO 8601) |
founded_at | string | Date operations began (ISO 8601) |
legal_nature | string | Legal nature description |
main_activity | string | Primary CNAE activity description |
address | object | Address details (see fields below) |
address.street | string | Street name |
address.number | string | Street number |
address.complement | string | null | Unit or complement |
address.neighborhood | string | Neighborhood |
address.city | string | City name |
address.state | string | State abbreviation (e.g. SP) |
address.zip | string | ZIP code |
email | string | null | Contact email on file |
phone | string | null | Contact phone (DDD + number) |
size | string | Company size category (e.g. PEQUENO PORTE) |
capital | number | Share capital in BRL |

