Lei Hierarchy Tree
lei_hierarchy_treeWalk the FULL corporate ownership hierarchy for an entity in one call: the ancestor chain from the entity up to its ultimate parent, plus a multi-level tree of subsidiaries below it (breadth-first over GLEIF Level 2 direct-child records, depth-limited, depth stated in the response). Accepts a 20-character LEI or a company NAME. Answers "everything this group ultimately controls" / "full subsidiary tree of Deutsche Bank" / "who is at the top of this entity's ownership chain" — use get_lei_relationships instead when one hop (direct parent + direct children) is enough.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lei | Yes | 20-character LEI code OR a company name (resolved automatically, match echoed back). | |
| depth | No | How many generations of subsidiaries to descend: 1-4, default 2. The ancestor chain upward is always walked to the top regardless. |