Docs menuexpand_more
Cookbook · Applied
Cookbook: applied: build analyses and screens article by article
Key points
- check_circleEach article lists who it is for (investors, companies or developers) and the endpoints it uses.
- check_circleEach article is self-contained. A series with figures is also on Qiita (in Japanese).
monitoringRead results and company plans
Revenue and profit trends, margins, year-over-year growth and revisions to company forecasts, with periods and units aligned.
- Hands-on 1For developersFor investorsJapanese company revenue and operating income history via API: five years, checked for period length and consolidationPull full-year revenue and operating income for any Japanese listed company in yen with one API call, check period length, consolidation and accounting standard, then save a table, CSV and chart. Worked example with Toyota./income-statement
- Hands-on 2For developersFor investorsVerify operating margin from a financial data API against your own calculation: decimals, percent and percentage pointsThe API returns operating margin as a 0–1 decimal. Recompute it from yen revenue and operating income, check it against the API, and display it correctly as percent and percentage points, with Node.js code and five years of Toyota data./income-statement
- Hands-on 6For developersFor companiesCalculate year-over-year growth from financial statements without fooling yourselfCompute YoY from annual and quarterly income statements: match the same period a year earlier, skip incomparable pairs, handle loss-making bases, and report margins in points./income-statement
compare_arrowsCompare with competitors
Peer benchmark tables, segments, cash flow and balance sheet strength, and human capital, lined up on the same terms.
- Hands-on 3For developersFor investorsFor companiesCompare revenue and operating margin of two Japanese competitors via API, after checking fiscal period, length, consolidation and accounting standardBefore putting two companies side by side, check in code that both rows cover the same fiscal period, a full 12 months, consolidated statements and the same accounting standard. Worked example comparing Toyota and Honda for the year ended March 2025./income-statement
- Analysis 1For companiesFor developersPeer benchmarking with an API: ROE, ROA and revenue growth vs. sector quartilesBuild a competitor benchmarking table for Japanese listed companies: peer candidates, ROE, ROA and 3-year revenue growth, placed in sector quartiles and exported to CSV./peers /industry-benchmarks /income-statement /balance-sheet-statement
constructionBuild your own screens and tools
Recording sources, display rules for tables and charts, a proxy that hides your API key, and a private dashboard.
- Hands-on 4For developersBuild 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 dataRun 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./income-statement /quote
- Hands-on 5For developersFor companiesTrack the source of every financial figure: filing IDs, disclosure times, and restatements in tables and CSVRecord which filing every financial figure came from and when it was published, using the provenance object. Covers restatements, missing sources, UTC to JST, and safe CSV export./income-statement
- Hands-on 7For developersFor companiesDisplay rules for financial tables and charts: units, missing values, sources, and mobile-friendly statementsDisplay rules for financial tables and charts: units, rounding, null values, negatives, sources, and CSS that keeps wide financial statements readable on phones./income-statement
- Hands-on 8For developersFor investorsKeep your API key out of the browser: a local proxy for financial data, and how to verify live dataKeep the API key out of browser JavaScript with a small local Python proxy that blocks other sites and hides upstream errors, plus four checks after switching to live data./income-statement /quote
When an AI explains how to use the API
The page an AI should read first is "Start here for AI": what to read in which order, and the points that are easy to misread as wrong data.
Go to Start here for AIarrow_forwardFAQ for investors and developers
How do the basics and applied differ?expand_more
The basics show one task, such as charting dividend history, in a few lines of code. Applied, each article takes a task such as a peer comparison or an analysis screen from start to finish.
Can I read them without much programming?expand_more
The analysis and in-depth articles are written so that corporate planning and IR teams can follow them as steps for lining up competitors' disclosures. Code only automates those steps.
Are these the same as the Qiita articles?expand_more
The topics are the same, but the site articles are rewritten so each one finishes a task on its own. The illustrated series is on Qiita (in Japanese).
FAQ for AI builders and researchers
Can an AI agent follow the steps in an article?expand_more
The endpoints listed in each article return the same values through the MCP tools. Have the AI read the points in "Start here for AI" first.
When were the numbers in the articles taken?expand_more
Each article states when its data was fetched. Fetch current values from the API again.
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