Binance Cryptocurrency MCP

get_klines

Retrieve Binance cryptocurrency candlestick data for a specified trading pair and time interval. Customize query with start/end timestamps, time zone, and limit to fetch up to 1000 K-lines for analysis.

Input Schema

NameRequiredDescriptionDefault
endTimeNoEnd timestamp (milliseconds)
intervalYesK-line interval, e.g. 1m, 3m, 5m, 15m, 30m, 1h, 2h, 4h, 6h, 8h, 12h, 1d, 3d, 1w, 1M
limitNoNumber of K-lines to return, default 500, max 1000
startTimeNoStart timestamp (milliseconds)
symbolYesTrading pair symbol, e.g. BTCUSDT
timeZoneNoTime zone, default UTC

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "endTime": { "description": "End timestamp (milliseconds)", "type": "number" }, "interval": { "description": "K-line interval, e.g. 1m, 3m, 5m, 15m, 30m, 1h, 2h, 4h, 6h, 8h, 12h, 1d, 3d, 1w, 1M", "type": "string" }, "limit": { "description": "Number of K-lines to return, default 500, max 1000", "type": "number" }, "startTime": { "description": "Start timestamp (milliseconds)", "type": "number" }, "symbol": { "description": "Trading pair symbol, e.g. BTCUSDT", "type": "string" }, "timeZone": { "description": "Time zone, default UTC", "type": "string" } }, "required": [ "symbol", "interval" ], "type": "object" }
ID: sq1g72mqqx