One GET, every record on the company.
Registration, partners, tax regime, state registrations, SUFRAMA and coordinates in a single call to Lookup CNPJ, with the same data and the same allowance as the app. Keys are created in the app, under Settings > API keys, and CNPJ and CEP also answer keyless, as a courtesy.
- Source
- Official sources and Google Maps
- Freshness
- Maximum age from 5 minutes to 1 year
- Access
- With a key; CNPJ and CEP keyless too
- Billing
- Per resource delivered
- Establishment (live) 1
- Tax regime (cached) 1
- Live query 1
- Cached query 1
What you solve with CNPJá API
Official Brazilian company records, built into your systems.
-
Autofill sign-up forms
Check the CNPJ and fill in legal name, address and contacts on the form, or the address from the CEP. At low volume, keyless public access does the job, as a courtesy.
-
Vet suppliers
Check registration status, special status and partners before closing a deal or releasing a payment.
-
Get ready to issue invoices
Check the regime and state registration of the recipient with a short maximum age for the registrations alone, without shortening it for the rest of the answer.
-
Prospect with filters
Search establishments by activity, municipality, size or opening date, in pages of up to 1,000 records, and leave customers out with a list.
-
Map economic groups
Follow each partner by the stable id of the person and see which other companies they take part in.
-
Keep certificates on file
Issue in a single PDF the CNPJ card, the QSA, the Simples opt-in and the CCC and SUFRAMA registrations.
The dashboard you will have, and the way there
Requests, usage, availability and latency measured per key, on the Usage and Requests pages of the same app where keys are created. Coming from another API, a guide takes each parameter and field to its equivalent.
- Requests
- 381,186
- Peak of 17,765 on 11/19
- Queries consumed
- 637,095
- 81,039 live · 556,056 cached
- Availability
- 99.95%
- 175 with a server error
- p50 latency
- 136ms
- p50 136ms p95 557ms p99 1,664ms
An allowance that grows without changing plans
Every plan includes an allowance of live queries and another of cached queries, renewed every month and shared by your team in the app and all your keys. On Pro, you add up to 100 live and 1,000 cached packs to the allowance, and a monthly overage budget covers whatever goes past it.
See pricingComing from another API
Each guide takes the operations, parameters and fields of the source API to their CNPJá equivalent.
The /cnpj, /ccc and /simples lookups become one, with CCC and Simples requested in expand.
Read the guide · ReceitaWSFor your tools
First request From the API key to the first answer, in curl and JavaScript, with an optional resource and its usage. Public access Lookup CNPJ and Lookup CEP with no key, as a limited courtesy, for low-volume integrations. OpenAPI file openapi.json Import every operation into tools compatible with the format. Ask your AI assistant Take any page to Claude, ChatGPT, Gemini or Grok in one click and clear your doubts right there. The assistant reads the docs the way you would.Where each piece of data comes from, and when
Each resource comes from a live query at its source or from the cache, according to the maximum age you accept, from 5 minutes to 1 year, 45 days by default. Optional resources can have their own. Stale ones are queried in parallel and, if a source fails, the answer is 206, with the cached data and no charge for that resource.
- Receita Federal Live Cache
- Simples Nacional Live Cache
- CCC Live Cache
- SUFRAMA Live Cache
- Correios Cache
- Google Maps Live Cache
Who already uses CNPJá
Limits, no fine print
- Keyless access is a limited, revocable courtesy with no service level: only Lookup CNPJ and Lookup CEP, with no query parameter at all. A CNPJ not yet in the cache returns 404.
- With a key, the limit follows the organization's plan, across all its keys: 5 requests per second and 5 in flight on Free, 50 on Pro and up to 250 on Enterprise.
- Each request has up to 60 seconds, and each live query up to 30.
- Responses carry no cost or limit headers, nor Retry-After. Usage is shown on the Usage and Requests pages of the app.
- The maximum age applies to each request and schedules nothing: a resource is queried live only when a request finds it past the limit.
The same data, in your systems
Lookup CNPJ with two optional resources, tax regime and state registrations, each with its own update date.
Frequently asked questions
Do I need a key to use the API?
Not for Lookup CNPJ and Lookup CEP with no parameters: public access takes 5 requests per second and 5 in flight per IP, at no charge, as a limited, revocable courtesy with no service level, for low-volume or low-criticality integrations. Every other operation and every parameter needs a key, created in the app under Settings > API keys.
How is the API charged?
Per resource delivered, as live queries, which cost more, or cached ones, from the same monthly allowance your team uses in the app. On Pro, it grows with packs of 1,000 queries and a monthly overage budget. Public requests, list operations and 400, 401, 402, 429 and 5xx responses are not charged; a 404 takes the queries made to confirm it, under the Metering rules.
What does status 206 mean?
Partial success: a live query failed or took over 30 seconds, and the affected resource came from the cache, at no charge. Treat it as success and compare updatedAt with the age you accept.
Is there an OpenAPI specification?
Yes. The interactive reference holds every operation, parameter and field, and the OpenAPI file can be downloaded to import into compatible tools.
What are the request limits?
With a key, the limit is that of the plan the organization is on, across all its keys: 5 per second and 5 in flight on Free, 50 on Pro and up to 250 on Enterprise, as its contract sets. Without a key, public access takes 5 per second and 5 in flight per IP. Past the limit the answer is 429, not charged and with no Retry-After, so pace requests on the application side.
How do I migrate from another CNPJ API?
There are guides for ReceitaWS, SintegraWS, Infosimples, CNPJ.ws, BrasilAPI and OpenCNPJ, with the equivalent of every parameter, field and behavior.
Goes well with
Start on the free plan.
Create an account in a minute and look up any Brazilian company, in the app or through the API.