Historical stock OHLCV bars (gzip required)
get_stock_barsHistorical US stock prices: OHLCV candles for US-listed tickers such as AAPL, TSLA and NVDA, regular session, as-traded (not split-adjusted), 1-minute to monthly intervals, up to 1,000 rows per call, paginated. Costs $0.01 USDC per call, paid with x402 on Base; failed calls are not charged.
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": {
"ticker": "<ticker>"
},
"name": "get_stock_bars"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | Inclusive upper bound. Default now. | |
| limit | No | ||
| start | No | Inclusive lower bound (YYYY-MM-DD or RFC3339). | |
| cursor | No | Opaque pagination cursor from a previous response's `meta.next_cursor`. | |
| ticker | Yes | US equity ticker (case-insensitive). | |
| interval | No | Bar interval. Default 1m. Stocks additionally support `1d`, `1w` (Monday-aligned), and `1mo` (calendar month), all aggregated from the same 1-minute history back to 2000. Prices are as-traded (not split/dividend adjusted). A `1d`/`1w`/`1mo` bar opens at midnight UTC of the period start. | 1m |