Endpoints
Financial Ratios
Endpoint:GET /stocks/{symbol}/ratios
Returns pre-computed financial ratios organized into groups. Use the group parameter to fetch one category at a time, or supply name to retrieve a single specific ratio by key (overrides group). Omit both to receive all available ratios.
Ratio groups
When to use
- Screening stocks by valuation (e.g. filtering for P/E below a threshold)
- Comparing profitability metrics between companies in the same sector
- Monitoring leverage trends across quarterly
ttmdata - Understanding why a company’s ROE changed using DuPont decomposition (was it margin expansion, or increased leverage?)
Health Scores
Endpoint:GET /stocks/{symbol}/scores
Computes one or more quantitative scoring models derived from financial statement data. Use the name parameter to request a specific model. Omit name (or pass all) to receive all three scores in a single response.
Piotroski F-Score
A nine-point scoring system that measures earnings quality and overall financial strength. Each of nine binary criteria contributes 1 point if met. The criteria span three dimensions:- Profitability: Positive ROA, positive operating cash flow, improving ROA, cash-based earnings exceeding accruals
- Leverage & liquidity: Decreasing long-term debt ratio, improving current ratio, no new share dilution
- Operating efficiency: Improving gross margin, improving asset turnover
Altman Z-Score
Predicts the probability of corporate bankruptcy within two years using a weighted combination of five financial ratios. Originally calibrated on public manufacturing companies; results for financial companies, utilities, or firms outside the US may be less reliable. InterpretationBeneish M-Score
Detects the likelihood of earnings manipulation using eight financial statement variables. Developed by Messod Beneish (1999) based on SEC enforcement actions. InterpretationNotes on using health scores
- Scores are computed from the most recently available financial statement data. Compare scores across multiple reporting periods to identify trends rather than relying on a single data point.
- These models are screening tools, not definitive judgments. A safe-zone Altman Z-Score does not guarantee financial health; a low Beneish M-Score does not clear a company of manipulation.
- Scores are most meaningful when benchmarked against peers in the same industry and business cycle stage.
