Get Historical Stock Prices
get_stock_pricesRetrieve historical OHLCV stock prices for any company using ticker, CIK, CUSIP, or ISIN, with configurable date range, record limit, and sort order.
Instructions
Get historical stock price data (OHLCV) for a company, with optional date range and ordering.
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": {
"identifier": "<identifier>"
},
"name": "get_stock_prices"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of price records | |
| order | No | Sort order by date | DESC |
| date_end | No | End date (YYYY-MM-DD) | |
| date_start | No | Start date (YYYY-MM-DD) | |
| identifier | Yes | Company identifier: ticker symbol (e.g. AAPL), CIK, CUSIP, or ISIN |