Bybit MCP Server

get_order_history

Get order history for the authenticated user

Input Schema

NameRequiredDescriptionDefault
baseCoinNoBase coin. Used to get all symbols with this base coin
categoryYesProduct typespot
limitNoMaximum number of results (default: 200)
orderFilterNoOrder filter
orderIdNoOrder ID
orderLinkIdNoUser customised order ID
orderStatusNoOrder status
symbolNoTrading symbol, e.g., BTCUSDT

Input Schema (JSON Schema)

{ "properties": { "baseCoin": { "description": "Base coin. Used to get all symbols with this base coin", "type": "string" }, "category": { "default": "spot", "description": "Product type", "enum": [ "spot", "linear", "inverse" ], "type": "string" }, "limit": { "description": "Maximum number of results (default: 200)", "enum": [ "1", "10", "50", "100", "200" ], "type": "string" }, "orderFilter": { "description": "Order filter", "enum": [ "Order", "StopOrder" ], "type": "string" }, "orderId": { "description": "Order ID", "type": "string" }, "orderLinkId": { "description": "User customised order ID", "type": "string" }, "orderStatus": { "description": "Order status", "enum": [ "Created", "New", "Rejected", "PartiallyFilled", "PartiallyFilledCanceled", "Filled", "Cancelled", "Untriggered", "Triggered", "Deactivated" ], "type": "string" }, "symbol": { "description": "Trading symbol, e.g., BTCUSDT", "type": "string" } }, "required": [ "category" ], "type": "object" }