Skip to main content
Glama

Bybit MCP Server

by sammcj

get_kline

Fetch candlestick data for specific trading pairs on Bybit. Configure intervals, categories, and limits to retrieve up to 1000 kline records. Optional reference ID ensures data verification.

Instructions

Get kline/candlestick data for a trading pair. Supports optional reference ID for data verification.

Input Schema

NameRequiredDescriptionDefault
categoryNoCategory of the instrument (spot, linear, inverse)
includeReferenceIdNoInclude reference ID and metadata for data verification (default: false)
intervalNoKline interval
limitNoLimit for the number of candles (max 1000)
symbolYesTrading pair symbol (e.g., 'BTCUSDT')

Input Schema (JSON Schema)

{ "properties": { "category": { "description": "Category of the instrument (spot, linear, inverse)", "enum": [ "spot", "linear", "inverse" ], "type": "string" }, "includeReferenceId": { "description": "Include reference ID and metadata for data verification (default: false)", "type": "boolean" }, "interval": { "description": "Kline interval", "enum": [ "1", "3", "5", "15", "30", "60", "120", "240", "360", "720", "D", "M", "W" ], "type": "string" }, "limit": { "description": "Limit for the number of candles (max 1000)", "maximum": 1000, "minimum": 1, "type": "number" }, "symbol": { "description": "Trading pair symbol (e.g., 'BTCUSDT')", "type": "string" } }, "required": [ "symbol" ], "type": "object" }

Other Tools from Bybit MCP Server

Related Tools

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/sammcj/bybit-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server