get_klines
Fetch candlestick/OHLCV history for a trading pair across selectable intervals to analyze price action and market trends.
Instructions
Get candlestick/OHLCV data for a trading pair. Public endpoint (no auth required).
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": {
"category": "<category>",
"symbol": "<symbol>",
"interval": "<interval>"
},
"name": "get_klines"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | End timestamp in ms | |
| limit | No | Number of candles (default: 200, max: 1000) | |
| start | No | Start timestamp in ms | |
| symbol | Yes | Trading pair symbol (e.g., BTCUSDT) | |
| category | Yes | Product category | |
| interval | Yes | Kline interval (1=1min, D=1day, etc.) |