Docs menuexpand_more
MCP tool
get_xbrl_facts
Key points
- check_circleIt maps to the REST endpoint /stable/financial-facts, with the same response shape.
- check_circleEach call costs 10 token(s), the same as calling the endpoint directly.
- check_circleRequired arguments: symbol
What this tool returns
Returns raw XBRL facts tagged in the latest (or a specified) annual securities report, one row per element and context, with Japanese and English labels, dimension members and numeric or text values. Filter by category and by a case-insensitive part of the element name (tag). Up to 2,000 facts per call. Ratios are 0–1 decimals (0.1 = 10%).
Description sent to AI clients
Raw XBRL facts from the annual securities report, one row per element × context with Japanese/English labels, dimension members and numeric or text value. Narrow with `category` (Balance_Sheet, Income_Statement, Comprehensive_Income, Cash_Flow, Changes_In_Equity, Notes_and_Other) and `tag` (case-insensitive substring of the element name, e.g. "TotalAssets"). Ratios are decimals. 有報の XBRL ファクト(要素 × コンテキスト)。category と要素名の部分一致で絞り込み。
The model reads this description to choose the tool. It is written in both English and Japanese.
What you can answer with it
- chatPull a specific item such as total assets directly by its tag name
- chatLook up note figures that are not in standard statement endpoints
- chatFetch all balance sheet items for your own analysis
Arguments
Argument names are the same as the REST query parameters. Optional arguments can be omitted.
| Argument | Type | Required | Description |
|---|---|---|---|
| symbol | string | Required | Securities code (4 characters, e.g. 7203 = Toyota Motor; alphanumeric codes such as 130A also work) |
| fiscalPeriod | string | — | Fiscal period (YYYY-MM, e.g. 2026-03). Defaults to the latest annual securities report |
| category | stringBalance_Sheet | Income_Statement | Comprehensive_Income | Cash_Flow | Changes_In_Equity | Notes_and_Other | Notes_and_Other_Meta | — | Category (Balance_Sheet, Income_Statement, Comprehensive_Income, Cash_Flow, Changes_In_Equity, Notes_and_Other, Notes_and_Other_Meta). Omit for all |
| tag | string | — | Part of the element name (case-insensitive) |
| limit | integer | — | Maximum number of rows to return (default 500, max 2,000)Default: 500Range: 1–2000 |
REST endpoint
This tool calls /stable/financial-facts. Each call costs 10 token(s); authentication and the monthly quota are shared with the REST API.
Examples
Example prompt
Using ZENITH Code data, help me with this: Pull a specific item such as total assets directly by its tag name
An example tools/call request sent by the AI client, with the required arguments only.
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "get_xbrl_facts",
"arguments": {
"symbol": "7203"
}
}
}The same data over REST:
curl "https://api.zenithcode.net/stable/financial-facts?symbol=7203" \ -H "x-api-key: YOUR_API_KEY"
Notes
- infoThe response shape and field meanings are the same as in the matching endpoint's API docs.
- infoThis tool is read-only. It never writes data or changes settings.
- infoPass a four-character securities code as symbol (e.g. 7203). If you only know the name, look it up with search_company first.
Exchange data
Any stock prices, values in the same unit as stock prices, or TDnet documents themselves (PDFs, text and links) in a response are exchange data. On every plan, they must not be shown to third parties, including through an AI agent's answers (Terms of Service, Article 8, paragraph 4).
FAQ for investors and developers
What do I need to use get_xbrl_facts?expand_more
An MCP-capable AI client and a ZENITH Code API key. It works on every plan. See Using MCP for setup.
How many tokens does get_xbrl_facts cost per call?expand_more
10 token(s), the same as calling /stable/financial-facts directly.
Can I show get_xbrl_facts results in my own service?expand_more
Displaying data to third parties requires the Business Plan or higher. Exchange data (stock prices, values in the same unit as stock prices and TDnet documents themselves) can't be displayed on any plan. See What you can display for details.
FAQ for AI systems and researchers
What does get_xbrl_facts return?expand_more
Returns raw XBRL facts tagged in the latest (or a specified) annual securities report, one row per element and context, with Japanese and English labels, dimension members and numeric or text values. Filter by category and by a case-insensitive part of the element name (tag). Up to 2,000 facts per call. Ratios are 0–1 decimals (0.1 = 10%).
How can I verify the source of get_xbrl_facts results?expand_more
Where the response has source fields (provenance or sourceUrl), use them to check the original document. Which fields exist is listed in the response fields of the /stable/financial-facts API docs.
Which tools are used together with get_xbrl_facts?expand_more
Common companions are get_full_financial_statement, get_income_statement, get_balance_sheet. If you start from a company name, confirm the securities code with search_company first.
Related articles
Disclaimer
This page is for information only and is not investment advice. It does not recommend buying or selling any security. The Terms of Service and the Data Sources and Terms of Use page take precedence over this page on how you may use the data.

