Skip to main content
Glama

Bybit MCP Server

get_order_history

Retrieve detailed order history by category, symbol, time range, and status. Use this tool to analyze past trades, manage accounts, and validate positions within the Bybit exchange ecosystem.

Instructions

Get order history

Input Schema

NameRequiredDescriptionDefault
categoryYesCategory (spot, linear, inverse, etc.)
endTimeNoEnd time in milliseconds
limitNoNumber of orders to retrieve
orderFilterNoOrder filter
orderIdNoOrder ID
orderLinkIdNoOrder link ID
orderStatusNoOrder status
startTimeNoStart time in milliseconds
symbolNoSymbol (e.g., BTCUSDT)

Input Schema (JSON Schema)

{ "properties": { "category": { "description": "Category (spot, linear, inverse, etc.)", "type": "string" }, "endTime": { "description": "End time in milliseconds", "type": "number" }, "limit": { "default": 50, "description": "Number of orders to retrieve", "type": "number" }, "orderFilter": { "description": "Order filter", "type": "string" }, "orderId": { "description": "Order ID", "type": "string" }, "orderLinkId": { "description": "Order link ID", "type": "string" }, "orderStatus": { "description": "Order status", "type": "string" }, "startTime": { "description": "Start time in milliseconds", "type": "number" }, "symbol": { "description": "Symbol (e.g., BTCUSDT)", "type": "string" } }, "required": [ "category" ], "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/kondisettyravi/mcp-bybit-node'

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