# Compare shareholder structures of Japanese companies: top 10 holders, ownership by category and 5% filings via API

Pull the top 10 shareholders, the ownership-by-category table and 5% large shareholding reports of Japanese companies by API, and compare five peers in JavaScript. Explains trust-bank nominee names, group vs own ratios, and why the figures differ.

You can read the capital ties between suppliers, customers and competitors from three disclosures. Two come from the Japanese annual securities report (*yuho*): the major shareholders table (top 10 holders) and the ownership-by-category table (financial institutions, foreign entities, individuals and so on). The third is the large shareholding report, which anyone holding more than 5% of a listed company must file. ZENITH Code serves them as `/stable/major-shareholders`, `/stable/shareholder-categories` and `/stable/large-holders`, one call per company each.

This guide builds four things in Node.js:

- Holders that appear in the top 10 of at least two of the companies you compare, with trust-bank nominee names flagged
- Whether the companies you compare sit in each other's top 10
- Ownership by category side by side, with the two foreign categories merged
- Large shareholding reports collapsed to one line per report

The examples are Toyota Motor (7203), Denso (6902), Honda Motor (7267), Mazda Motor (7261) and Tein (7217). The major shareholders and category tables come from the annual reports for the fiscal year ended March 2026. Every figure is from API responses retrieved at 14:48 Japan time on October 31, 2026.

Holder names come back in Japanese, as filed. The guide adds English glosses where it helps.

## The three disclosures measure different things

Before comparing anything, note that the three sets of figures are not on the same scale. Mixing them is the usual reason the numbers "don't match".

| | Major shareholders | Ownership by category | Large shareholding reports |
|---|---|---|---|
| Endpoint | `major-shareholders` | `shareholder-categories` | `large-holders` |
| Source | Latest annual report | Latest annual report | Latest report of each holder |
| As of | Shareholder register at fiscal year-end | Shareholder register at fiscal year-end | Date the reporting obligation arose (`obligationDate`) |
| One row per | Registered name (account) | Shareholder category | Holder (filer or joint holder) |
| Shares | Shares (rounded to thousands in the filing) | Trading units (often 100 shares each) | Shares |
| Ratio denominator | Issued shares excluding treasury shares | Total of all categories | Issued shares plus the holder's potential shares |

All ratios are decimals from 0 to 1: the API returns 0.128, the tables here show 12.80%.

`large-holders` requires the Business plan; the other two are available on the Free plan (as of November 3, 2026). Each call costs 1 token, so five companies cost 15 tokens.

## Step 1: fetch the three endpoints, one company at a time

Create an API key after [signing up](https://zenithcode.net/en/sign-up) and send it in the `x-api-key` header. Node.js 18 and later ship `fetch`, so no packages are needed. Save the file as `ownership.mjs`.

```js
// ownership.mjs — line up major shareholders, ownership by category and 5% filings (Node.js 18+)
const BASE_URL = "https://api.zenithcode.net/stable";
const API_KEY = "YOUR_API_KEY";

async function get(path, params) {
  const url = `${BASE_URL}${path}?${new URLSearchParams(params)}`;
  const res = await fetch(url, { headers: { "x-api-key": API_KEY, Accept: "application/json" } });
  if (res.status === 404) return null; // the disclosure does not exist
  if (!res.ok) throw new Error(`${path} ${res.status}`);
  return res.json();
}

// One company: three calls in sequence, not in parallel
async function fetchOwnership(symbol) {
  const major = (await get("/major-shareholders", { symbol })) ?? [];
  const categories = (await get("/shareholder-categories", { symbol })) ?? [];
  const large = (await get("/large-holders", { symbol })) ?? [];
  return { symbol, major, categories: categories[0] ?? null, large };
}
```

`major-shareholders` and `large-holders` return one row per holder. `shareholder-categories` returns an array with one filing, whose `classes` holds one table per class of shares.

## Step 2: normalize names and find shared holders

The same holder is written differently from filing to filing: 日本生命保険（相） and 日本生命保険相互会社 are both Nippon Life Insurance, and there are full-width/half-width variants and account suffixes such as （信託口） (trust account) and （信託口４） (trust account 4). Build a comparison key first.

```js
// A comparison key: unifies （相）/相互会社 (mutual company), full/half width,
// and account suffixes such as （信託口）（信託口４）.
// Katakana and Latin spellings (ステートストリート vs STATE STREET) stay different.
function holderKey(name) {
  return String(name ?? "").normalize("NFKC")
    .replace(/\((?:信託口|投信口)[0-9]*\)/g, "")
    .replace(/株式会社|有限会社|合同会社|相互会社|\((?:株|有|相)\)/g, "")
    .replace(/[\s・,.、]/g, "")
    .toUpperCase();
}

// Trust banks and custodians: registered names, not the beneficial owners
const NOMINEE = /信託銀行|カストディ銀行|STATESTREET|ステートストリート|JPMORGANCHASE|ジェーピーモルガンチェース|BANKOFNEWYORK|バンクオブニューヨーク/;

// Names in the top 10 of two or more companies. Ratios have different denominators, so never add them
function sharedHolders(companies) {
  const map = new Map();
  for (const c of companies) {
    const seen = new Set();
    for (const r of c.major) {
      const key = holderKey(r.holderName);
      if (seen.has(key)) continue; // same name twice in one company (separate accounts): keep the higher rank
      seen.add(key);
      if (!map.has(key)) map.set(key, { key, name: r.holderName, nominee: NOMINEE.test(key), at: [] });
      map.get(key).at.push({ symbol: c.symbol, rank: r.rank, ratio: r.ratio });
    }
  }
  return [...map.values()].filter((h) => h.at.length >= 2).sort((a, b) => b.at.length - a.at.length);
}
```

Across the five companies, nine names appear in two or more top-10 lists.

| Holder (normalized) | Nominee | Toyota | Denso | Honda | Mazda | Tein |
|---|:---:|---|---|---|---|---|
| Custody Bank of Japan (日本カストディ銀行) | ✓ | #3 6.10% | #5 4.77% | #2 7.08% | #2 5.73% | #10 1.46% |
| The Master Trust Bank of Japan (日本マスタートラスト信託銀行) | ✓ | #1 12.80% | #2 13.04% | #1 17.50% | #1 17.67% | — |
| Nippon Life Insurance (日本生命保険) | | #4 4.86% | #6 3.21% | #6 1.50% | — | #6 3.39% |
| Toyota Industries (豊田自動織機) | | #2 9.15% | #3 5.85% | — | — | — |
| Toyota Fudosan (トヨタ不動産) | | #9 1.92% | #4 4.94% | — | — | — |
| Toyota Motor (トヨタ自動車) | | — | #1 22.24% | — | #3 5.06% | — |
| STATESTREETBANKANDTRUSTCOMPANY505001 | ✓ | — | #8 1.19% | — | #8 1.33% | — |
| Meiji Yasuda Life Insurance (明治安田生命保険) | | — | #10 1.06% | #4 3.55% | — | — |
| Nomura Trust and Banking, investment trust account (野村信託銀行（投信口）) | ✓ | — | — | #9 1.06% | #4 3.27% | — |

Each ratio is against that company's issued shares excluding treasury shares. The denominators differ, so a row total means nothing.

Honda lists Custody Bank of Japan twice: trust account at #2 (7.08%) and trust account 4 at #10 (0.97%). The table keeps the higher rank only and does not add the two.

### A trust account is a registered name, not the owner

The trust accounts (信託口) of The Master Trust Bank of Japan and Custody Bank of Japan hold shares entrusted by pension funds, asset managers and others, in the trust bank's name. The major shareholders table follows the shareholder register, so many beneficial owners collapse into one line. Overseas names such as STATE STREET BANK AND TRUST COMPANY are likewise custodians holding shares for clients.

To read capital ties, drop the rows where `nominee` is `true`. Removing the four nominee names above leaves five: Nippon Life, Toyota Industries, Toyota Fudosan, Toyota Motor and Meiji Yasuda Life. `NOMINEE` is a minimal list fitted to these five companies; extend it when you compare others.

## Step 3: find holdings between the companies you compare

Whether one company you compare sits in another's top 10 comes down to matching holder keys against company-name keys.

```js
// Holdings between the compared companies (top 10 only). names is { "7203": "トヨタ自動車", ... }
function peerHolders(companies, names) {
  const keys = Object.entries(names).map(([symbol, name]) => [symbol, holderKey(name)]);
  const out = [];
  for (const c of companies) {
    for (const r of c.major) {
      const hit = keys.find(([symbol, key]) => symbol !== c.symbol && holderKey(r.holderName) === key);
      if (hit) out.push({ holder: hit[0], issuer: c.symbol, rank: r.rank, ratio: r.ratio, shares: r.shares });
    }
  }
  return out;
}
```

Three holdings turn up among the five.

| Holder | Issuer | Rank | Ratio | Shares |
|---|---|---:|---:|---:|
| Denso | Toyota Motor | #7 | 3.45% | 449,576,000 |
| Toyota Motor | Denso | #1 | 22.24% | 598,927,000 |
| Toyota Motor | Mazda Motor | #3 | 5.06% | 31,928,000 |

Toyota and Denso each sit in the other's top 10. This list only covers the top 10, so holdings below rank 10 are invisible. For the full list of shares a company holds in its business partners, use the shareholdings section of the annual report (`/stable/cross-shareholdings`).

## Step 4: line up ownership by category

The ownership table gives the number of shareholders, trading units and ratio for each category: national and local governments, financial institutions, financial instruments business operators (securities firms), other corporations, foreign entities, and individuals and others. Foreign entities come as two rows, non-individuals and individuals, so merge them.

```js
// Ownership by category: pick the common-share table and merge the two foreign rows
function categoryMix(doc) {
  if (!doc) return null;
  const cls = doc.classes.find((c) => c.members.some((m) => m.includes("OrdinaryShare"))) ?? doc.classes[0];
  const out = {};
  for (const r of cls?.categories ?? []) {
    if (r.category === "total") continue;
    const key = r.category.startsWith("foreign") ? "foreign" : r.category;
    if (r.ratio === null) { out[key] ??= null; continue; } // a dash in the filing is not zero
    out[key] = (out[key] ?? 0) + r.ratio;
  }
  return out;
}
```

A company with class shares has separate tables for common and class shares in `classes`. For ownership comparison, take the common-share table, whose `members` include `OrdinaryShare`.

The five companies (fiscal year ended March 2026):

| Company | Financial institutions | Securities firms | Other corporations | Foreign entities | Individuals and others | Governments |
|---|---:|---:|---:|---:|---:|---:|
| Toyota Motor | 27.01% | 1.47% | 20.29% | 22.80% | 28.43% | 0.00% |
| Denso | 25.80% | 2.00% | 31.67% | 21.95% | 18.58% | 0.00% |
| Honda Motor | 28.45% | 3.35% | 7.51% | 31.83% | 28.86% | — |
| Mazda Motor | 32.48% | 3.66% | 10.75% | 36.60% | 16.51% | — |
| Tein | 4.80% | 0.70% | 37.30% | 4.60% | 52.50% | — |

Other corporations (mostly operating companies) hold more than 30% of Denso and Tein, while foreign entities hold more than 30% of Honda and Mazda. The table shows differences in composition; read it together with the top 10 to see which category the big holders fall into.

## Step 5: collapse large shareholding reports to one line per report

Anyone who comes to hold more than 5% of a listed company's shares files a large shareholding report (Japan's counterpart to Schedule 13D/13G). A change of 1 percentage point or more triggers a change report. Group companies holding together file one report as joint holders.

`large-holders` takes each holder's latest report and returns today's large holders, one row per person or entity. A joint report produces as many rows with the same `docId` as it has holders. `ratio` is the holder's own stake, and `groupRatio` the group total stated in the report. Collapsing each report to one line makes the list easier to read.

```js
// Large holdings: collapse one-row-per-holder into one row per report (docId)
function reports(large) {
  const byDoc = new Map();
  for (const r of large) {
    if (!byDoc.has(r.docId)) byDoc.set(r.docId, []);
    byDoc.get(r.docId).push(r);
  }
  return [...byDoc.values()].map((rows) => {
    rows.sort((a, b) => (b.ratio ?? 0) - (a.ratio ?? 0));
    const first = rows[0];
    return {
      docId: first.docId,
      source: first.source,
      kind: first.reportKind ?? null,
      obligationDate: first.obligationDate ?? null,
      submittedAt: first.submittedAt,
      lead: first.holderName,
      holders: rows.length,
      shares: rows.reduce((s, r) => s + (r.shares ?? 0), 0),
      ownRatioSum: rows.reduce((s, r) => s + (r.ratio ?? 0), 0),
      groupRatio: first.groupRatio ?? null, // total stated in the report; null when out of date
      superseded: rows.some((r) => r.groupSuperseded === true),
    };
  }).sort((a, b) => String(b.submittedAt).localeCompare(String(a.submittedAt)));
}
```

Use `groupRatio`, not the sum of own stakes (`ownRatioSum`), as the group's share. The notes section below explains why.

### Print everything

Finally, call the functions and print the results.

```js
const pct = (v) => (v === null || v === undefined ? "—" : `${(v * 100).toFixed(2)}%`);

const NAMES = { "7203": "トヨタ自動車", "6902": "デンソー", "7267": "本田技研工業", "7261": "マツダ", "7217": "テイン" };

// Object.keys sorts integer-like keys in ascending order, so keep the order in an array
const symbols = process.argv.length > 2 ? process.argv.slice(2) : ["7203", "6902", "7267", "7261", "7217"];
const companies = [];
for (const s of symbols) companies.push(await fetchOwnership(s));

console.log("## Names in the top 10 of two or more companies");
for (const h of sharedHolders(companies)) {
  const cells = h.at.map((a) => `${a.symbol} #${a.rank} ${pct(a.ratio)}`).join(" / ");
  console.log(`${h.nominee ? "[nominee] " : ""}${h.name}: ${cells}`);
}

console.log("\n## Holdings between the compared companies");
for (const p of peerHolders(companies, NAMES)) {
  console.log(`${p.holder} -> ${p.issuer}: #${p.rank} ${pct(p.ratio)} ${p.shares.toLocaleString("en-US")} shares`);
}

console.log("\n## Ownership by category (common shares)");
for (const c of companies) {
  const m = categoryMix(c.categories);
  console.log(c.symbol, m ? Object.entries(m).map(([k, v]) => `${k}=${pct(v)}`).join(" ") : "no ownership table");
}

console.log("\n## Large shareholding reports (one line per report)");
for (const c of companies) {
  const list = reports(c.large);
  if (!list.length) console.log(c.symbol, "no current large holders");
  for (const r of list) {
    console.log(c.symbol, r.docId, r.kind, r.obligationDate, r.lead, r.holders > 1 ? `+${r.holders - 1} joint` : "",
      r.superseded ? "group total out of date" : pct(r.groupRatio), `own sum ${pct(r.ownRatioSum)}`,
      `${r.shares.toLocaleString("en-US")} shares`);
  }
}
```

Run `node ownership.mjs` for the five companies, or pass codes such as `node ownership.mjs 7203 6902`. Update `NAMES`, the company names used for matching, to the companies you compare.

Here is the large-holdings part of the output for Toyota, Mazda and Tein:

```text
7203 no current large holders
7261 S100Z9JS change 2026-10-15 野村アセットマネジメント株式会社  6.51% own sum 6.51% 41,109,500 shares
7261 S100XTSO initial 2026-03-23 三菱ＵＦＪアセットマネジメント株式会社 +3 joint 5.06% own sum 5.06% 31,949,208 shares
7261 S100XIU3 change 2026-01-30 三井住友トラスト・アセットマネジメント株式会社 +2 joint 6.66% own sum 6.66% 42,063,252 shares
7261 S100VF76 change 2025-03-14 ブラックロック・ジャパン株式会社 +10 joint 6.17% own sum 6.17% 38,958,127 shares
7217 S100Z93C change 2026-10-26 株式会社イチノホールディングス +1 joint 51.37% own sum 51.37% 5,040,100 shares
```

All four Mazda reports come from asset-manager groups: Nomura Asset Management, Mitsubishi UFJ Asset Management, Sumitomo Mitsui Trust Asset Management and BlackRock Japan. Shares run by asset managers usually sit in the register under trust-bank names, so names missing from the top 10 show up in large shareholding reports. Read alongside the trust accounts in Step 2, this shows part of what is behind the nominee names.

Toyota has no current large holders. `large-holders` returns only each holder's latest report, so a holder whose latest report shows less than 5% drops out. Toyota Industries, for example, fell to 1.59% in a change report dated May 27, 2026, and is no longer listed. A holder can show 9.15% in the major shareholders table while the large-holdings list is empty.

## Why the major shareholders table and the 5% reports disagree

The same holder shows different figures in the two sources. Here is Tein.

| | Major shareholders (annual report) | Large shareholding report |
|---|---|---|
| Document ID | S100YIDI | S100Z93C |
| As of | End of March 2026 (fiscal year-end) | October 26, 2026 (obligation date) |
| Ichino Holdings (株式会社イチノホールディングス) | 3,664,000 shares, 37.34% | 3,664,000 shares, 37.34% |
| 市野 諮 (an individual) | 1,375,000 shares, 14.02% | 1,376,100 shares, 14.03% |
| Total of the two | No total row | 5,040,100 shares, 51.37% (joint) |

Three reasons:

- **Different dates.** The table reflects the register at fiscal year-end; the report reflects holdings on the obligation date.
- **Different precision.** The annual report states major holdings in thousands of shares, so the API's share count is rounded to thousands. The large shareholding report counts single shares.
- **Different denominators.** The table divides by issued shares excluding treasury shares; the report divides by issued shares plus the holder's potential shares (such as stock acquisition rights).

The two table rows add up to 51.36%, 0.01 point below the report's 51.37%, because of the differences and rounding above. Do not add or subtract figures across the two sources; read each as of its own date.

## Before you trust the numbers

Each endpoint has points that look like data errors if you do not know the definition. Here are the definitions and how to check them, so you read the numbers correctly.

### major-shareholders

- **Names are registered names.** Account qualifiers such as （信託口） stay in the name. Footnote marks attached to names (※1, (注)2 and so on) are moved to `notes`.
- **The same name can appear twice for one company.** These are separate accounts (different share counts, or a standing proxy), as filed. Whether to add them depends on your purpose.
- **"Top 10" can return 11 or more rows** when holders tie at rank 10.
- **The API does not merge spelling variants.** Katakana and Latin spellings (ステートストリート vs STATE STREET) and different account numbers stay separate names. `holderKey` does not bridge katakana and Latin either.
- **Ratios never add up to more than 1.** For these five companies the top-10 sum ranges from 0.41 to 0.81. The total row is off by default; add `includeTotal=true` to get it.
- **Issued shares back-calculated from shares and ratio can be off by 1 to 3%.** Shares are rounded to thousands and ratios to 0.01%.
- Companies that do not file an annual report return no rows.

### shareholder-categories

- **`units` counts trading units, not shares.** Multiply by the company's unit size to get shares. Holdings below one unit are not in the table.
- **The total row's `ratio` is null.** Category ratios add up to 1, though rounding in the filing can make it 0.999 (Tein is one such case).
- **Treasury shares are included in "individuals and others"**, as in the filing's table. The response has no treasury-share field, so use `/stable/treasury-shares` for that count. A company with a large treasury stake shows a bigger "individuals and others" share than its actual individual holders.
- **A dash in the filing is null**, not zero. That is why `categoryMix` keeps nulls.
- **Rows where a misplaced decimal in the filing was corrected carry `ratioNote`.** `ratioOfUnits` holds the ratio ZENITH Code computes from units, useful for cross-checking.

### large-holders

- **Only each holder's latest report counts.** A holder whose latest report is below 5% drops out. Report ratios have two decimals, so a latest report of exactly 5.00% stays. Reports filed by the issuer itself (treasury shares) are not listed.
- **Rows below 5% appear too.** They are holders with shares in a joint group whose total exceeds 5%. Use `groupRatio` for the size of the group.
- **`groupRatio` may not equal the sum of own stakes.** It is the total stated in the report, so potential shares in the denominator, holders missing from the total table, and deduction of overlapping shares between joint holders can make them differ. Use `groupRatio`, and check the total in the original when the gap is large.
- **Rows with `groupRatio` null and `groupSuperseded` true exist.** A joint holder has moved to a later report, so that report's total no longer describes the group. Only holders with an own stake of 5% or more are returned from it.
- **Companies with no large shareholding report at all get the reference table from the annual report instead.** Those rows have `source` set to `large_holding` and no `groupRatio` or `reportKind`. Do not mix them with report rows (`source` = `large_holding_report`).
- **Withdrawn reports are excluded.** Rows from reports the filer later withdrew are not returned.
- **Trading between reports is invisible.** Change reports are due at a 1-point move, so smaller changes after the latest report do not show.
- **There are two dates.** `obligationDate` is when the obligation arose (the as-of date); `submittedAt` is when the report was filed, in ISO 8601 UTC. Add nine hours for Japan time.
- **Links to the original work only within EDINET's viewing period.** If `sourceUrl` is null for an old report, keep the document ID.

## Asking an AI assistant for a summary

Give it only sources and figures, and spell out the differences above in the instructions.

```text
The figures below come from the "major shareholders" and "shareholders by category" sections of Japanese annual securities reports and from large shareholding reports. Each company's document ID is the source.

- Tabulate shared holders and differences in ownership by category. Keep trust-bank nominee names (trust accounts and the like) separate.
- The major shareholders table (registered names at fiscal year-end) and large shareholding reports (joint totals as of the obligation date) differ in date and method. Do not add or subtract across them.
- Do not guess facts that are not given; write "check the original" instead.
- Do not forecast figures or comment on buying or selling shares or on management quality.

(paste the output of Steps 2 to 5 here)
```

When individuals appear among the holders, also tell the assistant not to speculate about anything beyond the names and figures in the table, such as a person's role or intentions.

## Troubleshooting

| Symptom | Where to look |
|---|---|
| A holder you expect to be shared is not | Katakana vs Latin spelling or a different account number. `holderKey` does not bridge spelling itself |
| Companies come out in a different order | Iterating `Object.keys` over an object keyed by securities code |
| The large-holdings list is empty | A holder drops out once its latest report is below 5%. Check the filer's latest report on EDINET |
| `large-holders` returns 403 | It requires the Business plan |
| Category ratios do not add up to 1 | Null (dash) categories, or rounding in the filing (such as 0.999) |

## Related links

- [Major shareholders (`/docs/major-shareholders`)](https://zenithcode.net/en/docs/major-shareholders)
- [Shareholders by category (`/docs/shareholder-categories`)](https://zenithcode.net/en/docs/shareholder-categories)
- [Large holders (`/docs/large-holders`)](https://zenithcode.net/en/docs/large-holders)
- [Compare risk factors across Japanese competitors](https://zenithcode.net/en/docs/cookbook/applied/deep-annual-report-text)
- [Display rules](https://zenithcode.net/en/docs/display-rights)
- [Sample code repository (disclosure reader template)](https://github.com/Crab-grass/zenith-code-examples/tree/main/templates/disclosure-reader)

A Japanese series with screenshots is on [Qiita](https://qiita.com/Sohei-Taniguchi-CG/items/98cb09289a3772b747df).

---
Page: https://zenithcode.net/en/docs/cookbook/applied/deep-shareholders
日本語: https://zenithcode.net/docs/cookbook/applied/deep-shareholders.md
Site guide for AI tools: https://zenithcode.net/llms.txt
