Get Peer Comparison
get_peer_comparisonRank a company against ALL SEC filers for one metric and calendar period (frames API). Uses the company's own current XBRL tag unless overridden.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"ticker": "<ticker>"
},
"name": "get_peer_comparison"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | Explicit XBRL tag override, e.g. Revenues | |
| unit | No | Unit, e.g. USD (default USD) | USD |
| metric | No | Metric to rank (revenue, gross_profit, operating_income, net_income, eps_diluted, total_assets, total_liabilities, total_equity, cash, long_term_debt, operating_cash_flow, capex); default revenue | revenue |
| period | No | CY2024 or CY2024Q4; omit for latest available year | |
| ticker | Yes | Stock ticker, e.g. AAPL | |
| taxonomy | No | XBRL taxonomy (default us-gaap) | us-gaap |