Enrich any Brazilian CNPJ and walk the corporate-ownership graph: for every partner that is itself a company (PJ), recursively resolve its partners — up to 3 hops deep. Free CNPJ lookups stop at the first level; this resolves who owns whom. Built for KYC/KYB, due-diligence, credit analysis, and fraud-detection workflows.
The differentiator: OpenCNPJ, CNPJá, ReceitaWS, and Minha Receita all return a single-CNPJ lookup. The value-add here is multi-hop partner traversal — cycle-safe, node-capped, and cache-first — so you get the whole ownership tree in one call instead of writing your own recursive crawler. BR-specific moat: non-BR-aware competitors don't replicate Receita Federal QSA (quadro de sócios) traversal.
depth=1 (direct partners) through depth=3 (two hops of corporate ownership) via GET /v1/cnpj/enrich/{cnpj}?depth=N._nodes_fetched, _cache_hits, _truncated.{
"cnpj": "00000000000191",
"legalName": "BANCO DO BRASIL SA",
"tradeName": null,
"status": "ATIVA",
"partners": [
{ "name": "FULANO DE TAL", "document": "***000000**", "type": "PF",
"qualification": "Diretor", "qualificationCode": 10 }
],
"traversal_depth": 1,
"_nodes_fetched": 1,
"_cache_hits": 0,
"_truncated": false,
"_source": "brasil-api-cnpj"
}
At depth=2 or more, each PJ (company) partner gains a nested enriched subtree containing its partners — so a holding company resolves into the entities it owns, recursively, up to the requested depth.
{"cnpj":"00000000000191","legalName":"BANCO DO BRASIL SA","tradeName":"DIRECAO GERAL","status":"ATIVA","partners":[{"name":"ALAN CARLOS GUEDES DE OLIVEIRA","type":"PF","document":"***550179**","qualification":"Diretor","qualificationCode":10},{"name":"ALBERTO MARTINHAGO VIEIRA","type":"PF","document":"***842999**","qualification":"Diretor","qualificationCode":10},{"name":"ALEXANDRE BOCCHETTI NUNES","type":"PF","document":"***753277**","qualification":"Diretor","qualificationCode":10},{"name":"ANA CRISTINA ROSA GARCIA","type":"PF","document":"***443671**","qualification":"Diretor","qualificationCode":10},{"name":"ANELIZE LENZI RUAS DE ALMEIDA","type":"PF","document":"***195641**","qualification":"Conselheiro de Administração","qualificationCode":8},{"name":"ANTONIO CARLOS WAGNER CHIARELLO","type":"PF","document":"***263100**","qualification":"Diretor","qualificationCode":10},{"name":"CARLA NESI","type":"PF","document":"***295868**","qualification":"Diretor","qualificationCode":10},{"name":"CARLOS EDUARDO GUEDES PINTO","type":"PF","document":"***464088**","qualification":"Diretor","qualificationCode":10},{"name":"ELISA VIEIRA LEONEL","type":"PF","document":"***460676**","qualification":"Conselheiro de Administração","qualificationCode":8},{"name":"EULER ANTONIO LUZ MATHIAS","type":"PF","document":"***344088**","qualification":"Diretor","qualificationCode":10},{"name":"FABIO FRANCO BARBOSA FERNANDES","type":"PF","document":"***324698**","qualification":"Conselheiro de Administração","qualificationCode":8},{"name":"FELIPE GUIMARAES GEISSLER PRINCE","type":"PF","document":"***345856**","qualification":"Diretor","qualificationCode":10},{"name":"FERNANDO FLORENCIO CAMPOS","type":"PF","document":"***755588**","qualification":"Conselheiro de Administração","qualificationCode":8},{"name":"FRANCISCO AUGUSTO LASSALVIA","type":"PF","document":"***355918**","qualification":"Diretor","qualificationCode":10},{"name":"GILSON ALCEU BITTENCOURT","type":"PF","document":"***284509**","qualification":"Diretor","qualificationCode":10},{"name":"JOAO VAGNES DE MOURA SILVA","type":"PF","document":"***043411**","qualification":"Diretor","qualificationCode":10},{"name":"JOSE RICARDO SASSERON","type":"PF","document":"***404558**","qualification":"Diretor","qualificationCode":10},{"name":"JOSE SALVADOR CONSTANTINO ZARCOS FILHO","type":"PF","document":"***192438**","qualification":"Diretor","qualificationCode":10},{"name":"JULIO CESAR VEZZARO","type":"PF","document":"***058029**","qualification":"Diretor","qualificationCode":10},{"name":"KAMILLO TONONI OLIVEIRA SILVA","type":"PF","document":"***027514**","qualification":"Diretor","qualificationCode":10},{"name":"LARISSA DA SILVA NOVAIS VIEIRA","type":"PF","document":"***038787**","qualification":"Diretor","qualificationCode":10},{"name":"LUCIANO MATARAZZO REGNO","type":"PF","document":"***210718**","qualification":"Diretor","qualificationCode":10},{"name":"MARCELO HENRIQUE GOMES DA SILVA","type":"PF","document":"***263598**","qualification":"Diretor","qualificationCode":10},{"name":"MARCIO LUIZ DE ALBUQUERQUE OLIVEIRA","type":"PF","document":"***563227**","qualification":"Conselheiro de Administração","qualificationCode":8},{"name":"MARCO GEOVANNE TOBIAS DA SILVA","type":"PF","document":"***225791**","qualification":"Diretor","qualificationCode":10},{"name":"MARIANA PIRES DIAS","type":"PF","document":"***147908**","qualification":"Diretor","qualificationCode":10},{"name":"MARISA REGHINI FERREIRA MATTOS","type":"PF","document":"***301948**","qualification":"Diretor","qualificationCode":10},{"name":"NEUDSON PERES DE FREITAS","type":"PF","document":"***631536**","qualification":"Diretor","qualificationCode":10},{"name":"PAULA SAYAO CARVALHO ARAUJO","type":"PF","document":"***989951**","qualification":"Diretor","qualificationCode":10},{"name":"PEDRO BRAMONT","type":"PF","document":"***472469**","qualification":"Diretor","qualificationCode":10},{"name":"PEDRO HENRIQUE DUARTE OLIVEIRA","type":"PF","document":"***476143**","qualification":"Diretor","qualificationCode":10},{"name":"RAFAEL MACHADO GIOVANELLA","type":"PF","document":"***211719**","qualification":"Diretor","qualificationCode":10},{"name":"RODRIGO COSTA VASCONCELOS","type":"PF","document":"***561061**","qualification":"Diretor","qualificationCode":10},{"name":"RODRIGO MULINARI","type":"PF","document":"***599070**","qualification":"Diretor","qualificationCode":10},{"name":"ROSIANE BARBOSA LAVIOLA","type":"PF","document":"***181471**","qualification":"Diretor","qualificationCode":10},{"name":"SELMA CRISTINA ALVES SIQUEIRA","type":"PF","document":"***991626**","qualification":"Conselheiro de Administração","qualificationCode":8},{"name":"TARCIANA PAULA GOMES MEDEIROS","type":"PF","document":"***128734**","qualification":"Presidente","qualificationCode":16},{"name":"THIAGO AFFONSO BORSARI","type":"PF","document":"***759718**","qualification":"Diretor","qualificationCode":10},{"name":"VALMIR PEDRO ROSSI","type":"PF","document":"***266790**","qualification":"Conselheiro de Administração","qualificationCode":8}],"traversal_depth":1,"_source":"brasil-api-cnpj","_fetchedAt":"2026-06-02T02:58:53.261Z","_nodes_fetched":1,"_cache_hits":1,"_truncated":false}
curl --location --request GET 'https://zylalabs.com/api/12727/cnpj+credit+risk+analysis+and+enrichment+api/24627/enriquecer+cnpj+com+traversal+de+s%c3%b3cios?depth=1&cnpj=Required' --header 'Authorization: Bearer YOUR_API_KEY'
| Header | Description |
|---|---|
Authorization
|
[Required] Should be Bearer access_key. See "Your API Access Key" above when you are subscribed. |
No long-term commitment. Upgrade, downgrade, or cancel anytime. Free Trial includes up to 50 requests.
The API returns detailed registration data for Brazilian companies, including legal names, statuses, and a corporate-ownership graph. It also provides information about partners, including their names, document types, and qualifications.
Key fields include "cnpj" (company identifier), "legalName" (official name), "status" (operational status), "partners" (list of associated individuals or companies), and metadata fields like "_nodes_fetched" and "_cache_hits" for tracking data retrieval.
The response is structured in JSON format, with the main company details at the top level and an array of "partners" nested within. Each partner entry includes fields such as "name," "document," "type," and "qualification," allowing for easy parsing and analysis.
The endpoint provides information on a company's registration, its operational status, and a detailed ownership structure, including direct and indirect partners, which is crucial for KYC, due diligence, and credit assessments.
Data accuracy is ensured through sourcing from reliable public databases like BrasilAPI and minhareceita.org, which are aligned with Receita Federal standards. The API also employs a cache-first strategy to enhance response reliability.
Typical use cases include KYC/KYB onboarding to verify corporate ownership, conducting due diligence to identify ultimate beneficial owners, and fintech underwriting to assess exposure across corporate groups beyond a single entity.
Users can customize requests by specifying the "depth" parameter in the API call, allowing them to control how many levels of corporate ownership to traverse, from direct partners (depth=1) to up to three levels deep (depth=3).
Users can expect structured responses with consistent fields across different CNPJ lookups. For example, if a company has no partners, the "partners" array will be empty, while a company with multiple partners will show a detailed list, including their qualifications.
To obtain your API key, first sign in to your account and navigate to the API you want to use. From the API's Pricing section, choose a plan and complete the subscription process. Once subscribed, return to the API page and you will see your API Access Key displayed at the top of the documentation page. You can use this key to authenticate your requests.
You can’t switch APIs during the free trial. If you subscribe to a different API, your trial will end and the new subscription will start as a paid plan.
The free trial lasts for 7 days and allows you to make up to 50 API requests.
No, the free trial is available only once, so we recommend using it on the API that interests you the most. Most of our APIs offer a free trial, but some may not include this option.
Yes. If the API offers a free trial, you will see a "Free 7-Day Trial" option in its Pricing section. The trial lasts for 7 days and allows up to 50 API requests, enabling you to evaluate the API before subscribing to a paid plan.
Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.
You can monitor your API usage through the response headers included with every request:
x-zyla-api-calls-monthly-used: Shows the total number of API requests you have used during the current billing period.
x-zyla-api-calls-monthly-remaining: Shows the number of API requests you have remaining for the current billing period.
Yes, you can cancel your subscription at any time. Simply go to the Pricing section of the API you're subscribed to and click the "Unsubscribe" button.
Please note that upgrades, downgrades, and cancellations take effect immediately. Once your subscription is canceled, access to the service will end immediately, regardless of any remaining API calls in your quota.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund
Service Level:
100%
Response Time:
5,461ms
Service Level:
100%
Response Time:
0ms
Service Level:
100%
Response Time:
318ms
Service Level:
100%
Response Time:
0ms
Service Level:
100%
Response Time:
1,103ms
Service Level:
100%
Response Time:
0ms
Service Level:
100%
Response Time:
788ms
Service Level:
100%
Response Time:
0ms
Service Level:
100%
Response Time:
950ms
Service Level:
100%
Response Time:
0ms