Nic Get Hierarchy
nic_get_hierarchyCorporate ownership hierarchy for a bank or holding company, sourced from the Federal Reserve NIC (ffiec.gov/npw) Relationships data — "which holding company owns this bank?" / "list the subsidiaries of this BHC". direction="up" (default) walks the ownership chain to its top holder(s) — for a bank subsidiary this typically resolves to a single ultimate parent (e.g. a bank holding company). direction="down" lists entities OWNED BY the given RSSD ID; pass rssd_id of the TOP-TIER parent (found via direction="up") to get the full corporate family. total_subsidiary_count is a DISTINCT count computed in SQL (deduped by RSSD ID across multiple ownership paths to the same subsidiary) — it is always the true total, independent of limit/offset; use offset to page beyond the first limit rows. Coverage note: this is our own computed closure over NIC's public Relationships file, not necessarily identical to NIC's own web UI tiering figure — see pack README.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | For direction="down": max subsidiary rows to return, 1-200, default 50 (total_subsidiary_count is always the true distinct total, not the page size) | |
| offset | No | For direction="down": pagination offset into total_subsidiary_count, default 0 | |
| rssd_id | Yes | NIC RSSD ID to start from | |
| direction | No | "up" (ancestors/owners, default) or "down" (subsidiaries/descendants) |