Skip to main content
Glama

Bybit MCP Server

by sammcj

get_order_history

Retrieve historical order details for a user on Bybit, including status, symbol, and category, to monitor and analyze trading activity.

Instructions

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

You must be authenticated.

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