> For the complete documentation index, see [llms.txt](https://hydromancer.xyz/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hydromancer.xyz/docs/builder-guides/market-dashboards-and-screeners.md). Agents can also search and read this documentation through its [MCP server](https://hydromancer.xyz/docs/~gitbook/mcp).

# Market dashboards and screeners

Build Hyperliquid market overviews: every market and its category, prices, open interest, funding, liquidations and new listings.

Hyperliquid has its own perp markets, the HIP-3 DEXes built on it, and spot. The requests below list all of them and return the numbers a market table or chart needs.

Market dashboards and screeners usually need to:

* list every market, including HIP-3 DEXes, and group them by category
* show price, volume and open interest
* chart open interest and funding over time
* show liquidations and recent trades
* flag new listings

**At a glance**

| What you need                         | Use                                                                                                                                                                                                                                                                                              |
| ------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Every perp market on every DEX        | [allPerpMetas](https://docs.hydromancer.xyz/readme/rest-api/metadata/allperpmetas), [perpDexs](https://docs.hydromancer.xyz/readme/rest-api/metadata/perpdexs)                                                                                                                                   |
| Spot tokens and pairs                 | [spotMeta](https://docs.hydromancer.xyz/readme/rest-api/metadata/spotmeta)                                                                                                                                                                                                                       |
| Categories and descriptions           | [perpCategories](https://docs.hydromancer.xyz/readme/rest-api/metadata/perpcategories), [batchPerpAnnotations](https://docs.hydromancer.xyz/readme/rest-api/metadata/batchperpannotations)                                                                                                       |
| Prices, volume and open interest      | [metaAndAssetCtxs](https://docs.hydromancer.xyz/readme/rest-api/metadata/metaandassetctxs), [assetContext](https://docs.hydromancer.xyz/readme/rest-api/asset-data/assetcontext)                                                                                                                 |
| Live prices for every market (add-on) | [allActiveAssetCtx](https://docs.hydromancer.xyz/readme/websocket/prices-data-and-asset-context/allactiveassetctx), [allMids](https://docs.hydromancer.xyz/readme/websocket/prices-data-and-asset-context/allmids)                                                                               |
| Open interest over time               | [openInterestHistory](https://docs.hydromancer.xyz/readme/rest-api/market-data/openinteresthistory)                                                                                                                                                                                              |
| Markets at their cap                  | [perpsAtOpenInterestCap](https://docs.hydromancer.xyz/readme/rest-api/market-data/perpsatopeninterestcap)                                                                                                                                                                                        |
| Funding                               | [fundingHistory](https://docs.hydromancer.xyz/readme/rest-api/historical-data/fundinghistory), [fundingRates](https://docs.hydromancer.xyz/readme/websocket/funding-and-deposits-data/fundingrates), [fundingPayments](https://docs.hydromancer.xyz/readme/rest-api/market-data/fundingpayments) |
| Liquidations                          | [liquidationHistoryByTime](https://docs.hydromancer.xyz/readme/rest-api/historical-data/liquidationhistorybytime), [liquidationFills](https://docs.hydromancer.xyz/readme/websocket/trades-data/liquidationfills)                                                                                |
| Trades                                | [tradesByTime](https://docs.hydromancer.xyz/readme/rest-api/historical-data/tradesbytime), [fillsByTime](https://docs.hydromancer.xyz/readme/rest-api/historical-data/fillsbytime), [trades](https://docs.hydromancer.xyz/readme/websocket/trades-data/trades)                                   |
| Candles                               | [candleSnapshot](https://docs.hydromancer.xyz/readme/rest-api/candlesticks/candlesnapshot), [candle](https://docs.hydromancer.xyz/readme/websocket/candles/candles)                                                                                                                              |
| Deploy auctions                       | [perpDeployAuctionStatus](https://docs.hydromancer.xyz/readme/rest-api/token-deployment/perpdeployauctionstatus), [spotPairDeployAuctionStatus](https://docs.hydromancer.xyz/readme/rest-api/token-deployment/spotpairdeployauctionstatus)                                                       |

**Listing and grouping markets**

[allPerpMetas](https://docs.hydromancer.xyz/readme/rest-api/metadata/allperpmetas) returns the markets of every perp DEX in one response. Each market has its `name`, `szDecimals` and `maxLeverage`. Markets on a HIP-3 DEX are named with the DEX as a prefix, such as `xyz:GOLD`. [perpDexs](https://docs.hydromancer.xyz/readme/rest-api/metadata/perpdexs) describes each DEX, and [spotMeta](https://docs.hydromancer.xyz/readme/rest-api/metadata/spotmeta) covers spot tokens and pairs.

To group markets, [perpCategories](https://docs.hydromancer.xyz/readme/rest-api/metadata/perpcategories) returns `[coin, category]` pairs, with categories such as `crypto`, `stocks` and `commodities`. [batchPerpAnnotations](https://docs.hydromancer.xyz/readme/rest-api/metadata/batchperpannotations) adds a display name, description and keywords for the coins you name, which helps search.

**Prices, volume and open interest**

[metaAndAssetCtxs](https://docs.hydromancer.xyz/readme/rest-api/metadata/metaandassetctxs) returns the market list and one context per market, in the same order. Add `dex`, such as `"dex": "xyz"`, for a HIP-3 DEX. Each context has `markPx`, `oraclePx`, `midPx`, `openInterest`, `dayNtlVlm` and `dayBaseVlm`.

`dayNtlVlm` is the 24-hour volume in USD, and `openInterest` is in contracts. Multiply it by the mark price for a dollar value.

For a few coins, use [assetContext](https://docs.hydromancer.xyz/readme/rest-api/asset-data/assetcontext). For live values across every market, the add-on streams [allActiveAssetCtx](https://docs.hydromancer.xyz/readme/websocket/prices-data-and-asset-context/allactiveassetctx) and [allMids](https://docs.hydromancer.xyz/readme/websocket/prices-data-and-asset-context/allmids) send them in single batch messages.

**Open interest history**

[openInterestHistory](https://docs.hydromancer.xyz/readme/rest-api/market-data/openinteresthistory) returns open interest as OHLC buckets:

* per `coin`, in contracts (`oiOpen`, `oiHigh`, `oiLow`, `oiClose`) and in USD (`oiUsd`)
* per `sector`, such as `hip3`, in USD only, because contracts of different markets do not add up

Open interest is two-sided: it counts longs and shorts together. History starts on 1 August 2025, and one request returns up to 5,000 buckets.

[perpsAtOpenInterestCap](https://docs.hydromancer.xyz/readme/rest-api/market-data/perpsatopeninterestcap) lists the perps currently at their open interest cap.

**Funding**

[fundingHistory](https://docs.hydromancer.xyz/readme/rest-api/historical-data/fundinghistory) returns a coin's hourly funding rates over time. The [fundingRates](https://docs.hydromancer.xyz/readme/websocket/funding-and-deposits-data/fundingrates) stream sends one message an hour, when funding is applied, with the rate of every coin. [fundingPayments](https://docs.hydromancer.xyz/readme/rest-api/market-data/fundingpayments) is a snapshot of every funding payment in the latest hour, across all users and markets.

**Liquidations and trades**

[liquidationHistoryByTime](https://docs.hydromancer.xyz/readme/rest-api/historical-data/liquidationhistorybytime) returns past liquidations for one coin or the whole market, up to 1,000 per request, with data from 28 July 2025. Each row is a fill with a `liquidation` object: the liquidated user, the mark price and the method. [liquidationFills](https://docs.hydromancer.xyz/readme/websocket/trades-data/liquidationfills) streams liquidations live.

[tradesByTime](https://docs.hydromancer.xyz/readme/rest-api/historical-data/tradesbytime) and [fillsByTime](https://docs.hydromancer.xyz/readme/rest-api/historical-data/fillsbytime) return the last 24 hours. A trade has both `users` as `[buyer, seller]`, and a fill is one side of a trade with its fee and PnL. `tradesByTime` pages with `hasMore` and a `cursor`. [trades](https://docs.hydromancer.xyz/readme/websocket/trades-data/trades) streams trades per coin.

**Charts**

[candleSnapshot](https://docs.hydromancer.xyz/readme/rest-api/candlesticks/candlesnapshot) returns candles for any coin and interval, including 1s, 15s and 30s, up to 5,000 per request. Each candle has open, high, low and close, volume in the asset (`v`) and in USD (`q`), and the number of trades (`n`). [candle](https://docs.hydromancer.xyz/readme/websocket/candles/candles) streams the live candle.

**New listings**

[perpDeployAuctionStatus](https://docs.hydromancer.xyz/readme/rest-api/token-deployment/perpdeployauctionstatus) and [spotPairDeployAuctionStatus](https://docs.hydromancer.xyz/readme/rest-api/token-deployment/spotpairdeployauctionstatus) return the current deploy auction: `startTimeSeconds`, `durationSeconds`, `startGas` and `currentGas`.

**Putting it together**

1. Load the market list from `allPerpMetas` and the categories from `perpCategories`.
2. Fill the table from `metaAndAssetCtxs`, one request per DEX.
3. Keep it live with `allActiveAssetCtx`, or refresh `metaAndAssetCtxs` on a timer.
4. Load `openInterestHistory`, `fundingHistory` and `candleSnapshot` when a user opens a market.
