Get free API key
Docs menuexpand_more
travel_exploreTry in the API Viewer

Guides

Endpoints

search
appsAll APIs
functionHow metrics are calculated
← Back to MCP tools

MCP tool

get_market_cap_history

The MCP tool for Market capitalization history. Each call costs 10 token(s).

Key points

  • check_circleIt maps to the REST endpoint /stable/market-cap-history, 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 the daily market cap of one stock, calculated as the split-adjusted close × shares outstanding (excluding treasury stock) from the latest disclosed fiscal period, so buybacks and share issuance are reflected. Each fiscal period is used only from its disclosure date, so the past is never rewritten with information that was not yet public. A single request covers at most 10 years, and prices start on 4 January 2010 (or the listing date for stocks listed later).

Description sent to AI clients

Daily market capitalization of a Japanese stock: split-adjusted close x shares outstanding (treasury stock excluded) from the latest disclosed fiscal period, so buybacks and share issuance are reflected. Defaults to the last year; max 10 years per request; interval=weekly/monthly thins the series. 時価総額(円)の日次推移(分割調整後終値 × 開示済み決算の株数)。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

  • chatChart how a company's size has changed over time
  • chatSee how buybacks affected shares and market cap
  • chatCompare market cap trends with rivals

Arguments

Argument names are the same as the REST query parameters. Optional arguments can be omitted.

ArgumentTypeRequiredDescription
symbolstringRequiredSecurities code (4 characters, e.g. 7203 = Toyota Motor; alphanumeric codes such as 130A also work)
fromstring—Start date (YYYY-MM-DD). Defaults to one year before the end date
tostring—End date (YYYY-MM-DD). Defaults to today
intervalstringdaily | weekly | monthly—daily (default), weekly (last trading day of each week) or monthly (last trading day of each month)Default: daily

REST endpoint

This tool calls /stable/market-cap-history. 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: Chart how a company's size has changed over time

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_market_cap_history",
    "arguments": {
      "symbol": "7203"
    }
  }
}

The same data over REST:

curl "https://api.zenithcode.net/stable/market-cap-history?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.
warning

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_market_cap_history?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_market_cap_history cost per call?expand_more

10 token(s), the same as calling /stable/market-cap-history directly.

Can I show get_market_cap_history 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_market_cap_history return?expand_more

Returns the daily market cap of one stock, calculated as the split-adjusted close × shares outstanding (excluding treasury stock) from the latest disclosed fiscal period, so buybacks and share issuance are reflected. Each fiscal period is used only from its disclosure date, so the past is never rewritten with information that was not yet public. A single request covers at most 10 years, and prices start on 4 January 2010 (or the listing date for stocks listed later).

How can I verify the source of get_market_cap_history 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/market-cap-history API docs.

Which tools are used together with get_market_cap_history?expand_more

Common companions are get_market_capitalization, get_valuation_history, get_treasury_shares. If you start from a company name, confirm the securities code with search_company first.

info

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.