us-stock-history
Retrieve historical OHLCV bars for US stocks, ETFs, or indices with custom resolutions and Unix timestamps. No API key required.
Instructions
Historical OHLCV bars for any US stock, ETF, or index. TradingView-compatible resolution (D, W, M, 60, 15, 5, 1). Pass Unix timestamps for from/to. $0.005/call — no API key required. Use us-stock-price for live quotes; equity-technicals for indicators.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "us-stock-history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ticker | No | US ticker symbol (e.g. AAPL, SPY, QQQ, ^VIX, BRK-B). Case-insensitive. | |
| resolution | No | Bar resolution: 1/5/15/60/240 = minutes, D = daily, W = weekly, M = monthly. Default: D. | |
| from | No | Window start as Unix seconds. Default: 90 days ago. | |
| to | No | Window end as Unix seconds. Default: now. |