Docs menuexpand_more
MCP tool
get_fear_greed_index
Key points
- check_circleIt maps to the REST endpoint /stable/fear-greed, with the same response shape.
- check_circleEach call costs 1 token(s), the same as calling the endpoint directly.
- check_circleRequired arguments: none
What this tool returns
Returns ZENITH Code's own market sentiment score (0–100), computed from volatility momentum (inverted RSI(14) and deviation from the 20-day moving average). The response includes a label, the previous close, the score one month ago and the components.
Description sent to AI clients
Current market sentiment score (0-100) with label (Extreme Fear … Extreme Greed), previous close, one-month-ago score and components. ZENITH Code proprietary volatility-based composite. Fear & Greed スコア(自社計算)。
The model reads this description to choose the tool. It is written in both English and Japanese.
What you can answer with it
- chatSee at a glance whether the market is overheated or fearful
- chatCompare with the score a month ago to track sentiment changes
- chatShow it on a dashboard as a reference for trading decisions
Arguments
This tool takes no arguments.
REST endpoint
This tool calls /stable/fear-greed. Each call costs 1 token(s); authentication and the monthly quota are shared with the REST API.
GET /stable/fear-greed1 token(s)Examples
Example prompt
Using ZENITH Code data, help me with this: See at a glance whether the market is overheated or fearful
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_fear_greed_index",
"arguments": {}
}
}The same data over REST:
curl "https://api.zenithcode.net/stable/fear-greed" \ -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_fear_greed_index?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_fear_greed_index cost per call?expand_more
1 token(s), the same as calling /stable/fear-greed directly.
Can I show get_fear_greed_index 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_fear_greed_index return?expand_more
Returns ZENITH Code's own market sentiment score (0–100), computed from volatility momentum (inverted RSI(14) and deviation from the 20-day moving average). The response includes a label, the previous close, the score one month ago and the components.
How can I verify the source of get_fear_greed_index 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/fear-greed API docs.
Which tools are used together with get_fear_greed_index?expand_more
Common companions are get_market_breadth, get_sector_performance, get_economic_series. 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.

