Get profitability metrics
get_profitability_metricsMargins and return ratios (16 metrics): gross_margin, operating_margin, net_margin, ebitda_margin, return_on_equity, return_on_assets, return_on_invested_capital, return_on_tangible_equity, fcf_margin, nopat, nopat_reported_oi_proxy, nopat_margin, return_on_net_operating_assets, owner_earnings_estimate, owner_earnings_cash_proxy, owner_earnings_per_share. Flat 148-credit cost. Use when the user asks about profitability without naming a specific metric. POST /api/v1/metric/profitability; FINANCIAL_API_DOCUMENTATION.md. Requires the Starter plan or higher; formula_override requires Pro+.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as_of_date | No | As-of date "YYYY-MM-DD"; excludes filings filed after this date. Defaults to no cutoff. | |
| current_price | No | Current share price in USD for realtime price-sensitive ratios (> 0, ≤ 10,000,000, ≤ 4 decimals). Omit to get a hint instead. | |
| current_fx_rate | No | Fallback FX rate, used only when an up-to-date conversion rate is briefly unavailable on foreign-issuer filings (> 0, ≤ 1,000,000, ≤ 6 decimals). | |
| metric_group_id | Yes | Snapshot id from list_metric_snapshots identifying one filing-period's computed metrics. | |
| formula_override | No | Optional per-metric formula overrides, keyed by metric id, e.g. {"interest_coverage": {"concepts": ["OperatingIncomeLoss", "InterestExpense"], "operators": ["/"]}}. Each entry lists XBRL concepts and the operators combining them. Requires the Pro plan or higher. | |
| light_weight_mode | No | When true, return a leaner payload (drops the most verbose nested fields). Charged the same. Saves context when you already know exactly what you need. | |
| accept_suggested_formula | No | When true, accept the server's suggested formula for metrics that need one to compute. |