get_historical
Retrieve OHLCV historical price data for any stock or index globally with customizable time range and interval. Supports US, NSE, BSE, and major indices.
Instructions
Get OHLCV historical price data for any stock or index globally. Supports US stocks (AAPL), NSE stocks (RELIANCE.NS), BSE stocks (HDFCBANK.BO), and indices (^NSEI, ^GSPC). Range: 1d, 5d, 1mo, 3mo, 6mo, 1y, 2y, 5y, 10y, ytd, max Interval: 1m, 5m, 15m, 30m, 1h, 1d, 1wk, 1mo
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_historical"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| range | No | Time range (default: 3mo) | 3mo |
| symbol | Yes | Ticker symbol (e.g. TCS.NS, AAPL, ^NSEI) | |
| interval | No | Bar interval (default: 1d) | 1d |