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

search_company

The MCP tool for Search companies by securities code. Each call costs 1 token(s).

Key points

  • check_circleIt maps to the REST endpoint /stable/search-symbol / /stable/search-name, with the same response shape.
  • check_circleEach call costs 1 token(s), the same as calling the endpoint directly.
  • check_circleRequired arguments: query

What this tool returns

Searches companies whose securities code starts with the text you enter (prefix match). For example, 72 returns codes beginning with 72. Up to 50 rows can be returned.

Searches companies by part of the Japanese or English company name (partial match). Enter at least 2 characters. Up to 50 rows can be returned.

Description sent to AI clients

Find a Japanese listed company by ticker code or by name (Japanese or English). Use this first when the user names a company but you do not know its ticker code. 証券コードまたは社名(日本語/英語)から日本の上場企業を検索します。

The model reads this description to choose the tool. It is written in both English and Japanese.

What you can answer with it

  • chatShow code suggestions in an input form
  • chatFind a company from a partially remembered securities code

Arguments

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

ArgumentTypeRequiredDescription
querystringRequiredSecurities code to search (prefix match)
limitinteger—Maximum number of rows to return (default 10, max 50)Default: 10Range: 1–50

REST endpoint

This tool calls /stable/search-symbol / /stable/search-name. Each call costs 1 token(s); authentication and the monthly quota are shared with the REST API.

The endpoint depends on the argument: a four-character securities code goes to code search, anything else to name search.

Examples

Example prompt

Using ZENITH Code data, help me with this: Show code suggestions in an input form

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": "search_company",
    "arguments": {
      "query": "7203"
    }
  }
}

The same data over REST:

curl "https://api.zenithcode.net/stable/search-symbol?query=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.
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 search_company?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 search_company cost per call?expand_more

1 token(s), the same as calling /stable/search-symbol / /stable/search-name directly.

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

Searches companies whose securities code starts with the text you enter (prefix match). For example, 72 returns codes beginning with 72. Up to 50 rows can be returned.

How can I verify the source of search_company 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/search-symbol / /stable/search-name API docs.

Which tools are used together with search_company?expand_more

Common companions are get_company_profile, get_quote. 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.