Market Depth Lab
v0.2.2Read-only Hyperliquid, funding-rate and cross-exchange perpetual spread tools.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
calculate_hyperliquid_fees Calculate Hyperliquid fees
Estimate Hyperliquid spot or perpetual trading fees from notional, maker/taker role, fee tier, discounts, asset multiplier, maker rebate, and builder fee. This is a transparent estimate, not an exchange quote.
| Parameter | Type | Description |
|---|---|---|
notional_usd * | number | One-side trade notional. |
asset_fee_multiplier | number | |
builder_fee_bps | number | |
maker_rebate_percent | number | |
market | string | |
referral_discount_percent | number | |
role | string | |
sides | number | 1 for entry only, 2 for entry plus exit. |
staking_discount_percent | number | |
tier | integer | Hyperliquid fee tier, 0 through 6. |
get_hype_market_snapshot Get HYPE market snapshot
Fetch a live HYPE spot/perpetual snapshot from Hyperliquid and convert either HYPE to USD or USD to HYPE. Reports spot-perp basis, 24h spot change, and 24h spot notional when available.
analyze_hyperliquid_wallet Analyze a Hyperliquid wallet
Read the public main-account state for one Hyperliquid address: perpetual positions, spot balances, open orders, recent fills, exposure, leverage, PnL and fee totals. No private key, signature or wallet connection is requested.
| Parameter | Type | Description |
|---|---|---|
address * | string | Public EVM wallet address. |
recent_fill_limit | integer |
hyperliquid_summarize_large_trader_positions Summarize large Hyperliquid trader positions
Aggregate current long and short exposure by market within Market Depth Lab's rolling monitored-address cohort. This is not a protocol-wide holder census or a simultaneous snapshot of every address.
| Parameter | Type | Description |
|---|---|---|
direction | string | |
limit | integer | |
market_type | string | |
min_gross_notional_usd | number | |
offset | integer | |
query | string | |
sort_by | string |
hyperliquid_list_top_position_holders List top position holders in a Hyperliquid market
List the largest current positions for one canonical market inside Market Depth Lab's monitored public-address cohort. Rankings are cohort-relative and the index retains only the published top positions per market.
| Parameter | Type | Description |
|---|---|---|
market * | string | Canonical market, for example BTC or xyz:NVDA. |
address_query | string | |
limit | integer | |
min_position_notional_usd | number | |
offset | integer | |
side | string | |
sort_by | string |
list_active_hyperliquid_twaps List active Hyperliquid TWAP orders
List publicly visible active Hyperliquid TWAP schedules and estimate current notional using live market references. Schedule time is known; execution progress and unfilled quantity are not inferred.
| Parameter | Type | Description |
|---|---|---|
limit | integer | |
market_type | string | |
min_estimated_notional_usd | number | |
offset | integer | |
query | string | |
side | string | |
sort_by | string |
hyperliquid_list_funding_rates List Hyperliquid funding rates
List current main-perpetual and HIP-3 funding, open interest, 24h notional and basis. Optionally computes exact trailing-24h funding for only the returned page to limit upstream requests.
| Parameter | Type | Description |
|---|---|---|
include_trailing_24h | boolean | |
limit | integer | |
market_type | string | |
min_open_interest_usd | number | |
offset | integer | |
payer | string | |
query | string | |
sort_by | string |
scan_cross_exchange_funding_spreads Scan cross-exchange perpetual funding spreads
Compare current perpetual funding on Binance USD-M, OKX and Hyperliquid. For each symbol, the scanner pairs a long on the lower hourly funding rate with a short on the higher rate, normalizes different settlement intervals, and estimates gross carry, user-supplied costs and break-even time. It does not place orders or describe the result as risk-free arbitrage.
| Parameter | Type | Description |
|---|---|---|
holding_hours | number | |
limit | integer | |
minimum_annualized_spread_percent | number | |
round_trip_cost_bps | number | User estimate for all entry, exit, fee and slippage costs across both legs. Zero means gross carry only. |
symbols | array | Base symbols to scan, for example BTC, ETH, SOL or HYPE. Maximum 12 per call. |
venues | array | Two or three venues to compare. |
scan_cross_exchange_perp_price_spreads Scan cross-exchange perpetual price spreads
Compare best bid and ask quotes for selected perpetual symbols on Binance USD-M, OKX and Hyperliquid. The engine ranks the cheapest cross-venue buy against the richest cross-venue sell, reports top-of-book capacity and subtracts configurable taker-fee estimates. It is a persistent-divergence screen, not a latency-arbitrage or order-execution tool.
| Parameter | Type | Description |
|---|---|---|
binance_taker_fee_bps | number | |
cost_basis | string | |
hyperliquid_taker_fee_bps | number | |
limit | integer | |
minimum_net_bps | number | |
minimum_top_of_book_notional_usd | number | |
okx_taker_fee_bps | number | |
symbols | array | Base symbols to scan, for example BTC, ETH, SOL or HYPE. Maximum 12 per call. |
venues | array | Two or three venues to compare. |