Skip to main content
Glama

Bybit MCP Server

by sammcj

get_kline

Retrieve candlestick (kline) data for a trading pair on Bybit, with options to specify interval, limit, and include reference IDs for verification. Supports spot, linear, and inverse markets.

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" }

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