Get fundamentals
get_fundamentalsRetrieve financial statements, valuation history, and key ratios for a single stock symbol, with concise or detailed line items across yearly, quarterly, or trailing periods.
Instructions
Financial statements, valuation history or key ratios for one symbol.
Statements come as one record per period, newest first. 'concise' keeps the key line items (revenue, net income, EPS, cash flow, debt...); 'detailed' returns every line.
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": {
"symbol": "<symbol>"
},
"name": "get_fundamentals"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| freq | No | Statement periods; 'trailing' = last twelve months (not balance). | quarterly |
| symbol | Yes | One Yahoo Finance symbol, e.g. AAPL. | |
| statement | No | income, balance (sheet), cashflow, valuation (history of market cap, P/E, EV/EBITDA...) or key_stats (margins, growth, debt, ownership). | income |
| response_format | No | 'concise' (default; up to 20,000 characters) or 'detailed' (up to 80,000). | concise |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| freq | No | yearly, quarterly or trailing. | |
| as_of | Yes | When this data was fetched from Yahoo Finance, in UTC. | |
| source | No | Data source and the yfinance version. | |
| symbol | Yes | ||
| periods | No | One record per period, newest first; line items as snake_case keys. | |
| warnings | No | Caveats such as delayed quotes, symbols that failed, or trimmed results. | |
| key_stats | No | ||
| statement | Yes | ||
| truncated | No | True when rows were left out to keep the response small. | |
| next_offset | No | Pass as `offset` to fetch the next rows, when the result is truncated. |