{"api":{"id":"api_31530c35ffd10cec215a9642","slug":"brazil-cnpj-lookup","name":"Brazil CNPJ Company Lookup API","description":"Look up Brazilian companies by CNPJ number: legal and trade name, registration status, start date, main and secondary activity codes, legal form, size, share capital, address and Simples Nacional option.","kind":"ready_made","visibility":"public","domain":"brasilapi.com.br","source_url":"https://brasilapi.com.br/api/cnpj/v1/33000167000101","category":"public_data","record_type":"generic","active_version":"1.0","units_per_1k":2000,"health":"unknown","auto_repair":false,"last_checked_at":null,"last_run_at":null,"fields_count":16,"created_at":"2026-12-06T03:57:27.612Z","updated_at":"2026-12-06T03:57:27.612Z","runnable":true},"version":"1.0","contract_hash":"5f3221807645e0825aee09cea77cc49a679677fed1e886683ddf981f39ed0f94","fields":[{"name":"cnpj","type":"string","description":"The 14-digit CNPJ number.","required":true,"coverage":1,"example":"33000167000101"},{"name":"razao_social","type":"string","description":"Registered legal name of the company.","required":false,"coverage":1,"example":"PETROLEO BRASILEIRO S A PETROBRAS"},{"name":"nome_fantasia","type":"string","description":"Trade name, when the company has one.","required":false,"coverage":0.6,"example":"PETROBRAS - EDISE"},{"name":"situacao_cadastral","type":"string","description":"Registration status in words, such as ATIVA, BAIXADA or SUSPENSA.","required":false,"coverage":1,"example":"ATIVA"},{"name":"data_inicio_atividade","type":"date","description":"Day the company started its activity.","required":false,"coverage":1,"example":"1966-09-28"},{"name":"cnae_fiscal","type":"integer","description":"Code of the main economic activity (CNAE).","required":false,"coverage":1,"example":600001},{"name":"cnae_fiscal_descricao","type":"string","description":"Name of the main economic activity.","required":false,"coverage":1,"example":"Extração de petróleo e gás natural"},{"name":"cnaes_secundarios","type":"array","description":"Secondary activities as text, code and name.","required":false,"coverage":1,"example":["1921700 Fabricação de produtos do refino de petróleo","3520401 Produção de gás; processamento de gás natural"]},{"name":"natureza_juridica","type":"string","description":"Legal form of the company.","required":false,"coverage":1,"example":"Sociedade de Economia Mista"},{"name":"porte","type":"string","description":"Size class of the company, such as MICRO EMPRESA or DEMAIS.","required":false,"coverage":1,"example":"DEMAIS"},{"name":"capital_social","type":"number","description":"Registered share capital in Brazilian reais.","required":false,"coverage":1,"example":205431960000},{"name":"logradouro","type":"string","description":"Street of the registered business address.","required":false,"coverage":1,"example":"AVENIDA REPUBLICA DO CHILE"},{"name":"municipio","type":"string","description":"City of the registered address.","required":false,"coverage":1,"example":"RIO DE JANEIRO"},{"name":"uf","type":"string","description":"State code of the registered address.","required":false,"coverage":1,"example":"RJ"},{"name":"cep","type":"string","description":"Postal code of the registered address.","required":false,"coverage":1,"example":"20031170"},{"name":"opcao_pelo_simples","type":"boolean","description":"Whether the company is in the Simples Nacional tax regime.","required":false,"coverage":0.2,"example":false}],"inputs":[{"name":"cnpjs","type":"array","description":"CNPJ numbers (14 digits, dots, slash and dash are allowed and ignored)","example":["33000167000101"],"required":true}],"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":true,"properties":{"capital_social":{"description":"Registered share capital in Brazilian reais.","type":"number"},"cep":{"description":"Postal code of the registered address.","type":"string"},"cnae_fiscal":{"description":"Code of the main economic activity (CNAE).","type":"integer"},"cnae_fiscal_descricao":{"description":"Name of the main economic activity.","type":"string"},"cnaes_secundarios":{"description":"Secondary activities as text, code and name.","type":"array"},"cnpj":{"description":"The 14-digit CNPJ number.","type":"string"},"data_inicio_atividade":{"description":"Day the company started its activity.","format":"date","type":"string"},"logradouro":{"description":"Street of the registered business address.","type":"string"},"municipio":{"description":"City of the registered address.","type":"string"},"natureza_juridica":{"description":"Legal form of the company.","type":"string"},"nome_fantasia":{"description":"Trade name, when the company has one.","type":"string"},"opcao_pelo_simples":{"description":"Whether the company is in the Simples Nacional tax regime.","type":"boolean"},"porte":{"description":"Size class of the company, such as MICRO EMPRESA or DEMAIS.","type":"string"},"razao_social":{"description":"Registered legal name of the company.","type":"string"},"situacao_cadastral":{"description":"Registration status in words, such as ATIVA, BAIXADA or SUSPENSA.","type":"string"},"uf":{"description":"State code of the registered address.","type":"string"}},"required":["cnpj"],"title":"Brazil CNPJ Company Lookup API","type":"object"},"samples":[{"cnpj":"33000167000101","razao_social":"PETROLEO BRASILEIRO S A PETROBRAS","nome_fantasia":"PETROBRAS - EDISE","situacao_cadastral":"ATIVA","data_inicio_atividade":"1966-09-28","cnae_fiscal":600001,"cnae_fiscal_descricao":"Extração de petróleo e gás natural","cnaes_secundarios":["1921700 Fabricação de produtos do refino de petróleo","3520401 Produção de gás; processamento de gás natural","3520402 Distribuição de combustíveis gasosos por redes urbanas","4681801 Comércio atacadista de álcool carburante, biodiesel, gasolina e demais derivados de petróleo, exceto lubrificantes, não realizado por transportador re"],"natureza_juridica":"Sociedade de Economia Mista","porte":"DEMAIS","capital_social":205431960000,"logradouro":"AVENIDA REPUBLICA DO CHILE","municipio":"RIO DE JANEIRO","uf":"RJ","cep":"20031170","opcao_pelo_simples":null},{"cnpj":"00000000000191","razao_social":"BANCO DO BRASIL SA","nome_fantasia":"DIRECAO GERAL","situacao_cadastral":"ATIVA","data_inicio_atividade":"1966-08-01","cnae_fiscal":6422100,"cnae_fiscal_descricao":"Bancos múltiplos, com carteira comercial","cnaes_secundarios":["6499999 Outras atividades de serviços financeiros não especificadas anteriormente"],"natureza_juridica":"Sociedade de Economia Mista","porte":"DEMAIS","capital_social":120000000000,"logradouro":"QUADRA SAUN QUADRA 5 BLOCO B TORRE I, II, III","municipio":"BRASILIA","uf":"DF","cep":"70040912","opcao_pelo_simples":false},{"cnpj":"33592510000154","razao_social":"VALE S.A.","nome_fantasia":null,"situacao_cadastral":"ATIVA","data_inicio_atividade":"1969-02-11","cnae_fiscal":710301,"cnae_fiscal_descricao":"Extração de minério de ferro","cnaes_secundarios":["990401 Atividades de apoio à extração de minério de ferro","8211300 Serviços combinados de escritório e apoio administrativo"],"natureza_juridica":"Sociedade Anônima Aberta","porte":"DEMAIS","capital_social":77800000000,"logradouro":"PRAIA BOTAFOGO","municipio":"RIO DE JANEIRO","uf":"RJ","cep":"22250145","opcao_pelo_simples":null}],"validation":{"checked_at":"2026-12-06T03:57:27.599Z","field_coverage":{"capital_social":1,"cep":1,"cnae_fiscal":1,"cnae_fiscal_descricao":1,"cnaes_secundarios":1,"cnpj":1,"data_inicio_atividade":1,"logradouro":1,"municipio":1,"natureza_juridica":1,"nome_fantasia":0.67,"opcao_pelo_simples":0.33,"porte":1,"razao_social":1,"situacao_cadastral":1,"uf":1},"fresh_read":false,"identity_unique":true,"issues":["Imported from a hand-built source. Field names and types come from its published schema; no live read was made for this check."],"level":"preview","pages_checked":0,"passed":true,"records_checked":3},"changelog":[{"version":"1.0","change_kind":"initial","note":"Imported from the ready-made source catalog.","created_at":"2026-12-06T03:57:27.612Z","activated_at":"2026-12-06T03:57:27.612Z","active":true,"contract_hash":"5f3221807645e0825aee09cea77cc49a679677fed1e886683ddf981f39ed0f94","fields_count":16}]}