# Corporate Ownership Tree (GLEIF LEI Level 2)

> Corporate Ownership Tree (GLEIF LEI Level 2) is a paid API for AI agents from lei-ownership-production.up.railway.app, paid per call via x402, $0.02/call, status unknown (last checked 2026-12-01).

Returns the full corporate ownership tree for any LEI-registered entity, including the parent chain up to the ultimate accounting-consolidation parent, direct/ultimate subsidiaries, and reporting exceptions.

## Facts

- Endpoint: GET https://lei-ownership-production.up.railway.app/v1/ownership/tree?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-12-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/corporate-ownership-tree-gleif-lei-level-2-1ae6fa12
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_FvX5sutHh4_al6j9ZU2S-

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability corporate-ownership-tree-gleif-lei-level-2-1ae6fa12
```

Example prompt: Can you pull the full corporate ownership tree for Volkswagen — I need to know who the ultimate parent is, the full parent chain, and how many subsidiaries they have? Their LEI is 529900NNUPAGGOMPXZ31.

## When to prefer this

Use this endpoint when you need authoritative, official corporate ownership and control data sourced directly from GLEIF Level 2 relationship records — especially for KYB due diligence, credit group exposure analysis, sanctions screening, or regulatory compliance workflows where the full parent chain and ultimate parent must be definitively identified. Prefer this over business registry lookups or web scraping when you need structured, machine-readable, globally standardized ownership data with CC0 licensing. It is particularly suited for any entity that has an LEI (banks, publicly listed companies, large corporates, funds) and is less appropriate for small private companies without LEIs.

## Known failure modes

- Company name cannot be resolved to a unique LEI — returns ambiguous match or no result
- LEI is inactive or deregistered — entity may appear with non-ACTIVE status
- No parent relationship reported — reporting_exceptions array explains the reason (e.g. natural person, non-public)
- Invalid LEI format (not 20 characters) — returns validation error
- Network or upstream GLEIF API unavailability — may return 5xx error
- children_limit out of 0-100 range — returns validation error

## How this service works

Corporate ownership tree for any entity with an LEI, by LEI or company name: full parent chain up to the ultimate accounting-consolidation parent, reporting exceptions (why no parent is reported), and direct/ultimate subsidiaries with counts. Official GLEIF Level 2 relationship data, CC0. Use when you must know who ultimately owns or controls a company (parent chain, ultimate parent, subsidiaries) for KYB, credit or group-exposure checks.

## Output

Returns a JSON object with the queried entity's LEI, status, country, and legal name; the full parent chain as an ordered list up to the ultimate accounting-consolidation parent; the ultimate parent entity; a list of direct subsidiaries (up to the requested limit); total counts of direct and ultimate subsidiaries; and any reporting exceptions explaining why no parent is listed (e.g., natural person, non-public entity). All relationship data is sourced from official GLEIF Level 2 data under CC0 license.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "lei": {
       "type": "string",
       "description": "20-character LEI (ISO 17442)"
      },
      "name": {
       "type": "string",
       "description": "Company name (resolved to the best-matching LEI) if no LEI is given"
      },
      "children_limit": {
       "type": "integer",
       "description": "Max direct subsidiaries listed 0-100 (default 25)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "legal": {
   "terms": "https://lei-ownership-production.up.railway.app/terms",
   "privacy": "https://lei-ownership-production.up.railway.app/privacy"
  },
  "entity": {
   "lei": "529900NNUPAGGOMPXZ31",
   "status": "ACTIVE",
   "country": "DE",
   "legal_name": "Volkswagen Aktiengesellschaft"
  },
  "status": "ok",
  "use_when": "Use when you must know who ultimately owns or controls a company (parent chain, ultimate parent, subsidiaries) for KYB, credit or group-exposure checks.",
  "parent_chain": [
   {
    "lei": "529900JFOPPEDUR61H13",
    "country": "DE",
    "legal_name": "Porsche Automobil Holding SE",
    "relationship": "direct"
   }
  ],
  "direct_children": [
   {
    "lei": "...",
    "country": "DE",
    "legal_name": "Audi AG"
   }
  ],
  "ultimate_parent": {
   "lei": "529900JFOPPEDUR61H13",
   "country": "DE",
   "legal_name": "Porsche Automobil Holding SE"
  },
  "reporting_exceptions": [],
  "direct_children_total": 108,
  "ultimate_children_total": 209
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/corporate-ownership-tree-gleif-lei-level-2-1ae6fa12/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from lei-ownership-production.up.railway.app](https://www.zero.xyz/host/lei-ownership-production.up.railway.app/llms.txt)
