Get candles (OHLC)
get_candlestickFetch OHLCV candlestick data for a Kraken trading pair, set candle interval, limit results, and page back using a Unix timestamp.
Instructions
OHLCV candles for a pair. Kraken returns up to 720 candles per call, most recent last. Use since (Unix seconds) to page further back.
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": {
"pair": "<pair>"
},
"name": "get_candlestick"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pair | Yes | Trading pair, e.g. "BTC/USD", "ETHEUR", "XBTUSDT". Separators and case do not matter. | |
| limit | No | Keep only the most recent N candles. | |
| since | No | Return candles after this Unix timestamp (seconds). | |
| interval | No | Candle size: 1m, 5m, 15m, 30m, 1h, 4h, 1d, 1w, 2w, or the minutes as a number (1, 5, 15, 30, 60, 240, 1440, 10080, 21600). | 1h |