Docs menuexpand_more
MCP tool
get_sector_performance
Key points
- check_circleIt maps to the REST endpoint /stable/sector-performance, with the same response shape.
- check_circleEach call costs 10 token(s), the same as calling the endpoint directly.
- check_circleRequired arguments: none
What this tool returns
Returns price changes for each TSE 33-sector over 1 day, 1 week, 1 month and year to date, both as the median stock and as a market-cap-weighted figure. The first row is the whole market (ALL), followed by sectors ranked by the period, basis and order you choose. Only common stocks priced on the latest trading day are included, and changes are split-adjusted 0–1 decimals (0.02 = +2%).
Description sent to AI clients
Which sectors are up or down? Price change by TSE 33-sector over 1 day, 1 week, 1 month and year to date — both the median stock and the market-cap-weighted figure — ranked by the chosen period. An all-market row comes first. Changes are split-adjusted decimals (0.02 = +2%). 東証33業種別の騰落率(1日・1週・1か月・年初来。中央値と時価総額加重)。どの業種が上がっているかに。Costs 10 tokens.
The model reads this description to choose the tool. It is written in both English and Japanese.
What you can answer with it
- chatSee which sectors are rising or falling today
- chatCompare the strongest and weakest sectors year to date
Arguments
Argument names are the same as the REST query parameters. Optional arguments can be omitted.
| Argument | Type | Required | Description |
|---|---|---|---|
| period | string1d | 1w | 1m | ytd | — | Period used for ranking: 1d, 1w, 1m or ytd (year to date). Default 1dDefault: 1d |
| basis | stringweighted | median | — | Ranking basis: weighted = market-cap weighted (default), median = median stockDefault: weighted |
| order | stringasc | desc | — | Sort order: desc = best first (default), asc = worst firstDefault: desc |
REST endpoint
This tool calls /stable/sector-performance. 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: See which sectors are rising or falling today
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_sector_performance",
"arguments": {}
}
}The same data over REST:
curl "https://api.zenithcode.net/stable/sector-performance" \ -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.
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_sector_performance?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_sector_performance cost per call?expand_more
10 token(s), the same as calling /stable/sector-performance directly.
Can I show get_sector_performance 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_sector_performance return?expand_more
Returns price changes for each TSE 33-sector over 1 day, 1 week, 1 month and year to date, both as the median stock and as a market-cap-weighted figure. The first row is the whole market (ALL), followed by sectors ranked by the period, basis and order you choose. Only common stocks priced on the latest trading day are included, and changes are split-adjusted 0–1 decimals (0.02 = +2%).
How can I verify the source of get_sector_performance 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/sector-performance API docs.
Which tools are used together with get_sector_performance?expand_more
Common companions are get_industry_benchmarks, get_market_movers, get_market_breadth. 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.

