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 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
- Analysis 4For companiesFor investorsTrack guidance revisions with an API: initial forecast, revisions and achievement rateTurn Japanese companies' published guidance into a table per fiscal year: initial forecast, each upgrade or downgrade, the actual result and the achievement rate./earnings-forecast /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
- Analysis 2For companiesFor investorsCompare competitors' segment revenue and profit with an API: business mix and marginsTurn the segment note of Japanese annual reports into one table: business mix, segment margins and capex, with totals separated, revenue reconciled and Python code./segments /income-statement
- Analysis 3For companiesFor investorsCompare free cash flow, capex and shareholder returns with an API: five-year tableA five-year capital allocation table for Japanese competitors: operating cash flow, capex, dividends, buybacks, equity ratio and net debt, built in JavaScript./cash-flow-statement /balance-sheet-statement /income-statement
- Analysis 5For companiesBenchmark human capital disclosures with an API: salary, women in management, pay gapCompare Japanese competitors' average salary, women in management, male parental leave and gender pay gap from annual reports, with parent-only and basis kept straight./workforce /diversity
- In-depth 8For companiesFor investorsCompare boards and officer pay of Japanese companies: head counts, female ratios, and pay by officer category with its breakdown, from annual securities reports via APIPull the "Officers" and "Officer remuneration" sections of Japanese annual securities reports by API and, in JavaScript, line up the board size and female ratio of five auto parts makers, plus pay per officer category: total, per head, and the share of each pay type. Covers why "of which outside directors" rows are not added, an unflagged "of which" row, head counts that include officers who left during the year, why there is no one-size-fits-all performance-linked share, and how to keep personal information out./directors /director-compensation
- In-depth 9For companiesFor investorsCompare the group structure of Japanese companies: subsidiary counts, fully owned subsidiaries, capital currencies, equity-method companies and "N others", from annual securities reports via APIPull the "Status of related companies" table of Japanese annual securities reports by API and, in JavaScript, compare five auto parts makers: consolidated subsidiaries, fully owned ones, foreign-currency capital, equity-method companies and other related companies. Covers why most companies are folded into "N others" and why the capital currency is only a hint at the country./subsidiaries
- In-depth 10For investorsFor companiesCompare the workforce of Japanese companies: reporting-company and group headcount, headcount by segment and average annual salary, from annual securities reports via APIPull the "Status of employees" table of Japanese annual securities reports by API and, in Node.js, compare five electronics makers: reporting-company and consolidated headcount, headcount by segment on both sides and average annual salary. Covers the share of each segment held by the reporting company, the 5% note, temporary staff, and how to read 404 and empty responses./workforce
articleRead disclosures and shareholders
Compare annual report text, major shareholders, ownership structure and 5% filings across competitors.
- In-depth 1For companiesFor investorsCompare risk factors across Japanese competitors: pull annual report text by API and line up the headings in PythonPull the "business risks" and "issues to address" sections of Japanese annual securities reports by API, split them into headings in Python, and compare five competitors. Covers keyword counts per heading and filings that paste text as images./text-blocks
- In-depth 2For companiesFor investorsCompare shareholder structures of Japanese companies: top 10 holders, ownership by category and 5% filings via APIPull 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./major-shareholders /shareholder-categories /large-holders
- In-depth 3For companiesFor investorsCompare cross-shareholdings of Japanese companies: share changes, sell-outs and mutual holdings from annual report disclosures via APIPull the shareholdings section of Japanese annual securities reports by API and compare the cross-shareholdings of four automakers and suppliers in JavaScript. Covers year-on-year share changes, holdings sold out during the year, deemed holdings, mutual holdings, and why a higher share count does not always mean a purchase./cross-shareholdings /major-shareholders
- In-depth 4For investorsFor companiesCompare major customers of Japanese companies: customer share of revenue from the major customers note of annual reports via APIPull the major customers note of Japanese annual reports by API and line up the main customers of five auto parts makers in JavaScript, with each customer's share of revenue. Covers dividing by full-year revenue for the same period, the difference between the notes and the sales-by-customer table, unnamed, prior-only and below-10% rows, and why customer names do not match across companies./main-customers /income-statement
- In-depth 5For investorsFor companiesCompare audit fees of Japanese companies: audit, non-audit and network fees from the annual report via APIPull the audit fee tables of Japanese annual reports by API and line up audit, non-audit and network fees for five auto parts makers in JavaScript. Covers the non-audit ratio, the difference between empty cells and 0, year-on-year changes, and extracting the audit firm name and audit tenure from the audit section text./audit-fees /text-blocks
- In-depth 6For companiesFor investorsCompare treasury shares of Japanese companies: own and cross-held treasury shares and their year-on-year change from the voting rights table via APIPull the treasury shares table from the voting rights section of Japanese annual reports by API and line up own and cross-held treasury shares of five auto parts makers in JavaScript, as a share of issued shares at year end. Covers finding the company's own row, the year-on-year change in percentage points, empty tables versus 0, the denominator for companies with class shares, and the difference from the treasury share count in the earnings release./treasury-shares /search-symbol
- In-depth 7For companiesFor investorsRead extraordinary reports of Japanese companies side by side: a timeline and reason counts for five companies, and the filings on significant events, via APIPull extraordinary reports of Japanese companies by API and, in JavaScript, put 48 filings from five auto parts makers on one timeline, count filing reasons per company and pick out the filings on events with a significant effect on financial position and results. Covers counting amended reports, filings with more than one reason, UTC versus Japan-time submission dates, the difference between a reason's name and what the filing is about, and output that leaves out personal information./extraordinary-reports /extraordinary-report-reasons
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 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
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