get_candlesticks
Retrieve candlestick and kline data for any instrument on BloFin exchange. Specify instrument ID, bar size, and optional time range to get historical price data.
Instructions
Get candlestick/kline data for an instrument.
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": {
"instId": "<instId>"
},
"name": "get_candlesticks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| instId | Yes | Instrument ID, e.g. BTC-USDT | |
| bar | No | Bar size, e.g. 1m, 5m, 15m, 30m, 1H, 4H, 1D, 1W, 1M. Default 1m. | |
| after | No | Pagination - return records earlier than this timestamp (ms) | |
| before | No | Pagination - return records newer than this timestamp (ms) | |
| limit | No | Number of results, max 300. Default 100. |