Docs menuexpand_more
travel_exploreTry in the API Viewer

Guides

Reference

Other pages

Endpoints

search
appsAll APIs
functionHow metrics are calculated

Cookbook · Applied · Hands-on 4

Build a private company analysis dashboard on a financial data API: a local proxy that hides your API key, and SVG charts that handle losses and missing data

Run a private dashboard that switches companies and metrics, using a public template. Learn how a local proxy keeps your API key out of the browser, how to draw SVG bars that tell losses from missing data, and how to read UTC timestamps, with fictional data and code.
For developers10 min read
open_in_newIllustrated series on Qiita (Japanese)The same topic is also published as an illustrated series on Qiita.

Endpoints used

Key points

  • A browser-based analysis page for your own use is easiest to keep safe in three layers: browser, local proxy and API, so the API key never reaches the browser.
  • The public company-analysis template runs its proxy on the Python standard library alone, and with fictional data it needs no key and makes no network calls.
  • In performance charts, draw losses (negative values) and missing data (null) as different things, and read timestamps as UTC.

Once you can render a chart image in Python, the next step is switching companies and metrics on screen. Changing a dropdown and having the table and charts redraw beats editing code each time. This page runs the company analysis template from the public examples, explains the key design decisions, and gives you small parts to reuse in your own page. It describes the layout and behavior in text and tables rather than screenshots.

Three layers: browser, local proxy, API

If browser JavaScript calls the API directly, the browser holds your API key. It shows up in developer tools and sits where extensions and other scripts can read it. The template splits the roles into three.

Layer Runs in Holds Role
Browser Your browser Display data only Company and metric selection, tables and charts
Local proxy Python on your computer (server.py) API key Validates requests from the page and calls the API
ZENITH Code API Internet — Returns income statements and the latest close

The browser only talks to http://127.0.0.1:8765 on your own machine. The API key lives inside the proxy process and is never sent to the browser.

Run the template on fictional data

You need Python 3.9+ and a browser. No packages, no Node.js.

git clone https://github.com/Crab-grass/zenith-code-examples.git
cd zenith-code-examples
python3 templates/company-analysis/server.py

When the terminal prints Open http://127.0.0.1:8765, open it in a browser on the same computer, and select EN for English. Stop the server with Ctrl+C. If the port is busy, add --port 8766 and change the URL to match. On Windows, start it with py -3 templates/company-analysis/server.py.

Use the repository's folder layout as is, rather than copying server.py on its own. The proxy imports shared code from python/zenith_examples.py. Opening index.html by double-clicking leaves the page empty, because the proxy that serves the data is not running.

At first you can pick two fictional companies, Example Precision and Example Cloud. No account, no API key and no network calls. Choose a company and select View company, and the company name, metric cards, performance chart, operating margin chart, financial table and sources redraw. The performance chart menu switches between revenue, operating profit and net income. Both actions redraw data already loaded and make no requests.

Example Cloud's operating income includes three years designed to show the difference in rendering (all values are fictional).

Fiscal period Revenue Operating income How it is drawn
2024-03 ¥4.2 billion −¥420 million Bar below the zero line
2025-03 ¥5.8 billion null No bar; a "no value" mark
2026-03 ¥7.6 billion ¥610 million Bar above the zero line

What the local proxy protects

server.py is about 140 lines, but it covers the checks a local-only proxy needs. Use it as a checklist if you write your own.

Check Details
Only accept your own machine Listens on 127.0.0.1 only. Returns 403 unless the Host header is 127.0.0.1:<port>
Only accept requests from the page Data fetches (POST) require an Origin of the same URL and a per-run token (X-Local-Token)
Narrow the input Body is JSON of 256 bytes or less with only symbol. Securities codes are 4–5 alphanumeric characters (optional .T suffix)
No parallel calls A request that arrives during a fetch gets 429
Keep the key inside The key comes from an environment variable or a hidden prompt. It is never sent to the browser or written to a file
Leave nothing extra behind No access logs. Upstream error bodies are not relayed to the page
Restrict what the page loads Content-Security-Policy blocks scripts from anywhere but the local server

The proxy is built for a single user. It is not suitable for a shared office server or the public internet, because it has no login or permission system.

API calls per fetch

With live data, each time you enter a securities code and press fetch, the proxy makes two API calls.

Endpoint Parameters Used for Tokens
/stable/quote symbol Latest close and its date 1
/stable/income-statement symbol, period=annual, limit=3 Three full years of income statement and sources 1

Opening the page, switching language and switching metrics make no API calls. There are no automatic refreshes or retries. A failed fetch is treated as a failure; partial data is not displayed.

The proxy combines both responses into one display object, snapshot.

snapshot
├─ symbol              securities code
├─ retrievedAt         when you fetched it (UTC)
├─ latestClose[]       /stable/quote response (price, priceDate, ...)
└─ annualFinancials[]  /stable/income-statement response (three full years)

snapshot as a whole is not an API format; it is a shape the template builds for display. Here is how each part of the page maps to fields.

Part of the page Fields Display unit
Revenue, operating income and net income cards and chart revenue, operatingIncome, netIncome JPY 100 million
Operating margin card and line operatingMargin (API value as is) % (0.125 in the API, 12.5% on screen)
Financial table The amounts above plus fiscalPeriodDays, accountingStandard JPY
Sources provenance.docId, provenance.announcedAt, updatedAt Japan time
Latest close price, priceDate JPY

SVG bars that handle losses and missing data

Two mistakes are common in performance charts: clipping negative values to zero, and letting null look like "¥0". The function below is a small part written separately from the template. It keeps the two apart and returns an SVG string, with no libraries.

// Draw income-statement amounts as SVG bars. Negative values go below the zero line; null draws "—" instead of a bar.
const isNum = (v) => typeof v === "number" && Number.isFinite(v);
const esc = (s) => String(s).replace(/[&<>"]/g, (c) => ({ "&": "&amp;", "<": "&lt;", ">": "&gt;", '"': "&quot;" })[c]);

export function barChartSvg(points, { width = 360, height = 200, unit = 1e8, unitLabel = "JPY 100M" } = {}) {
  const top = 20, bottom = height - 28;
  const scaled = points.map((p) => (isNum(p.value) ? p.value / unit : null));
  const known = scaled.filter((v) => v !== null);
  const max = Math.max(0, ...known), min = Math.min(0, ...known);
  const span = max - min || 1; // avoid dividing by zero when everything is null or 0
  const y = (v) => top + ((max - v) / span) * (bottom - top);
  const slot = width / points.length, barWidth = slot * 0.55;
  const parts = [`<line x1="0" x2="${width}" y1="${y(0)}" y2="${y(0)}" stroke="currentColor" stroke-opacity="0.4"/>`];
  points.forEach((p, i) => {
    const cx = slot * i + slot / 2, v = scaled[i];
    parts.push(`<text x="${cx}" y="${height - 8}" text-anchor="middle" font-size="11">${esc(p.label)}</text>`);
    if (v === null) {
      parts.push(`<text x="${cx}" y="${y(0) - 6}" text-anchor="middle" font-size="12">—<title>${esc(p.label)}: no value</title></text>`);
      return;
    }
    const y1 = Math.min(y(v), y(0)), h = Math.abs(y(v) - y(0));
    const text = `${esc(p.label)}: ${v.toLocaleString("en-US", { maximumFractionDigits: 1 })} ${unitLabel}`;
    parts.push(`<rect x="${cx - barWidth / 2}" y="${y1}" width="${barWidth}" height="${h}" fill="${v < 0 ? "#c2410c" : "#0f766e"}"><title>${text}</title></rect>`);
  });
  return `<svg viewBox="0 0 ${width} ${height}" role="img" aria-label="${esc(unitLabel)}">${parts.join("")}</svg>`;
}

Pass pairs of fiscal period and amount in yen, after sorting the API rows.

import { barChartSvg } from "./bars.mjs";

// rows: full-year income-statement rows. metric: a field name such as "revenue"
const points = rows
  .filter((r) => r.period === "FY")
  .sort((a, b) => a.fiscalPeriod.localeCompare(b.fiscalPeriod))
  .map((r) => ({ label: r.fiscalPeriod, value: r[metric] }));
document.querySelector("#chart").innerHTML = barChartSvg(points);

Given Example Cloud's operating income (−¥420 million, null, ¥610 million), the first bar goes below the zero line, the second shows "—" instead of a bar, and the third goes above the line.

What the function gets right

  • Always include zero in the axis range. Math.max(0, …) and Math.min(0, …) keep the zero line in view whether values are all positive or all negative. Bars grow from zero, so dropping zero from the range breaks the ratio between bar lengths.
  • Leave null out of the math. isNum() keeps only numbers. In JavaScript, Number(null) and null / 1e8 are 0, so dividing without a type check turns missing data into a ¥0 bar.
  • Show losses by direction and color. Negative bars sit below the zero line in a different color. Do not rely on color alone; <title> carries the value for screen readers and hover.
  • Always escape text. Even fiscal-period strings go through esc() before entering the SVG, so the page stays safe if the data source changes.

For line charts such as operating margin, do not connect points across a null year. The template draws a segment only when both neighboring points are numbers.

Read timestamps as UTC

The page shows several dates and times that mean different things. Decide how to treat each one.

Field Meaning Display
fiscalPeriod Period-end month As is, e.g. 2026-03
priceDate Trading date of the latest close As a date
provenance.announcedAt When the source filing was published (UTC) Convert to Japan time
updatedAt When the data pipeline updated the row (UTC) Convert to Japan time
retrievedAt When you fetched it (recorded by the template) Convert to Japan time

Timestamps are UTC. With a trailing Z, as in 2026-10-22T20:07:26Z, new Date() reads them correctly. But if you pass a string with no Z and no offset, such as 2026-10-22 20:07:26, new Date() treats it as the browser's local time. On a machine set to Japan time, that is nine hours off. The function below reads strings without a zone marker as UTC.

// Read a timestamp string as UTC, even without a trailing Z or +09:00; never as the browser's local time.
export function parseUtc(text) {
  if (typeof text !== "string" || !text) return null;
  const iso = text.trim().replace(" ", "T");
  const d = new Date(/(Z|[+-]\d\d:?\d\d)$/.test(iso) ? iso : iso + "Z");
  return Number.isNaN(d.getTime()) ? null : d;
}

export const toJst = (d) =>
  d ? new Intl.DateTimeFormat("en-US", { timeZone: "Asia/Tokyo", dateStyle: "medium", timeStyle: "short" }).format(d) : "—";

// toJst(parseUtc("2026-10-22 20:07:26")) → "Oct 23, 2026, 5:07 AM"

To show Japan time, pass timeZone: "Asia/Tokyo" to Intl.DateTimeFormat. It does not depend on the computer's settings, so the display is the same anywhere in the world. Treat fiscalPeriod and priceDate as dates and do not pass them through this function.

Connect live data

For live data, create an account, create an API key, and restart the proxy with --live.

export ZENITH_API_KEY="YOUR_API_KEY"   # if unset, you are prompted for it with hidden input
python3 templates/company-analysis/server.py --live

On the page, choose Connect live data, enter a securities code such as 7203 or 130A, and press Fetch data. .env files are not loaded automatically. There is no way to pass the key as a command-line argument, because it would stay in your shell history. For a full walkthrough of live data, see running the analysis page on live data.

Reading the numbers correctly

The latest close is not a real-time price

price in /stable/quote is the split-adjusted closing price on priceDate. It does not reflect intraday moves. This value and the price changes quote returns are exchange data. Keep their display inside your own private environment. See "Showing the page to others" below.

In the evening, endpoints can use different fiscal periods

Latest values such as quote are recomputed together in a daily update that starts at 18:30 JST on weekdays. Around that update, for example on the evening a company releases its earnings summary, some endpoints may use the new fiscal period while others still use the previous one for the same company. Check priceDate and each row's fiscalPeriod to confirm the values on the page are from the same point in time (when the latest values refresh).

Market cap in quote has exceptions

The template does not display it, but the quote response also includes market capitalization (marketCap). For newly listed companies, it is based on the share count at the pre-listing fiscal year-end and does not include shares issued in the IPO. Companies on TOKYO PRO Market have no financials loaded, so market cap is empty for them as well.

The template uses full-year data only

Financials are fetched with period=annual, full-year rows only. If you use quarterly rows, Q2 and Q3 income figures are cumulative from the start of the fiscal year. The template has no step that turns cumulative figures into single quarters, so add that subtraction yourself if you add quarters.

Units differ across the page

Cards and charts show JPY 100 million; the financial table shows full yen. The digits look different, but the underlying values are the same. Operating margin is the API's 0–1 decimal, turned into a percentage only for display. For years where revenue is zero, negative or missing, the API returns null operating margin and the page shows "—".

Period length, accounting standard and consolidation are not adjusted

The financial table shows fiscalPeriodDays and accountingStandard, but differences from fiscal year-end changes, consolidation scope changes or accounting standard changes are not adjusted. The conditions to check before computing year-over-year changes are covered in year-over-year changes.

Showing the page to others

The template code is MIT-licensed, but that does not grant rights to the API data.

  • Pages with fictional data can be shown to anyone. Every company name and figure is fictional.
  • Live financial figures can be shown to people outside your organization, or to users of your product, on the Business plan or higher.
  • Exchange data such as the latest close and price changes cannot be shown to third parties on any plan. Do not post screenshots with live prices on blogs, social media or external materials. Even within your organization, only the registered user can view it.

The full conditions are in display rights.

Troubleshooting

Symptom What to check
Page stays empty Did you open index.html directly? Use the http://127.0.0.1:… URL from the terminal
zenith_examples not found Are you running from the repository's folder layout?
Port already in use Is the server already running? Change both --port 8766 and the URL
Cannot open from a phone The proxy only serves the same computer. This is by design
Fetch button is disabled Did you start without --live?
Fetch returns 429 Did you press it again before the previous fetch finished?
No bar for a year That year is null, not ¥0. This is correct
Update times are nine hours off Are you passing timestamps without a zone marker to new Date()?

Related docs and articles

A Japanese series with screenshots is available on Qiita.

This page explains how to build an analysis page. It is not a recommendation to buy or sell any security.

Before you read the numbers

Points about the endpoints in this article that are easy to misread as wrong data.

  • By designTDnet-derived information is returned 24 hours after disclosure

    Under Article 7(1) of the JPX TDnet API service terms, information derived from TDnet (timely disclosures) is returned by the API and MCP 24 hours after the disclosure time (from 2026-11-13). Within 24 hours, rows of timely disclosures, dividends, dividend changes, splits, delisting schedules, earnings-release periods and earnings forecasts are left out, and TDnet PDFs (filing-document) return 403 tdnet_embargo with the time they become available (availableAt). Latest values (quote, key-metrics-latest, screener and so on) have no previous value to fall back to, so for stocks with a TDnet document in the last 24 hours the fields computed from documents (PER, PBR, dividend yield, market cap and so on) are null; prices and price changes are unaffected. The response headers X-TDnet-Embargoed-Count, X-TDnet-Embargoed-Symbols and X-TDnet-Embargo-Next-Release tell what was held back and when it becomes available. The boundary is disclosure time + 24 hours <= response time, compared in absolute time rather than Japan time. For shareholder benefits and dividend policies, versions sourced from TDnet are held back for 24 hours and the previous version is returned when there is one (versions from EDINET or company IR pages are not affected). Rows whose TDnet disclosure time is unknown are not returned. Calls whose whole content is held back (a list that is empty only because of this rule, or a single stock whose affected latest fields are all null) do not use tokens; calls where only part is held back do. EDINET filings (annual, extraordinary and large-holding reports) and stock prices are not affected.

    Endpoints:/disclosures/events-feed/filing-document/dividend-changes/dividends/dividends-calendar/dividends-bulk/dividend-streaks/splits/delisting-schedule/income-statement/balance-sheet-statement/cash-flow-statement/key-metrics/income-statement-short/balance-sheet-statement-short/cash-flow-statement-short/key-metrics-short/key-metrics-bulk/financial-statement-full/earnings-forecast/sga-breakdown/valuation-history/market-cap-history/quote/key-metrics-latest/batch-quote/batch-key-metrics-latest/market-capitalization/profile/screener/rankings/peers/screener-presets/industry-benchmarks/shareholder-benefits/shareholder-benefits-list/dividend-policy/dividend-policies

  • By designMetrics are refreshed on weekday evenings

    Prices and metrics are swapped in by a daily run that starts around 18:30 JST on weekdays, and metrics are swapped shortly before 19:00 (the finish time varies by day). If your requests straddle that window, bulk endpoints and per-symbol endpoints, or two different endpoints, can show different values. Fetching again at the same time brings them in line, so record when you fetched the data when you compare.

    Endpoints:/key-metrics-latest/key-metrics/valuation-history/quote/profile/key-metrics-bulk/batch-key-metrics-latest/batch-quote/quote-short-bulk/eod-bulk/dividends-bulk/dividend-streaks

  • By designTOKYO PRO Market companies have no financials

    TOKYO PRO Market (the market for professional investors) companies file no XBRL results, so their financials are not ingested; statements and the metrics and market capitalization calculated from financials or share counts are empty or null. Describe them as "financials not covered", not as missing data. Market-wide aggregates (rankings, market-breadth and so on) also exclude this market by default.

    Endpoints:/income-statement/balance-sheet-statement/cash-flow-statement/income-statement-short/balance-sheet-statement-short/cash-flow-statement-short/financial-statement-full/key-metrics/key-metrics-short/key-metrics-latest/market-capitalization/market-cap-history/valuation-history/profile

  • By designMarket cap is empty for all dates when no share count is disclosed

    Market capitalization needs a share count, so it is empty for every date for companies without such disclosure (TOKYO PRO Market, foreign companies, the Bank of Japan and similar). Preferred and class shares are also empty by design. market-cap-history, profile and key-metrics-latest are empty in the same way, so the endpoints do not contradict each other.

    Endpoints:/market-capitalization/market-cap-history/quote/profile/key-metrics-latest

  • By designMarket cap of new listings uses pre-listing share counts

    For newly listed companies, market capitalization is calculated from shares outstanding at the last period end before listing and excludes shares issued in the IPO. It is therefore understated until the share count is replaced with the first results after listing. When you publish it, note that it is based on the pre-listing share count.

    Endpoints:/market-capitalization/quote/batch-quote/key-metrics-latest/market-cap-history/profile

  • By designRight after listing, prior-year income and ratios can be empty

    The first earnings release after listing does not include full-year income for the prior year, so for newly listed companies the pre-listing income statement is empty and the prior-year row has only total assets and net assets. Before the first results, market cap and PER/PBR history are empty too. Describe it as "income before listing not covered".

    Endpoints:/income-statement/income-statement-short/valuation-history/market-cap-history/key-metrics-short

  • By designQuarterly income figures are year to date

    Q2 and Q3 income and cash-flow figures are cumulative from the start of the fiscal year. Listing them as single-quarter revenue makes Q3 look large. Subtract the previous quarter's cumulative value to get a single quarter, and use key-metrics for trailing-twelve-month (TTM) values.

    Endpoints:/income-statement/cash-flow-statement/income-statement-short/cash-flow-statement-short/key-metrics

  • By designPeriods before and after a switch from consolidated to standalone do not connect

    Each statement period carries a consolidation flag (consolidated or nonconsolidated). For companies that moved from consolidated to standalone reporting, or that became a different business through a share exchange, the reporting scope changes at that point, so prior-period-end values and growth rates do not connect across it. Align consolidation before comparing across periods.

    Endpoints:/income-statement/balance-sheet-statement/cash-flow-statement/income-statement-short/balance-sheet-statement-short/cash-flow-statement-short/financial-statement-full

  • By designJPY amounts and missing-field reasons in foreign-currency statements

    reportedCurrency identifies the statement currency. Available JPY amounts are returned. nullReasons identifies missing fields, including non_jpy_material for unavailable JPY amounts and source_missing:operating_income when the statement lacks operating income used for the margin. Foreign-currency rows without any JPY amount retain nullReason = non_jpy_material.

    Endpoints:/income-statement/balance-sheet-statement/cash-flow-statement

  • By designGross profit scope differs for companies with other operating revenue

    For companies that report operating revenue (such as retailers), revenue = net sales (netSales) + other operating revenue (otherOperatingRevenue), and whether grossProfit includes the latter depends on the company (grossProfitIncludesOtherOperatingRevenue). Use operatingGrossProfit (or grossProfit when it is null) to compare companies. Adding other operating revenue to grossProfit before subtracting SG&A can count it twice.

    Endpoints:/income-statement/income-statement-short/financial-statement-full

  • By designFor annual reports with both Japanese GAAP and IFRS statements, financial-facts and the statements can look different

    For companies whose annual report includes both Japanese GAAP and IFRS statements (2130, 436A, 4494, 6532 and others), the summary of business results in financial-facts comes from the Japanese GAAP tables, while balance-sheet-statement and the other statement endpoints use the IFRS tables the company has adopted, so totals such as total assets can look different. Both are as filed. accountingStandard in financial-facts is the standard declared for the whole document, so rows with Japanese GAAP tags also show IFRS. Check which table a value comes from by its tag name, not by accountingStandard. A trailing _notes in a tag name is added when ZENITH ingests the data and is not part of the original tag.

    Endpoints:/financial-facts/balance-sheet-statement/income-statement/cash-flow-statement

  • By designChange periods start on the same date n months earlier (or the previous trading day)

    changePct3m in returns starts from the close on the same date three months earlier (or the previous trading day if that date is a holiday). changePct1w, 1m and 6m are counted the same way, not by a number of trading days (such as 63 trading days back). Values computed from a trading-day count will differ slightly.

    Endpoints:/returns/quote/batch-quote/screener

  • Easy to misreadMarket cap does not equal a close times the share count in a filing

    The share count behind market cap reflects not only the count in earnings releases but also changes in treasury shares, such as buybacks and cancellations, so it can change from day to day. Prices are split-adjusted as well. Multiplying a day's close by the share count in a filing therefore does not reproduce market cap, and a mismatch is not a data error.

    Endpoints:/market-capitalization/market-cap-history/quote/key-metrics

  • Easy to misreadOperating income is not always gross profit minus SG&A

    Under Japanese GAAP, operating income = (operatingGrossProfit ?? grossProfit) − SG&A − (otherOperatingExpenses ?? 0). For companies with other operating revenue or with operating-expense lines besides SG&A, computing only grossProfit − SG&A does not match and looks like an error. Use this formula when you check the numbers.

    Endpoints:/income-statement/income-statement-short/financial-statement-full

  • Easy to misreadBulk vs per-symbol differences are usually about fetch time

    If you fetch bulk and per-symbol endpoints at different times, values can change across the daily update or new results and appear to disagree (for example PBR and market cap of new listings, or dividend streak years). When you compare, fetch both again at the same time.

    Endpoints:/key-metrics-bulk/dividends-bulk/eod-bulk/quote-short-bulk/batch-quote/batch-quote-short/batch-key-metrics-latest/key-metrics-latest/quote

  • Easy to misreadEPS can be negative even with positive net income

    Companies that deduct dividends on class shares when computing common-share EPS can show negative EPS even with positive net income, as in their earnings releases (7412 and 8836). A sign difference between net income and EPS is not an error by itself.

    Endpoints:/income-statement/key-metrics

  • Easy to misreadactualEps and estimateEps in earnings-calendar are for the quarter alone, not year to date or full year

    actualEps (reported) and estimateEps (estimate) in earnings-calendar are both earnings per share (yen) for that quarter alone (three months). Rows whose fiscalPeriod is FY also cover only the fourth quarter, not the full year. estimateEps is the market consensus, not the company forecast. Quarterly EPS in income-statement is cumulative from the start of the fiscal year, so the values differ (for 6230 in Q2, actualEps is 21.16 and the year-to-date figure is 38.27). Use the same basis, single quarter or year to date and full year, when you compare. Values are null for rows before the announcement, for reported rows whose results are not in yet, and for issues or periods without an estimate.

    Endpoints:/earnings-calendar/income-statement/income-statement-short

  • FixedMarket cap is now rounded to the yen

    Some issues had fractions of a yen in market cap (calculated from closes in 0.1-yen ticks or split-adjusted closes). quote, market-capitalization and related endpoints were rounded to the yen in version 81, and per-period values in key-metrics by a data-platform fix, so the latest value no longer differs from market-cap-history by half a yen. Fractions in older responses are not errors and do not matter once rounded to yen or hundreds of millions of yen.

    Fixed in: version 81 (2026-11-03); data platform #3183 (2026-11-03)Endpoints:/quote/market-capitalization/batch-quote/profile/screener/rankings/key-metrics/key-metrics-bulk

  • FixedShare counts added for companies whose releases are PDF only

    For companies whose earnings releases are PDF only and for some new listings (17 issues including 9334), share counts, market cap and BPS were empty. On Nov 3 share counts began to be read from PDF releases as well, which filled them, and 9334's split adjustment was corrected. Values that were empty before then are present if you fetch again.

    Fixed in: data platform #3178 and #3185 (2026-11-03)Endpoints:/market-capitalization/quote/market-cap-history/key-metrics/key-metrics-latest

  • FixedStandalone income for periods with a first subsidiary at year end is back

    When a company acquired its first subsidiary at year end, the annual report had a consolidated balance sheet only and standalone income and cash-flow statements only, and those periods were missing entirely from the annual income and cash-flow data (12 periods, including 5572, 9262, 7370 and 3370). Those periods now return income and cash flow flagged consolidation: nonconsolidated, while the same period's balance sheet is consolidated. Mind the flag when comparing with adjacent periods.

    Fixed in: version 79 and data platform #3177 (2026-11-03)Endpoints:/income-statement/cash-flow-statement/income-statement-short/cash-flow-statement-short

  • FixedPeriods with no values are no longer returned

    Previously, rows for periods with every value null and no source could be returned (some cash-flow periods for 648A and 624A, for example). Since version 48, periods with no values are not returned (except non-yen periods, which come with nullReason). An all-null row in an older response does not mean results existed for that period.

    Fixed in: version 48 (2026-11-02)Endpoints:/income-statement/balance-sheet-statement/cash-flow-statement/income-statement-short/balance-sheet-statement-short/cash-flow-statement-short/financial-statement-full

visibility_off
The screens and numbers in these articles leave out stock prices and metrics calculated from them. Before showing live data on your own screens, check what you may display. What you can display
gavel

Disclaimer

This page explains how to use a Japanese equity data API and how its data is defined. It is not a solicitation to invest or a recommendation to buy or sell any security. The content reflects information at the time of writing and is not guaranteed to be accurate or complete. Investment decisions are your own responsibility.

What you may show or provide to third parties depends on your plan and Article 8 of the Terms. Exchange data such as stock prices may not be shown to third parties on any plan. Edited or processed information from which the original stock prices or similar market data can be readily reconstructed is treated as exchange data and may not be displayed or redistributed to third parties. No plan or separate agreement with us overrides this restriction. Terms, Article 8 · Data sources and terms of use