Get stock reference data
tossinvest_get_stocksResolve stock symbols into reference data—name, market, security type, currency, listing status, and shares outstanding—to verify a listing before trading or calculate market cap.
Instructions
Get reference/master data for one or more symbols: names, listing market, security type, currency, listing status and shares outstanding.
Use this to resolve what a symbol actually is, to check a symbol is still listed and tradable before ordering, or to get the shares-outstanding figure needed for a market-cap calculation (market cap = lastPrice x sharesOutstanding).
Args:
symbols (string): Comma-separated symbols, max 200, no spaces.
response_format ('markdown' | 'json'): default 'markdown'.
Returns { count, stocks: [{ symbol, name, englishName, isinCode, market, securityType, isCommonShare, status, currency, listDate, delistDate, sharesOutstanding, leverageFactor, koreanMarketDetail }] }.
market: KOSPI, KOSDAQ, NYSE, NASDAQ, AMEX, KR_ETC, US_ETC
securityType: STOCK, FOREIGN_STOCK, DEPOSITARY_RECEIPT, INFRASTRUCTURE_FUND, REIT, ETF, FOREIGN_ETF, ETN, STOCK_WARRANTS
status: SCHEDULED (not yet listed), ACTIVE, DELISTED
isCommonShare: false for preferred shares
koreanMarketDetail (KR symbols only): { liquidationTrading, nxtSupported, krxTradingSuspended, nxtTradingSuspended }
This does NOT search by company name — it takes symbols only. It also returns no prices; use tossinvest_get_prices for those.
Errors: 404 stock-not-found when a symbol does not exist.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbols | Yes | Comma-separated stock symbols, up to 200 (e.g. '005930,000660' or 'AAPL,MSFT'). No spaces. | |
| response_format | No | Output format: 'markdown' for a compact human-readable summary, 'json' for the complete raw payload. | markdown |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | ||
| stocks | Yes | ||
| truncated | No | ||
| truncation_message | No |