lookup_lei
Look up a Legal Entity Identifier (LEI) via GLEIF — the global standard for entity identification. Returns legal name, registered address, status, parent + ultimate parent relationships, and child entities (subsidiaries). Also supports reverse lookup from a national company number to LEI across 15 countries (DK, NO, SE, FI, IE, UK, FR, DE, CZ, PL, LV, EE, NL, BE, LU). Tier note (reverse mode only): NL and DE use paid upstream registries — free-tier API keys receive HTTP 402 'upgrade_required'; do NOT retry on 402.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | National company ID. Required when mode='reverse'. | |
| lei | No | 20-character ISO 17442 Legal Entity Identifier. Required when mode='lei'. | |
| mode | Yes | 'lei' = look up by LEI directly. 'reverse' = look up LEI from national company number. | |
| country | No | ISO 3166-1 alpha-2 country code, lowercase. Required when mode='reverse'. | |
| include_relationships | No | If true, also fetch parent and child entities. Only applies when mode='lei'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lei | No | 20-character ISO 17442 identifier. | |
| status | No | ISSUED / LAPSED / RETIRED / etc. | |
| legal_name | No | ||
| registration | No | GLEIF registration metadata (initial date, last update, status). | |
| legal_address | No | ||
| relationships | No | Only present when include_relationships=true. | |
| headquarters_address | No |