In the previous part of this deep-dive series, we lined up the subsidiaries in the "Status of related companies" table. This time we look at the people in the same groups.
In Japanese annual securities reports (有価証券報告書), employee figures split into two scopes: the "reporting company" (the standalone parent entity that files the report) and the "consolidated group" (the parent plus its consolidated subsidiaries). In the FY ended March 2026 filings of the five companies below, "Part 4 Company information" → "5 Status of employees" → "(2) Status of employees" contains two tables: "① Consolidated companies" and "② Reporting company". ZENITH Code returns the items extracted from this section through /stable/workforce in one call per company.
Even though every company uses the same statutory form, the reporting company's headcount as a share of the consolidated headcount varies widely. Segment layouts, salary definitions and rounding also differ by company, so comparing average annual salary alone puts figures side by side that cover very different slices of each group. This guide builds four outputs in Node.js:
- Reporting-company and consolidated headcount, the difference (group minus reporting company) and the reporting company's share of the group
- Consolidated and reporting-company headcount by segment, plus a check that sums without subtotal rows match the totals
- For each segment, group headcount, reporting-company headcount and the reporting company's share (a segment with no row in the reporting-company table shows "—", not 0)
- The reporting company's average age, tenure and annual salary (flagged when the reporting company is under 5% of the group)
The examples are five electronics makers: Hitachi (6501), Mitsubishi Electric (6503), Fujitsu (6702), NEC (6701) and Sony Group (6758), using their annual securities reports for the fiscal year ended March 2026. Every figure comes from API responses retrieved at 7:05 Japan time on November 26, 2026, or is computed directly from them (Data provided by ZENITH Code).
What the workforce response contains
/stable/workforce returns the items extracted from the "Status of employees" section of the annual securities report in a single response. The main fields are:
| Where in the response | What it holds |
|---|---|
employees |
Headcount of the reporting company (the standalone parent) |
consolidatedEmployees |
Consolidated headcount |
averageAge |
Average age of the reporting company (years) |
averageTenureYears |
Average length of service of the reporting company (years) |
averageAnnualSalary |
Average annual salary of the reporting company (JPY). The scope follows the notes of the filing |
segments |
Consolidated headcount by business segment, with segment, employees, isSubtotal, subtotalOf and segmentEn |
parentSegments |
Reporting-company headcount by business segment, in the same shape as segments. An empty array when the filing has no such rows |
The response also includes docId (the filing's document ID), fiscalPeriod, submittedAt (filing timestamp in UTC) and sourceUrl (a link to the original on EDINET). Because the response is an array, the first element for Hitachi looks like this (excerpt):
[
{
"symbol": "6501",
"fiscalPeriod": "2026-03",
"docId": "S100YGBO",
"submittedAt": "2026-06-22T06:56:00Z",
"employees": 25934,
"averageAge": 42.2,
"averageTenureYears": 18.1,
"averageAnnualSalary": 9949714,
"consolidatedEmployees": 287901,
"segments": [
{ "segment": "デジタルシステム&サービス", "employees": 104835, "isSubtotal": false, "subtotalOf": null, "segmentEn": "Digital Systems & Services" }
],
"parentSegments": [
{ "segment": "デジタルシステム&サービス", "employees": 14664, "isSubtotal": false, "subtotalOf": null, "segmentEn": "Digital Systems & Services" }
],
"sourceUrl": "https://disclosure2.edinet-fsa.go.jp/WZEK0040.aspx?S100YGBO"
}
]
- Average age, tenure and annual salary apply to the reporting company alone. They are not consolidated averages. The scope of the salary figure follows the notes in each filing.
- Subtotal rows carry
isSubtotal: true. Exclude them when summing segment headcounts. - Temporary staff are not included in the response.
employeesandconsolidatedEmployeeshold the number of employees (従業員数) in each filing's table, which the notes define as 就業人員 (people at work), not permanent staff only. How secondees are counted follows each filing's notes. - English segment names (
segmentEn) are included. Fields listed inmachineTranslatedFieldsare machine translations.
Each call costs 1 token and the endpoint is available on the Free plan (as of November 24, 2026). The Free plan includes 5,000 tokens per month and 10 requests per minute, so five companies take five calls and five tokens.
Step 1: fetch the API one company at a time
First, set up the request helper and the bilingual output dictionary. Create an API key after signing up and store it in the environment variable ZENITH_API_KEY instead of writing it into your code.
Node.js 18 or later includes fetch, so no external packages are needed. Save this script as workforce.mjs and append the code from the following steps below it. This block defines the base URL and request spacing, the Japanese/English label dictionary TEXT (pass --lang en for English output) and fetchWorkforce for fetching one company at a time.
// workforce.mjs — line up reporting-company and consolidated headcount, headcount by segment and average annual salary (Node.js 18+)
const BASE_URL = "https://api.zenithcode.net/stable";
const API_KEY = process.env.ZENITH_API_KEY;
const GAP_MS = 6500; // the Free plan allows 10 requests per minute, so call one company at a time with a gap
const sleep = (ms) => new Promise((r) => setTimeout(r, ms));
// Output text lives in one dictionary (--lang en for English)
const TEXT = {
ja: {
missingKey: "環境変数 ZENITH_API_KEY に API キーを入れてください",
checkOriginal: "原文を確認",
unavailable: (s) => `この API で該当する従業員の情報を取得できなかった(${s})`,
segComplete: (sum, diff, ex) => `和 ${sum}(差 ${diff}${ex ? "・原文を確認" : ""})`,
segPartial: (sum, ex) => `部分和 ${sum}(差 —${ex ? "・原文を確認" : ""})`,
segEmpty: "区分なし(空配列)",
segSubtotalOnly: "小計行のみ(和 —)",
segNoNumeric: "数値の無い行のみ(和 —)",
hHeadcount: "## 提出会社と連結の従業員数",
hCheck: "\n## 事業別の人員の合計の確認",
hSegments: "\n## 事業ごとの連結・提出会社の人数",
hProfile: "\n## 提出会社の平均年齢・勤続年数・平均年間給与",
parent: "提出会社",
group: "連結",
diff: "差",
share: "提出会社の割合",
segShare: "提出会社の割合",
wrap: (v) => `(${v})`,
noParentRows: "※API の応答に提出会社の区分の行なし(原本の表を確かめる)",
underFive: "※提出会社は連結の 5% 未満",
age: "年齢",
tenure: "勤続",
salary: "給与",
people: (v) => (v === null ? "—" : `${v.toLocaleString("en-US")}人`),
years: (v) => (v === null ? "—" : `${v}年`),
ageOf: (v) => (v === null ? "—" : `${v}歳`),
yen: (v) => (v === null ? "—" : `${v.toLocaleString("en-US")}円`),
segName: (row) => row.name,
},
en: {
missingKey: "Set your API key in the ZENITH_API_KEY environment variable",
checkOriginal: "check original",
unavailable: (s) => `No workforce information could be retrieved from this API (${s})`,
segComplete: (sum, diff, ex) => `sum ${sum} (diff ${diff}${ex ? "; check original" : ""})`,
segPartial: (sum, ex) => `partial sum ${sum} (diff —${ex ? "; check original" : ""})`,
segEmpty: "no segments (empty array)",
segSubtotalOnly: "subtotal rows only (sum —)",
segNoNumeric: "no numeric rows (sum —)",
hHeadcount: "## Headcount: reporting company and consolidated group",
hCheck: "\n## Segment headcount totals",
hSegments: "\n## Headcount by segment: group and reporting company",
hProfile: "\n## Reporting company: average age, tenure and annual salary",
parent: "reporting company",
group: "group",
diff: "difference",
share: "reporting company share",
segShare: "in reporting company",
wrap: (v) => ` (${v})`,
noParentRows: "* No reporting-company segment rows in the API response (check the table in the filing)",
underFive: "* Reporting company is under 5% of the group",
age: "age",
tenure: "tenure",
salary: "salary",
people: (v) => (v === null ? "—" : v.toLocaleString("en-US")),
years: (v) => (v === null ? "—" : `${v} yrs`),
ageOf: (v) => (v === null ? "—" : `${v}`),
yen: (v) => (v === null ? "—" : `JPY ${v.toLocaleString("en-US")}`),
segName: (row) => row.nameEn,
},
};
// One company. Returns HTTP 404 and a 200 with no rows separately
async function fetchWorkforce(symbol, fiscalPeriod) {
const params = fiscalPeriod ? { symbol, fiscalPeriod } : { symbol };
const res = await fetch(`${BASE_URL}/workforce?${new URLSearchParams(params)}`, {
headers: { "x-api-key": API_KEY, Accept: "application/json" },
});
if (res.status === 404) return { symbol, status: "http_404", report: null };
if (!res.ok) throw new Error(`/workforce ${res.status}`);
const body = await res.json();
const report = Array.isArray(body) ? body[0] : body;
return report ? { symbol, status: "ok", report } : { symbol, status: "empty_rows", report: null };
}
The response is an array. Even a single-company call returns [ { "symbol": "6501", "docId": "S100YGBO", … } ]. fetchWorkforce reads the first element and distinguishes HTTP 404 (http_404) from a 200 response with no rows (empty_rows). Because the Free plan allows 10 requests per minute, calls are spaced 6.5 seconds apart (Step 7).
Step 2: line up headcount of the reporting company and the group
Even among five electronics makers, the reporting company's share of consolidated headcount ranges from 2.3% to 32.5%. From employees and consolidatedEmployees, compute the difference (group minus reporting company) and the reporting company's share. If either field is missing, both derived values display as "—".
const jstDate = (iso) => (iso ? new Date(Date.parse(iso) + 9 * 3600e3).toISOString().slice(0, 10) : "—");
const num = (v) => (typeof v === "number" && Number.isFinite(v) ? v : null);
const pct = (x, t, forceCheck = false) => {
if (x === null || x === undefined) return "—";
return forceCheck || x > 1 ? t.checkOriginal : `${(x * 100).toFixed(1)}%`;
};
// Reporting company (employees) and group (consolidatedEmployees). The difference and share are shown only when both are numbers
function headcount(r) {
const parent = num(r.employees);
const group = num(r.consolidatedEmployees);
return {
docId: r.docId ?? "—",
fiscalPeriod: r.fiscalPeriod ?? "—",
date: jstDate(r.submittedAt),
parent,
group,
difference: parent !== null && group !== null && parent <= group ? group - parent : null,
share: parent !== null && group !== null && group > 0 ? parent / group : null,
};
}
| Company | Filing date | Reporting company | Group (consolidated) | Difference (group − reporting company) | Reporting company share |
|---|---|---|---|---|---|
| Hitachi | June 22, 2026 | 25,934 | 287,901 | 261,967 | 9.0% |
| Mitsubishi Electric | June 19, 2026 | 29,949 | 150,386 | 120,437 | 19.9% |
| Fujitsu | June 26, 2026 | 32,224 | 99,203 | 66,979 | 32.5% |
| NEC | June 18, 2026 | 21,934 | 101,800 | 79,866 | 21.5% |
| Sony Group (*) | June 18, 2026 | 2,166 | 94,900 | 92,734 | 2.3% |
* Sony Group's filing states headcount "rounded to the nearest hundred (百人未満を四捨五入)" (S100YE2C, note 1 of the status of employees). The consolidated 94,900 is that rounded figure; 92,734 is the difference computed from it, and 97.7% is the share computed from it.
- Hitachi has the largest group, while Fujitsu has the largest reporting company. The ranking flips depending on whether you look at consolidated or standalone headcount.
- A
nullfield, or a reporting company above the group, does not break the code. Missing values display as "—" without a unit.
Step 3: total the consolidated segments and check the sum
When summing segment headcounts, avoid double-counting subtotal rows (isSubtotal: true) or mistaking an empty array for zero employees. The function below removes subtotal rows from segments, sums the rest and compares the sum against the total. It distinguishes an empty array, subtotal-only rows, rows with no numbers, partial sums and sums above the total; the same function works for parentSegments.
// Headcount by segment. Subtotal rows (isSubtotal: true) are left out of the sum. Tells apart empty, subtotal-only, no numbers, partial sums and sums above the total
function segmentBreakdown(rows, total) {
if (!Array.isArray(rows) || rows.length === 0) {
return { status: "empty", items: [], sum: null, diff: null, top: null, sumExceedsTotal: false };
}
const detail = rows.filter((s) => !s.isSubtotal);
if (detail.length === 0) {
return { status: "subtotal_only", items: [], sum: null, diff: null, top: null, sumExceedsTotal: false };
}
const numeric = detail.filter((s) => num(s.employees) !== null);
if (numeric.length === 0) {
return { status: "no_numeric_rows", items: [], sum: null, diff: null, top: null, sumExceedsTotal: false };
}
const partial = numeric.length < detail.length;
const sum = numeric.reduce((a, s) => a + s.employees, 0);
const items = detail.map((s) => {
const employees = num(s.employees);
return {
name: s.segment,
nameEn: s.segmentEn || s.segment,
employees,
share: employees !== null && total !== null && total > 0 ? employees / total : null,
};
});
return {
status: partial ? "partial" : "complete",
items,
sum,
diff: !partial && total !== null ? sum - total : null,
top: !partial ? [...items].sort((a, b) => b.employees - a.employees)[0] : null,
sumExceedsTotal: total !== null && total > 0 && sum > total,
};
}
function segmentLabel(seg, t) {
const sum = seg.sum === null ? null : seg.sum.toLocaleString("en-US");
if (seg.status === "complete") return t.segComplete(sum, seg.diff ?? "—", seg.sumExceedsTotal);
if (seg.status === "partial") return t.segPartial(sum, seg.sumExceedsTotal);
if (seg.status === "empty") return t.segEmpty;
if (seg.status === "subtotal_only") return t.segSubtotalOnly;
return t.segNoNumeric;
}
| Company | Segments (group) | Largest group segment (people, share) | Sum minus total (group) |
|---|---|---|---|
| Hitachi | 6 | Digital Systems & Services (104,835, 36.4%) | 0 |
| Mitsubishi Electric | 7 | Life (65,317, 43.4%) | 0 |
| Fujitsu | 5 | Service Solutions (73,100, 73.7%) | 0 |
| NEC | 3 | IT Services Business (57,400, 56.4%) | 0 |
| Sony Group | 7 | Entertainment, Technology & Services (ET&S) (33,100, 34.9%) | 0 |
- For all five companies, the consolidated segment sum matches
consolidatedEmployeeswith a difference of 0. The reporting-company segment sum also matchesemployeeswith a difference of 0 for all five. - A subtotal-only array never turns into a sum of
0. Whendetailis empty, the function returnsstatus: "subtotal_only"andsum: null. - If either table's segment rows add up to more than its total, none of that company's segment shares is shown; they all read "check original". For example, with a consolidated total of 10 and two rows of 6, each row alone is 60%, but
sumExceedsTotal: truemakes both the group share and the reporting-company share "check original" (Steps 4 and 7).
Step 4: join the group and reporting-company segments by name
Even within a single company, the reporting company's share varies sharply by business segment. Join consolidated rows and reporting-company rows by segment name, since matching names represent the same business line in the filing. If one side has no row for a segment, its headcount is not necessarily zero, so display "—" instead of 0. If either table's segment rows add up to more than its total, every share for that company shows "check original" (checkOriginal).
// Join consolidated and reporting-company segments by segment name. A segment with no row on the other side shows "—", not 0
function segmentComparison(r) {
const group = segmentBreakdown(r.segments, num(r.consolidatedEmployees));
const parent = segmentBreakdown(r.parentSegments, num(r.employees));
const parentByName = new Map(parent.items.map((s) => [s.name, s]));
const rows = group.items.map((s) => {
const p = parentByName.get(s.name)?.employees ?? null;
return { ...s, parent: p, parentShare: s.employees > 0 && p !== null ? p / s.employees : null };
});
const known = new Set(group.items.map((s) => s.name));
for (const s of parent.items) {
if (!known.has(s.name)) rows.push({ ...s, employees: null, share: null, parent: s.employees, parentShare: null });
}
// If either table's segment rows add up to more than its total, every segment share of that company shows "check original"
const checkOriginal = group.sumExceedsTotal || parent.sumExceedsTotal;
return { rows, group, parent, checkOriginal };
}
The highest and lowest reporting-company shares for each company are shown below (all 28 rows appear in the output of Step 7).
| Company | Highest reporting-company share | Lowest |
|---|---|---|
| Hitachi | Corporate (Headquarters, etc.) 100.0% (3,201 / 3,201) | Energy 0.9% (522 / 58,547) |
| Mitsubishi Electric | Common 71.8% (4,942 / 6,884) | Digital Innovation 0.5% (25 / 4,551) |
| Fujitsu | Eliminations and Corporate 76.6% (8,049 / 10,509) | Hardware Solutions 6.6% (1,007 / 15,303) |
| NEC | Social Infrastructure Business 28.3% (4,763 / 16,830) | Other 16.8% (4,639 / 27,570) |
| Sony Group | Corporate (Common) 33.8% (2,166 / 6,400) | — (its reporting-company table has only "Corporate (Common)") |
- At Hitachi, Energy is 0.9% while Corporate (Headquarters, etc.) is 100.0%. Hitachi reports the parent's headcount in parentheses on the lower line of the consolidated table; the filing note states those parenthesized figures are the reporting company's headcount included in the total (内数).
- Mitsubishi Electric's reporting-company table has no "Other" row. The consolidated "Other" of 15,782 shows "—" on the reporting-company side.
- Sony Group's consolidated headcount is rounded to the nearest hundred. The 33.8% share divides 2,166 by the rounded 6,400.
Step 5: line up the reporting company's average age, tenure and annual salary
Because average annual salary covers only the reporting company, flag any company whose reporting company makes up a small fraction of the group. Extract the reporting company's attributes and set underFive: true when its share of consolidated headcount is below 5% (5% is a display threshold chosen for this guide).
// Average age, tenure and salary are for the reporting company alone. Mark a company whose reporting company is under 5% of the group
function parentProfile(r) {
const { parent, share } = headcount(r);
return {
parent,
share,
age: num(r.averageAge),
tenure: num(r.averageTenureYears),
salary: num(r.averageAnnualSalary),
underFive: share !== null && share < 0.05,
};
}
- Always place reporting-company headcount and group share next to average annual salary. Sony Group's reporting company accounts for 2.3% of the group (2,166 people), and its reporting-company table lists only "Corporate (Common)" with 2,166. Do not compare its salary level side by side with the other four (9.0% to 32.5%).
- The scope of the salary figure follows each filing's notes. Note 3 of NEC's filing (
S100YBFV) states that from this fiscal year average annual salary is computed "excluding both employees seconded from the company to other companies and employees seconded from other companies to the company". Note 2 computes average age and tenure "from the headcount that includes employees seconded from the company to other companies and excludes those seconded from other companies to the company".
Step 6: tell 404, empty responses and missing segments apart
To keep the same script accurate on any listed company, handle unavailable responses and missing fields separately. Alongside Step 1 (HTTP 404 vs. empty array) and Step 2 (null fields), this helper checks whether parentSegments contains any rows.
// A 404 or an empty response means "not available from this API". When only a field is null, only that field shows "—"
const hasParentRows = (r) => Array.isArray(r?.parentSegments) && r.parentSegments.length > 0;
- Keep
HTTP 404,200 with no rowsanda null fieldseparate. For a 404 or a 200 with no rows, print "No workforce information could be retrieved from this API". When only an individual field isnull, display "—" for that field alone. - Do not label an empty
parentSegmentsarray as "no disclosure". Print "No reporting-company segment rows in the API response" and direct the reader to check the table in the filing.
Step 7: print and run for a fiscal period
Wire the functions above to the TEXT dictionary to print all four tables. Pass 2026-03 as fiscalPeriod to reproduce the exact fiscal year of the five companies shown here.
function printTables(results, lang = "ja") {
const t = TEXT[lang] ?? TEXT.ja;
const ok = results.filter((g) => g.status === "ok");
console.log(t.hHeadcount);
for (const g of results) {
if (g.status !== "ok") { console.log(g.symbol, t.unavailable(g.status)); continue; }
const h = headcount(g.report);
console.log(g.symbol, h.docId, h.fiscalPeriod, h.date,
`${t.parent} ${t.people(h.parent)}`, `${t.group} ${t.people(h.group)}`,
`${t.diff} ${t.people(h.difference)}`, `${t.share} ${pct(h.share, t)}`);
}
console.log(t.hCheck);
for (const g of ok) {
const c = segmentComparison(g.report);
const note = hasParentRows(g.report) ? "" : ` ${t.noParentRows}`;
console.log(g.symbol, `${t.group} ${segmentLabel(c.group, t)} / ${t.parent} ${segmentLabel(c.parent, t)}${note}`);
}
console.log(t.hSegments);
for (const g of ok) {
const c = segmentComparison(g.report);
for (const row of c.rows) {
console.log(g.symbol, t.segName(row),
`| ${t.group} ${t.people(row.employees)}${t.wrap(pct(row.share, t, c.checkOriginal))}`,
`| ${t.parent} ${t.people(row.parent)}`, `| ${t.segShare} ${pct(row.parentShare, t, c.checkOriginal)}`);
}
}
console.log(t.hProfile);
for (const g of ok) {
const p = parentProfile(g.report);
const cols = [g.symbol, `${t.parent} ${t.people(p.parent)}${t.wrap(`${t.group} ${pct(p.share, t)}`)}`,
`${t.age} ${t.ageOf(p.age)}`, `${t.tenure} ${t.years(p.tenure)}`, `${t.salary} ${t.yen(p.salary)}`];
if (p.underFive) cols.push(t.underFive);
console.log(cols.join(" "));
}
}
const args = process.argv.slice(2);
let fiscalPeriod = "2026-03";
let lang = "ja";
const symbols = [];
for (let i = 0; i < args.length; i++) {
if (args[i] === "--period") fiscalPeriod = args[++i];
else if (args[i] === "--lang") lang = args[++i];
else symbols.push(args[i]);
}
if (!API_KEY) throw new Error((TEXT[lang] ?? TEXT.ja).missingKey);
const results = [];
for (const s of symbols.length ? symbols : ["6501", "6503", "6702", "6701", "6758"]) {
if (results.length > 0) await sleep(GAP_MS);
results.push(await fetchWorkforce(s, fiscalPeriod));
}
printTables(results, lang);
It makes one API call per company, and five companies take about 30 seconds:
- Run the five default companies:
ZENITH_API_KEY=... node workforce.mjs --period 2026-03 - Run your own companies:
node workforce.mjs --period 2026-03 7203 7267(pass securities codes as arguments) - Switch output to English: add
--lang en
The English output is:
## Headcount: reporting company and consolidated group

6501 S100YGBO 2026-03 2026-06-22 reporting company 25,934 group 287,901 difference 261,967 reporting company share 9.0%
6503 S100YD3V 2026-03 2026-06-19 reporting company 29,949 group 150,386 difference 120,437 reporting company share 19.9%
6702 S100YM3K 2026-03 2026-06-26 reporting company 32,224 group 99,203 difference 66,979 reporting company share 32.5%
6701 S100YBFV 2026-03 2026-06-18 reporting company 21,934 group 101,800 difference 79,866 reporting company share 21.5%
6758 S100YE2C 2026-03 2026-06-18 reporting company 2,166 group 94,900 difference 92,734 reporting company share 2.3%
## Segment headcount totals
6501 group sum 287,901 (diff 0) / reporting company sum 25,934 (diff 0)
6503 group sum 150,386 (diff 0) / reporting company sum 29,949 (diff 0)
6702 group sum 99,203 (diff 0) / reporting company sum 32,224 (diff 0)
6701 group sum 101,800 (diff 0) / reporting company sum 21,934 (diff 0)
6758 group sum 94,900 (diff 0) / reporting company sum 2,166 (diff 0)
## Headcount by segment: group and reporting company
6501 Digital Systems & Services | group 104,835 (36.4%) | reporting company 14,664 | in reporting company 14.0%
6501 Energy | group 58,547 (20.3%) | reporting company 522 | in reporting company 0.9%
6501 Mobility | group 23,912 (8.3%) | reporting company 2,392 | in reporting company 10.0%
6501 Connective Industries | group 86,063 (29.9%) | reporting company 2,763 | in reporting company 3.2%
6501 Other | group 11,343 (3.9%) | reporting company 2,392 | in reporting company 21.1%
6501 Corporate (Headquarters, etc.) | group 3,201 (1.1%) | reporting company 3,201 | in reporting company 100.0%
6503 Infrastructure | group 22,865 (15.2%) | reporting company 11,993 | in reporting company 52.5%
6503 Industry and Mobility | group 29,431 (19.6%) | reporting company 5,513 | in reporting company 18.7%
6503 Life | group 65,317 (43.4%) | reporting company 5,362 | in reporting company 8.2%
6503 Digital Innovation | group 4,551 (3.0%) | reporting company 25 | in reporting company 0.5%
6503 Semiconductor Devices | group 5,556 (3.7%) | reporting company 2,114 | in reporting company 38.0%
6503 Other | group 15,782 (10.5%) | reporting company — | in reporting company —
6503 Common | group 6,884 (4.6%) | reporting company 4,942 | in reporting company 71.8%
6702 Service Solutions | group 73,100 (73.7%) | reporting company 23,083 | in reporting company 31.6%
6702 Hardware Solutions | group 15,303 (15.4%) | reporting company 1,007 | in reporting company 6.6%
6702 Ubiquitous Solutions | group 291 (0.3%) | reporting company 85 | in reporting company 29.2%
6702 Eliminations and Corporate | group 10,509 (10.6%) | reporting company 8,049 | in reporting company 76.6%
6702 Discontinued Operations | group 0 (0.0%) | reporting company — | in reporting company —
6701 IT Services Business | group 57,400 (56.4%) | reporting company 12,532 | in reporting company 21.8%
6701 Social Infrastructure Business | group 16,830 (16.5%) | reporting company 4,763 | in reporting company 28.3%
6701 Other | group 27,570 (27.1%) | reporting company 4,639 | in reporting company 16.8%
6758 Game & Network Services (G&NS) | group 12,300 (13.0%) | reporting company — | in reporting company —
6758 Music | group 11,400 (12.0%) | reporting company — | in reporting company —
6758 Pictures | group 11,300 (11.9%) | reporting company — | in reporting company —
6758 Entertainment, Technology & Services (ET&S) | group 33,100 (34.9%) | reporting company — | in reporting company —
6758 Imaging & Sensing Solutions (I&SS) | group 18,800 (19.8%) | reporting company — | in reporting company —
6758 Other | group 1,600 (1.7%) | reporting company — | in reporting company —
6758 Corporate (Common) | group 6,400 (6.7%) | reporting company 2,166 | in reporting company 33.8%
## Reporting company: average age, tenure and annual salary

6501 reporting company 25,934 (group 9.0%) age 42.2 tenure 18.1 yrs salary JPY 9,949,714
6503 reporting company 29,949 (group 19.9%) age 40.5 tenure 15.3 yrs salary JPY 9,134,603
6702 reporting company 32,224 (group 32.5%) age 42.7 tenure 17.6 yrs salary JPY 10,122,665
6701 reporting company 21,934 (group 21.5%) age 43.1 tenure 17.3 yrs salary JPY 9,939,349
6758 reporting company 2,166 (group 2.3%) age 42.7 tenure 16 yrs salary JPY 11,550,986 * Reporting company is under 5% of the group
The result
Here is the workforce structure of the five companies in one table.
| Company | Reporting company | Group (consolidated) | Difference | Reporting company share | Largest group segment | Average annual salary (reporting company) |
|---|---|---|---|---|---|---|
| Hitachi | 25,934 | 287,901 | 261,967 | 9.0% | Digital Systems & Services (36.4%) | JPY 9,949,714 |
| Mitsubishi Electric | 29,949 | 150,386 | 120,437 | 19.9% | Life (43.4%) | JPY 9,134,603 |
| Fujitsu | 32,224 | 99,203 | 66,979 | 32.5% | Service Solutions (73.7%) | JPY 10,122,665 |
| NEC (*1) | 21,934 | 101,800 | 79,866 | 21.5% | IT Services Business (56.4%) | JPY 9,939,349 |
| Sony Group (*2) | 2,166 | 94,900 | 92,734 | 2.3% | Entertainment, Technology & Services (ET&S) (34.9%) | JPY 11,550,986 |
*1 Note 3 of NEC's filing (S100YBFV) states that the method of computing average annual salary changed in this fiscal year. Seconded employees are treated differently for age and tenure (note 2) than for salary (note 3).
*2 Sony Group's reporting company is under 5% of the group (2.3%), and its reporting-company table lists only "Corporate (Common)" with 2,166, so its average salary, age and tenure are not compared side by side with the other four. Average tenure is 16.0 in the filing and 16 in the JSON number. The consolidated 94,900 is rounded to the nearest hundred, and 92,734 is the difference from that rounded figure.
This table covers only what the FY ended March 2026 annual reports disclose here: consolidated and reporting-company headcount, headcount by segment and the reporting company's own averages. Headcount by subsidiary or by region, as well as diversity indicators (women in management, gender pay gap and so on), are outside its scope.
Definitions and checks for a correct analysis
Read workforce figures with three points in mind: the boundary between reporting company and group, the scope of each segment table and what headcount excludes.
The reporting company and the group
employeesis the reporting company;consolidatedEmployeesis the group. Average age, tenure and annual salary apply to the reporting company alone, and salary scope follows the filing notes. A holding company has few direct employees, so average age and similar fields can benull.- Do not compare a company whose reporting company is under 5% of the group side by side on salary with operating companies. The 5% cutoff is a display threshold used in this guide, not a rule of the API or of any law.
- Headcount is the 就業人員 figure and excludes temporary staff.
employeesandconsolidatedEmployeesare the number of employees (従業員数) in each filing's table, which the notes define as 就業人員 (people at work), not permanent staff only; how secondees are counted follows each filing's notes. Mitsubishi Electric writes the reporting company's annual average of temporary staff and others, 4,760, in brackets as[4,760]outside the table's headcount (外数); Fujitsu notes an average of 8,405 temporary staff for the group outside the table; and NEC omits temporary staff because they are under one-tenth of its employees (the 就業人員 headcount). - Check the rounding unit. Sony Group reports headcount rounded to the nearest hundred (
S100YE2C, note 1 of the status of employees).
Segment headcount and totals
- Exclude subtotal rows (
isSubtotal: true) when summing. Where a filed table includes subtotals or "of which" lines, the API keeps those rows and marks themisSubtotal: true. Summing every row without filtering exceeds the total. - Distinguish an empty array, rows without numbers, partial sums and sums above the total. For subtotal-only arrays and partial sums with non-numeric rows, show "—" instead of a difference from the total.
- Join group and reporting-company tables by segment name. A segment with no row in the reporting-company table is "—", never 0. Some companies, such as Hitachi, list reporting-company headcount in parentheses on the lower line of the consolidated table.
- For a few companies, reporting-company segments do not add up to the reporting-company total. For 8601,
parentSegmentssums to 494 whileemployeesis 624. In the filing, "Key financial data of the reporting company" lists 624, while the reporting-company table under "Status of employees" lists 494 with a note stating it shows "employees in the career-track group (総合職における従業員について表示)". Always useemployeesandconsolidatedEmployeesfor company totals. - Some companies have no segment rows in the API response. Consolidated segments can be an empty array, or reporting-company rows can be absent. Do not treat this as "not disclosed"; check the table in the filing.
404 versus empty
- Keep
HTTP 404,200 with no rowsanda null fieldseparate. A 404 has more than one cause: a company may have no annual report, or it may file under the foreign-company format (jpcrp080000), which has no employee section (among currently listed companies, 9399 only). The two symbols that returned 404 when this guide was written were 8951 and 9399. Never read a 404 as "zero employees". The script also handles a 200 with an empty array.
How the figures in this guide were checked
- The responses for all five companies were checked one by one against the filing text. Using the "Status of employees" text from ZENITH Code's
/stable/text-blocks, 73 values (headcount, age, tenure, salary and segment counts) and 48 segment names were compared, and all matched (Sony Group's average tenure16is16.0in the filing). - Headcount, average age, tenure and salary have been checked across all companies. Responses for the latest annual report of every company were compared with XBRL (as of November 24, 2026). Segment headcounts were checked against the filings for the five companies in this guide only; for other companies, verify against the table in the filing as noted above.
- To verify against the original yourself, open the filing on EDINET by its document ID (
S100YGBOfor Hitachi) and compare "Part 4 Company information" → "5 Status of employees" → "(2) Status of employees".sourceUrllinks directly to the original.
Asking an AI assistant for a summary
Run the aggregation in code first, then pass the AI only the document IDs, the Step 7 output and clear reading rules. Handed a raw table, an AI assistant tends to call reporting-company salary a group average or compare a company with a tiny reporting-company share directly with operating peers.
The following data are values totalled from the "Status of employees" (① Consolidated companies, ② Reporting company) of Japanese annual securities reports. The source of each is its document ID.
- Always keep the reporting company's headcount and the consolidated headcount apart.
- Average age, tenure and annual salary are all for the reporting company alone. Do not call them group averages. The scope of the salary figure follows the notes of the filing (for example, note 3 of NEC S100YBFV changes how seconded employees are treated from this fiscal year).
- Headcount by segment joins the consolidated and reporting-company tables by segment name. Write "—" for a segment with no row in the reporting-company table, and never write 0.
- Do not compare average salary of a company whose reporting company is under 5% of the group (Sony Group, 2.3%) with the others as higher or lower.
- When the API response has no reporting-company segment rows, write only that the table in the filing should be checked.
- Sony Group's consolidated headcount (94,900) is a disclosed figure rounded to the nearest hundred. Write 92,734 and 97.7% as values computed from that disclosed figure.
- Do not give opinions about whether a company is good or bad, and do not guess at reasons behind the figures.
## Five electronics makers (fiscal year ended March 2026, retrieved November 26, 2026)
(paste the output of Step 7)
Troubleshooting
Common issues and what to check:
| Symptom | What to check |
|---|---|
report.employees cannot be read |
The response is an array. Take body[0] (fetchWorkforce in Step 1) |
| The segment sum exceeds the total, or is 0 with subtotals only | Leave out the isSubtotal: true rows and distinguish an empty array, subtotals only, a partial sum and a sum above the total (Step 3) |
The reporting-company segments do not add up to employees |
The reporting-company table may cover a different scope, such as career-track staff only (8601). Use employees and consolidatedEmployees for totals |
| A segment shows "—" on the reporting-company side | The reporting-company table has no row for it (Mitsubishi Electric's "Other", and Sony Group's six segments other than Corporate (Common)). It is not 0. Check the table in the filing |
parentSegments is empty |
The API response has no reporting-company segment rows. Do not read it as "not disclosed"; check the table in the filing |
| Average annual salary looks extremely high, or is empty | It is a reporting-company figure. Check employees / consolidatedEmployees and the notes of the filing (for example, note 3 of NEC S100YBFV) |
| A 404 or an empty array comes back | The two symbols that returned 404 when this was written were 8951 and 9399. Print "No workforce information could be retrieved from this API" and keep 404, an empty array and a null field apart |
| A 429 comes back | The Free plan allows 10 requests per minute. Space the calls with GAP_MS. The code stops at a 429 and does not retry |
| Fiscal years differ between companies | To reproduce the five companies, pass --period 2026-03. When lining up companies with other year-ends, check fiscalPeriod |
Next: diversity disclosures within the group
In this guide we lined up reporting-company and group headcount, headcount by segment and reporting-company averages for five electronics makers. In deep-dive 11, we look at the same five companies' diversity disclosures—covering both the reporting company and the consolidated subsidiaries listed in the same annual report—to compare the share of women in management, men's childcare-leave uptake and the gender pay gap against the minimum, median and maximum of their subsidiaries.
Related links
- Workforce (
/docs/workforce) - Subsidiaries and affiliates (
/docs/subsidiaries) - Compare the group structure of Japanese companies (deep-dive 9)
- Compare human-capital disclosures of competitors by API (analysis 5)
- EDINET analysis guide (Learn)
- Display rules for the data
- Sample code repository
The series with screens and figures is on Qiita (in Japanese), "ZENITH Code Deep Dive 10".