Get quotes
get_quotesRetrieve latest prices, daily changes, day ranges, volume, and 52-week ranges for up to 25 Yahoo Finance symbols, with per-symbol errors and market time/delay details.
Instructions
Latest price, daily change, day range, volume and 52-week range for up to 25 symbols.
Symbols without data are listed in errors instead of failing the whole call.
Check market_time and delay_min before acting on a price.
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": {
"symbols": "<symbols>"
},
"name": "get_quotes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbols | Yes | Up to 25 Yahoo Finance symbols, e.g. ['AAPL', 'SAP.DE', 'BTC-USD', '^GSPC', 'EURUSD=X']. | |
| include_details | No | Add market cap, P/E, dividend yield, bid/ask, Yahoo's market state, quote source and delay (one more Yahoo request per symbol). | |
| response_format | No | 'concise' (default; up to 20,000 characters) or 'detailed' (up to 80,000). | concise |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as_of | Yes | When this data was fetched from Yahoo Finance, in UTC. | |
| errors | Yes | Symbols without data, and why. | |
| quotes | Yes | One entry per symbol that has data. | |
| source | No | Data source and the yfinance version. | |
| warnings | No | Caveats such as delayed quotes, symbols that failed, or trimmed results. | |
| 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. |