Order Book Depth (Bids & Asks) by Exchange & Pair
omnial/exchange-depth
Given an exchange, a trading pair, and a market type, returns that market's order book depth: the top bid and ask levels with price and quantity, the bid/ask spread in absolute and percentage terms, cumulative bid and ask depth, and the mid price.
Price
Up to $0.00819 per call; you pay what the call used
You pay the price shown. If a call turns out to cost more than its quote, you pay the actual price, capped at twice the quote. No monthly minimum. Top-ups start at $5.00.
Data source
Binance, OKX, Bybit, Coinbase, Kraken, Hyperliquid and other exchanges
Order book data from the exchange you select: Binance by default, or OKX, Bybit, Coinbase, Kraken, Hyperliquid and others.
Use it
Your AI assistant does the work: it finds this tool, shows you the price first, runs it, and you are charged when the run finishes. There is nothing to set up for this tool in particular.
Connect once and your AI can find and run this tool, and any other it needs.
For developers: the calls your assistant makes
// 1. search: find the tool
omnial_search({ query: "what you need" })
// 2. inspect: price and input schema
omnial_inspect({ tool: "omnial/exchange-depth" })
// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "omnial/exchange-depth" })
// 4. run: price the exact call first, then run it
omnial_execute({ tool: "omnial/exchange-depth", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "omnial/exchange-depth", input: { /* ... */ } })
// 5. settle: the call is charged when it finishes, nothing to doNot connected yet? Point your MCP client at https://mcp.eden-engine.com/mcp, then copy a config for your client.
Pricing
Every charge this tool can incur.
| Charge | Price |
|---|---|
Per call | $0.00819 |
- Updated
- Oct 27, 2026
Input and output schemas
Input schema
{
"type": "object",
"required": [
"pair"
],
"properties": {
"pair": {
"type": "string",
"minLength": 1,
"description": "Trading pair (e.g. BTC/USDT). Example: BTC/USDT."
},
"type": {
"enum": [
"spot",
"swap",
"perpetual",
"perp"
],
"type": "string",
"default": "spot",
"description": "Market type: spot for spot trading, swap/perpetual/perp for perpetual contracts. Example: spot. Defaults to \"spot\"."
},
"limit": {
"type": "integer",
"default": 20,
"maximum": 100,
"minimum": 1,
"description": "Number of price levels (1-100). Example: 20. Defaults to 20."
},
"exchange": {
"enum": [
"binance",
"okx",
"bybit",
"bitget",
"coinbase",
"kraken",
"gate",
"mexc",
"upbit",
"bitstamp",
"deribit",
"bitmex",
"bithumb",
"hyperliquid"
],
"type": "string",
"default": "binance",
"description": "Exchange identifier. Note: hyperliquid uses USDC-settled perps (e.g. BTC/USDC:USDC); pass USDC-quoted pairs when querying hyperliquid. Example: binance. Defaults to \"binance\"."
}
},
"additionalProperties": false
}Output schema
{
"type": "object",
"properties": {
"data": {
"type": "array",
"items": {
"type": "object",
"properties": {
"asks": {
"type": "array",
"items": {
"type": "object",
"properties": {
"price": {
"type": "number",
"description": "Ask price per unit of the base asset."
},
"amount": {
"type": "number",
"description": "Quantity available at this ask price, in the base asset."
}
},
"additionalProperties": false
},
"description": "Ask levels; 20 at the default limit of 20."
},
"bids": {
"type": "array",
"items": {
"type": "object",
"properties": {
"price": {
"type": "number",
"description": "Bid price per unit of the base asset."
},
"amount": {
"type": "number",
"description": "Quantity available at this bid price, in the base asset."
}
},
"additionalProperties": false
},
"description": "Bid levels; 20 at the default limit of 20."
},
"pair": {
"type": "string",
"description": "Echoes the requested trading pair, normalized to base/quote -- e.g. a hyperliquid request for 'BTC/USDC:USDC' reports pair as 'BTC/USDC'."
},
"spread": {
"type": "number",
"description": "Absolute gap between the best bid and best ask in quote-price terms, e.g. 0.01 on a binance spot book and 1.0 on a hyperliquid perpetual book."
},
"exchange": {
"type": "string",
"description": "Echoes the requested exchange."
},
"ask_depth": {
"type": "number",
"description": "Sum of all returned ask amounts (base asset)."
},
"bid_depth": {
"type": "number",
"description": "Sum of all returned bid amounts (base asset)."
},
"mid_price": {
"type": "number",
"description": "Midpoint between the best bid and the best ask."
},
"spread_pct": {
"type": "number",
"description": "The spread relative to the mid price, as a fraction -- e.g. 0.0000118 on a binance spot book (tight spot book) versus 0.00118 on a hyperliquid perpetual book."
}
},
"additionalProperties": false
},
"description": "One entry per requested pair (typically a single entry)."
},
"meta": {
"type": "object",
"properties": {
"cached": {
"type": "boolean",
"description": "Whether this response was served from the provider's cache."
}
},
"additionalProperties": false
}
},
"description": "The order book response.",
"additionalProperties": false
}