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.
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 |