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/12723/corporate+ownership+graph+mapping+api/24623/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 information about a Brazilian company's registration, including its legal name, status, and a list of partners. For each partner, it provides their name, document type (CNPJ or masked CPF), qualification, and qualification code, allowing users to understand the ownership structure.
Key fields in the response include "cnpj," "legalName," "status," "partners" (an array of partner details), "traversal_depth," "_nodes_fetched," "_cache_hits," and "_source." These fields provide essential insights into the corporate ownership structure and data retrieval metrics.
The response is structured in JSON format. The main object contains company details, while the "partners" field is an array of objects, each representing a partner with attributes like name, document type, and qualification. This hierarchical structure allows for easy traversal of ownership relationships.
The API provides information on corporate ownership structures, including direct partners, their qualifications, and the ability to recursively explore up to three levels of ownership. It specifically focuses on Brazilian companies registered under CNPJ.
Data accuracy is maintained through sourcing from reliable public databases, specifically BrasilAPI and minhareceita.org, which are aligned with Receita Federal. The API employs a cache-first strategy with a 24-hour TTL to ensure users receive up-to-date information while minimizing load on upstream sources.
Typical use cases include KYC/KYB onboarding to verify corporate customers, conducting due diligence to identify ultimate beneficial owners, and fintech underwriting to assess exposure across corporate groups. The API's multi-hop traversal is particularly valuable for complex ownership structures.
Users can customize their requests by specifying the depth parameter in the endpoint (1 to 3), which determines how many levels of partners to retrieve. This allows for tailored queries based on the complexity of the ownership structure being analyzed.
Quality checks include a cycle-safe mechanism to prevent infinite loops in ownership structures and a node cap to limit the number of traversed nodes. Additionally, the API's reliance on established public data sources ensures a high level of data integrity and reliability.
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:
0ms
Service Level:
100%
Response Time:
1,701ms
Service Level:
100%
Response Time:
0ms
Service Level:
100%
Response Time:
0ms
Service Level:
100%
Response Time:
0ms
Service Level:
100%
Response Time:
948ms
Service Level:
100%
Response Time:
260ms
Service Level:
100%
Response Time:
0ms
Service Level:
100%
Response Time:
638ms
Service Level:
100%
Response Time:
0ms