In Japan, listed companies have long held shares in their banks, suppliers, and business partners — a practice known as cross-shareholding (mochiai).
What surprises most developers outside Japan is that every annual report (Japan's equivalent of a US 10-K on SEC EDGAR) publishes a full table of these strategic holdings: which companies they own, how many shares, the carrying amount in yen, last year's share count, and a yes/no flag for whether that company owns their shares back.
Pull just four famous companies — Toyota, Suzuki, Nintendo, and Sony Group — and draw the links as a directed graph, and the hidden web of Japanese corporate ownership jumps right off the screen:
Two-way lines reflect what each filer reports in its own annual report; the counterpart's own filing may differ.
This post shows how to pull that exact dataset and plot the graph in Python. You don't need to care about Japanese stocks — this is about turning public company filings into a graph, not prices or trading.
Disclosure: I'm Sohei, and I build ZENITH Code, the API used here. It turns Japanese company filings into JSON. This series is me showing what you can build with that data. The cross-shareholdings endpoint used in this post is available on the Business plan or higher. The free plan covers almost every other endpoint, and the demo at the end needs no account.
What jumps out in the graph
All figures below come from the latest annual reports (FY2026-03; USD column/notes use a rough reference of ¥160/USD):
1. Rivals with shared stakes: Nintendo and Sony
Console rivals Nintendo and Sony Group both show up with stakes in the same two Japanese entertainment companies: Bandai Namco Holdings (Nintendo ¥44.6B / Sony ¥61.9B) and KADOKAWA (Nintendo ¥4.6B / Sony ¥62.2B; Sony's stake is mutual — KADOKAWA is the parent of Elden Ring developer FromSoftware).
Zooming into just those two companies makes the overlap obvious:
On the outside edges, Nintendo's second-largest holding is a mutual stake with DeNA (¥36.7B), its mobile-game partner, plus local Kyoto Financial Group (¥12.2B). Sony's single largest holding by far is Spotify (¥397.2B / ~$2.5B).
2. Toyota's ¥3.24 trillion (~$20.2B) web — and MUFG as the bank hub
Toyota holds 34 listed strategic stakes totaling ¥3.24 trillion (~$20.2B). According to the "whether the issuer holds the reporting company's shares" column in each company's annual securities report, every single one of its top five holdings is a mutual cross-shareholding (issuerHoldsOwnShares: "有"): KDDI (¥989.6B / ~$6.2B), NTT (¥317.4B), MS&AD Insurance (¥283.7B), MUFG (¥266.7B), and Suzuki Motor (¥180.0B — and Suzuki's #1 holding in return is Toyota at ¥97.9B).
Notice MUFG sitting in the middle of the overview graph: Toyota, Suzuki, and Nintendo all hold shares in Japan's largest banking group, connecting the auto cluster and the gaming cluster through a single financial hub.
3. You can see unwinding (and new bets) in the same JSON
Each row includes both shares and priorShares. In Toyota's latest filing:
- Unwinding old ties: Toyota cut its stake in MS&AD Insurance by -33.3% year-on-year (105.6M → 70.4M shares) as Japan's corporate-governance push accelerates the unwinding of traditional cross-shareholdings.
- New strategic bets: Right next to those legacy holdings sit Joby Aviation (¥161.9B / ~$1.0B, +68.2% shares, one-way) and Renesas Electronics (¥161.4B, one-way).
Getting the data, step by step
1. Get an API key
Sign up for ZENITH Code (free plan, no credit card) and create an API key in the dashboard:
export ZENITH_API_KEY=your-key-here 2. Find a company's 4-character code
curl -H "x-api-key: $ZENITH_API_KEY" \ "https://api.zenithcode.net/stable/search-name?query=Toyota" 3. Ask for cross-shareholdings
This endpoint is available on the Business plan or higher. On the free plan the call returns 403 plan_required and uses no tokens (the name search in step 2 works on the free plan).
curl -H "x-api-key: $ZENITH_API_KEY" \ "https://api.zenithcode.net/stable/cross-shareholdings?symbol=7203&limit=1" The response is a list with one entry per filing (limit=1 gives the latest). Here is a trimmed slice of Toyota's latest entry (2026-03, 42 holding rows in total):
{ "symbol": "7203", "fiscalPeriod": "2026-03", "sourceUrl": "https://disclosure2.edinet-fsa.go.jp/WZEK0040.aspx?S100Y8NY", "currency": "JPY", "holdings": [ { "type": "specified", "name": "KDDI㈱", "nameEn": "KDDI CORPORATION", "shares": 363365900, "priorShares": 203294600, "carryingAmount": 989627000000, "issuerHoldsOwnShares": "有" }, { "type": "specified", "name": "MS&ADインシュアランスグループホールディングス㈱", "nameEn": "MS&AD Insurance Group Holdings,Inc.", "shares": 70371899, "priorShares": 105551899, "carryingAmount": 283739000000, "issuerHoldsOwnShares": "有" } ] } 4. What it costs
/stable/cross-shareholdings costs 1 token per request. Pulling Toyota, Suzuki, Nintendo, and Sony Group plus one name search is 5 tokens out of your monthly allowance. The free plan has 5,000 tokens a month but does not include this endpoint (see step 3); the name search in step 2 works on it.
The code
Requires Python 3.9+ and matplotlib (pip install matplotlib). Everything else is the standard library — no extra graph library needed to start.
import json, math, os, urllib.error, urllib.request import matplotlib.pyplot as plt API = "https://api.zenithcode.net/stable/cross-shareholdings" COMPANIES = [("7203", "Toyota"), ("7269", "Suzuki"), ("7974", "Nintendo"), ("6758", "Sony Group")] # Filings name the other company in full; map the ones we query to the same node label ALIASES = {"TOYOTA MOTOR CORPORATION": "Toyota", "SUZUKI MOTOR CORPORATION": "Suzuki"} def latest_holdings(symbol, top_n=4): url = f"{API}?symbol={symbol}&limit=1" req = urllib.request.Request(url, headers={"x-api-key": os.environ["ZENITH_API_KEY"]}) try: with urllib.request.urlopen(req) as res: rows = json.load(res) except urllib.error.HTTPError as e: if e.code == 404: return [] raise if not rows: return [] items = [h for h in rows[0].get("holdings", []) if h.get("type") == "specified" and h.get("carryingAmount")] items.sort(key=lambda h: h["carryingAmount"], reverse=True) return items[:top_n] edges, nodes = [], set() for sym, name in COMPANIES: nodes.add(name) for h in latest_holdings(sym, top_n=4): target = (h.get("nameEn") or h.get("name") or "Unknown").split(",")[0] target = ALIASES.get(target, target) amt_b = h["carryingAmount"] / 1e9 mutual = h.get("issuerHoldsOwnShares") == "有" nodes.add(target) edges.append((name, target, amt_b, mutual)) ordered = sorted(nodes) pos = {n: (math.cos(2 * math.pi * i / len(ordered)), math.sin(2 * math.pi * i / len(ordered))) for i, n in enumerate(ordered)} fig, ax = plt.subplots(figsize=(9, 7)) for src, dst, amt_b, mutual in edges: x1, y1 = pos[src]; x2, y2 = pos[dst] ax.annotate("", xy=(x2, y2), xytext=(x1, y1), arrowprops=dict(arrowstyle="<->" if mutual else "->", color="#d97706" if mutual else "#2563eb", lw=1.5, alpha=0.75, shrinkA=10, shrinkB=10)) for n, (x, y) in pos.items(): ax.scatter(x, y, s=260, color="#0f172a", edgecolors="#2563eb", lw=2, zorder=3) ax.text(x * 1.13, y * 1.13, n, ha="center", va="center", fontsize=8) ax.set_axis_off(); ax.set_title("Cross-shareholdings (orange = mutual, blue = one-way)") fig.tight_layout(); fig.savefig("cross_shareholdings.png", dpi=150) print(f"Saved cross_shareholdings.png ({len(nodes)} nodes, {len(edges)} edges)") Three things to watch out for
1. Filter type == "specified" unless you also want deemed holdings.
Japanese filings list both specified (shares directly held for strategic reasons) and deemed (shares placed in retirement-benefit trusts where the company keeps voting rights). Toyota's 42 rows are 37 specified + 5 deemed. Three of those specified rows were sold off during the year, so they only carry last year's figures (shares is null) — that's why the filing counts 34 current listed holdings.
2. issuerHoldsOwnShares is a Japanese string ("有" = yes, "無" = no).
Checking == "有" gives you bidirectional edges immediately without having to query the counterparty first.
3. Watch out for stock splits when comparing shares vs. priorShares.
In Toyota's KDDI row, shares jumped +78.7% year-on-year — not because Toyota bought more, but because KDDI did a stock split (the rationale field notes both the split and a partial sale). Always pair share counts with carryingAmount and rationale.
Why I built this
Japanese company filings are public, but they are hard to use, even inside Japan. The reports are in Japanese, the XBRL follows a Japan-specific taxonomy, line items are tagged differently across companies and accounting standards, and quarterly figures are cumulative. I spent about two years parsing all of that until it could be served reliably as an API.
The other reason is price. Japanese financial and stock market data has mostly been sold through terminals and data feeds priced for banks and funds. I wanted developers, students, and small teams to be able to just try it.
So ZENITH Code has:
- About 4,000 listed Japanese companies: annual reports filed on EDINET (Japan's EDGAR) and quarterly earnings releases, parsed into JSON.
- End-of-day stock prices for Japanese listed companies on the same API key, provided under formal agreements with the exchanges.
- One set of field names across Japanese GAAP, IFRS, and US GAAP.
- Direct filing links (
sourceUrl/provenance) on every row so you can verify any number against the original report. - English company names and docs, plus an MCP server so Claude or ChatGPT can query these filings directly (coming up next in this series!).
The free plan (5,000 tokens a month, no card) covers almost every endpoint; the cross-shareholdings endpoint used in this post is on the Business plan. Try it, and if something in the data looks wrong or confusing, tell me in the comments — I read all of them.
Try it with no account
If you want to explore before signing up, the examples repository has a demo mode with fictional companies:
git clone https://github.com/Crab-grass/zenith-code-examples.git cd zenith-code-examples python3 python/zenith_examples.py statements --symbol DEMOA --demo Next in this series: Ask Claude which automaker spends the most on R&D — querying Japanese filings directly via remote MCP.
Data provided by ZENITH Code (sources: TDnet, EDINET and company disclosures; processed by ZENITH Code). ZENITH Code does not warrant the accuracy, completeness or timeliness of the data, and nothing in this post is investment advice.


