BrasilAPI — CNPJ
- Status
- Working
- API key
- Not needed
- Browser calls
- Runs in the browser
- Latency
- 198 ms
Build snapshot, not live. One verifier run on , from the machine that built this site. How we check
Example request
GEThttps://brasilapi.com.br/api/cnpj/v1/00000000000191
Sent from your browser straight to brasilapi.com.br. No proxy: this site never sees the request or the answer.
Copy the request
curl -s 'https://brasilapi.com.br/api/cnpj/v1/00000000000191'const res = await fetch("https://brasilapi.com.br/api/cnpj/v1/00000000000191");
if (!res.ok) throw new Error(`HTTP ${res.status}`);
const data = await res.json();
console.log(data);import requests
res = requests.get("https://brasilapi.com.br/api/cnpj/v1/00000000000191", timeout=10)
res.raise_for_status()
print(res.json())Response stored by the verifier
This is what brasilapi.com.br answered when the verifier sent the request above on : HTTP 200, application/json. Arrays are cut to two items and long strings are shortened. It comes from the build snapshot.
{
"uf": "DF",
"cep": "70040912",
"qsa": [
{
"pais": null,
"nome_socio": "ALAN CARLOS GUEDES DE OLIVEIRA",
"codigo_pais": null,
"faixa_etaria": "Entre 41 a 50 anos",
"cnpj_cpf_do_socio": "***550179**",
"qualificacao_socio": "Diretor",
"codigo_faixa_etaria": 5,
"data_entrada_sociedade": "2023-05-17",
"identificador_de_socio": 2,
"cpf_representante_legal": "***000000**",
"nome_representante_legal": "",
"codigo_qualificacao_socio": 10,
"qualificacao_representante_legal": "Não informada",
"codigo_qualificacao_representante_legal": 0
},
{
"pais": null,
"nome_socio": "ALBERTO MARTINHAGO VIEIRA",
"codigo_pais": null,
"faixa_etaria": "Entre 41 a 50 anos",
"cnpj_cpf_do_socio": "***842999**",
"qualificacao_socio": "Diretor",
"codigo_faixa_etaria": 5,
"data_entrada_sociedade": "2023-07-20",
"identificador_de_socio": 2,
"cpf_representante_legal": "***000000**",
"nome_representante_legal": "",
"codigo_qualificacao_socio": 10,
"qualificacao_representante_legal": "Não informada",
"codigo_qualificacao_representante_
…Availability
Up 1 of 1 day checked · 30-day window
What counts as up for this API: an answer within five seconds, a 2xx status, and the JSON body must contain the field "razao_social".
Last check: — passed, HTTP 200 in 198 ms.
The check runs from our infrastructure, not from where you are. If you need certainty, send the request yourself above. How the verifier works.
Used in these collections
Questions
Does the BrasilAPI — CNPJ need an API key?
No. The sample request on this page was answered without a key, token or account.
Can I call the BrasilAPI — CNPJ from the browser?
Yes. brasilapi.com.br answered our verifier with an Access-Control-Allow-Origin header on Oct 3, 2026, so a fetch call from a web page can read the response.
Is the BrasilAPI — CNPJ working?
At the check on Oct 3, 2026 it returned HTTP 200 with the expected data in 198 ms. The status at the top of this page shows the most recent result we have.
What is the BrasilAPI — CNPJ good for?
Company registration data for a Brazilian CNPJ number. It is part of our collection "Free APIs for Brazilian data": Company name, status and address from the federal registry.