klines
Retrieve candlestick chart data for cryptocurrency trading symbols to analyze price movements and market trends over specified time intervals.
Instructions
Get Kline/candlestick bars for a symbol.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endTime | No | End time in ms | |
| interval | Yes | Kline interval (e.g., 1m, 5m, 1h, 1d) | |
| limit | No | Number of results. Default 500, max 1500. | |
| startTime | No | Start time in ms | |
| symbol | Yes | Trading symbol |
Input Schema (JSON Schema)
{
"properties": {
"endTime": {
"description": "End time in ms",
"type": "number"
},
"interval": {
"description": "Kline interval (e.g., 1m, 5m, 1h, 1d)",
"type": "string"
},
"limit": {
"description": "Number of results. Default 500, max 1500.",
"type": "number"
},
"startTime": {
"description": "Start time in ms",
"type": "number"
},
"symbol": {
"description": "Trading symbol",
"type": "string"
}
},
"required": [
"symbol",
"interval"
],
"type": "object"
}