Peer Companies
get_peersComparison references for one company across KR / US / TW / JP / EU. The default uses a sourced business theme or broad source classification and does not assert direct competition or add unrelated companies to fill the limit. Explicit rank='size' returns same-currency size references and does not assert an industry relationship. Also returns the company's business-segment revenue split where available (Japan from 有価証券報告書 XBRL, the US from SEC DERA financial-statement datasets; US segment names are usually end markets, not industries) — informational unless rank='segments'.
Args:
company: US ticker ('AAPL'), KR 6-digit code ('005930'), TW/JP 4-digit code ('2330', '7203'), or a company name (local or English).
market: 'kr'|'us'|'tw'|'jp'|'eu' (optional) — disambiguates codes/names shared across markets (TW and JP both use 4-digit codes; 'eu' companies are addressed by ISIN).
limit: 1-10 peers (default 5).
same_market_only: true = restrict peers to the company's own market (default false — a KR chipmaker can sit next to a US one).
rank omitted = business-related references; 'size' = explicit size references with verified equal market-cap currency; 'segments' = rank by business-mix similarity — each company's segment revenue shares are mapped to standard industries (companies without segment data count as 100% their own industry) and compared by cosine similarity, ties broken by normalized size. Conglomerates (Sony: games/music/pictures/electronics/finance) then get conglomerate peers instead of whichever single bucket they were filed under.
response_format: 'markdown' (default) or 'json'.
Returns: existing fields plus policy_version, purpose, insufficiency_reason; each peer also has selection_reason, comparison_role and evidence_status. Broad/theme rows are business-related references, not verified direct competitors. Explicit size rows are size-reference only.
Examples:
{company:'7203'} -> Toyota + transportation-equipment peers, with its Automotive / Financial Services segment split
{company:'005930', same_market_only:true} -> Samsung Electronics + KR tech-hardware peers only
{company:'6758', rank:'segments'} -> Sony ranked against other multi-segment conglomerates by business mix
Use when: building a comparison table or choosing competitors for a financial comparison. Don't use for strategy screens (screen_*) or for full financial statements (get_dart_financials / get_edgar_financials). Notes: curated business themes remain separate from official company-level classifications. Segment names may be geographic (Japan/Asia/USA) when a company defines its reportable segments by region. Unverified cross-currency absolute market-cap ordering is never used. Errors: unknown/ambiguous company -> candidate list; no classification -> basis_kind='size' with a note.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rank | No | Omit for business-related references; 'size' explicitly requests same-currency size references; 'segments' uses business-mix similarity | |
| limit | No | Peers to return (default 5) | |
| market | No | Restrict resolution to one market ('eu' = ESEF filers, identified by ISIN) | |
| company | Yes | Ticker, KR 6-digit code, TW/JP 4-digit code, or name | |
| response_format | No | Output format (default markdown) | |
| same_market_only | No | Only peers from the company's own market |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as_of | No | ||
| basis | No | ||
| notes | No | ||
| peers | Yes | ||
| sector | No | ||
| company | Yes | ||
| segments | No | ||
| data_as_of | No | ||
| industry_mix | No |