get_kline
Retrieve historical candlestick data for any symbol on Bybit. Specify product type, symbol, interval, and optional time range.
Instructions
Query kline/candlestick data.
Args:
category: Product type - spot, linear, inverse
symbol: Symbol name (e.g. BTCUSDT)
interval: Kline interval - 1,3,5,15,30,60,120,240,360,720,D,M,W
start: Start timestamp in milliseconds
end: End timestamp in milliseconds
limit: Limit for data size per page (max 200, default 200)
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_kline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | ||
| limit | No | ||
| start | No | ||
| symbol | Yes | ||
| category | Yes | ||
| interval | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |