CNPJ Lookup API
A complete API for querying Brazilian company registration data, with data from the Federal Revenue Service (Receita Federal), Simples Nacional, and company branding.Authentication
All requests require a token. Free tokens are available with usage limits. See Authentication for details.formato Parameter
The /cnpj/{cnpj} endpoint accepts a formato parameter that returns the response in formats compatible with other APIs:
| Value | Description |
|---|---|
default | Native format of this API (default) |
receitaws | Compatible with ReceitaWS |
cnpja | Compatible with CNPJa |
?formato=receitaws or ?formato=cnpja to maintain compatibility with existing code.
See Migrate from ReceitaWS and Migrate from CNPJa for complete guides.
Main Endpoints
CNPJ Lookup
Full registration data: company name, address, economic activities, registration status, partners, and more.
Logos & Websites
Logo, favicon, and websites associated with a CNPJ.
Simples Nacional
Simples Nacional tax regime status and MEI (Individual Micro-Entrepreneur) enrollment.
Cities
Aggregated data by municipality: largest companies, recent companies, and top partners.