Skip to main content
Glama

Bybit Server

get_orderbook

Fetch real-time orderbook data for specified trading pairs on Bybit, including symbol, limit, and category (spot, linear, inverse). Streamline market analysis and trading decisions.

Instructions

Get orderbook data :parameter symbol: Symbol (e.g., BTCUSDT) limit: Number of orderbook entries to retrieve category: Category (spot, linear, inverse, etc.) Args: category: Category (spot, linear, inverse, etc.) symbol (str): Symbol (e.g., BTCUSDT) limit (int): Number of orderbook entries to retrieve Returns: Dict: Orderbook data Example: get_orderbook("spot", "BTCUSDT", 10) Reference: https://bybit-exchange.github.io/docs/v5/market/orderbook

Input Schema

NameRequiredDescriptionDefault
categoryYesCategory (spot, linear, inverse, etc.)
limitNoNumber of orderbook entries to retrieve
symbolYesSymbol (e.g., BTCUSDT)

Input Schema (JSON Schema)

{ "properties": { "category": { "description": "Category (spot, linear, inverse, etc.)", "title": "Category", "type": "string" }, "limit": { "default": 50, "description": "Number of orderbook entries to retrieve", "title": "Limit", "type": "integer" }, "symbol": { "description": "Symbol (e.g., BTCUSDT)", "title": "Symbol", "type": "string" } }, "required": [ "category", "symbol" ], "title": "get_orderbookArguments", "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/dlwjdtn535/mcp-bybit-server'

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