> For the complete documentation index, see [llms.txt](https://docs.hydromancer.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.hydromancer.xyz/readme/rest-api/market-data.md).

# Market data

Endpoints for market-wide Hyperliquid data: open interest history, position and TWAP snapshots, L4 orderbooks, liquidity, slippage and funding payments.

#### **Retrieve historical open interest (OHLC, per coin or sector)**

{% content-ref url="/pages/EogWz9VXE9TCZjfqHbq7" %}
[openInterestHistory](https://docs.hydromancer.xyz/readme/rest-api/market-data/openinteresthistory.md)
{% endcontent-ref %}

#### **Retrieve perp position snapshots**

{% content-ref url="/pages/bmImQkXbMaTa0VptsZjR" %}
[perpSnapshots](https://docs.hydromancer.xyz/readme/rest-api/market-data/perpsnapshot.md)
{% endcontent-ref %}

#### **Retrieve spot balance snapshots**

{% content-ref url="/pages/FXxRusT1ikmcNkTdWsc5" %}
[spotSnapshots](https://docs.hydromancer.xyz/readme/rest-api/market-data/spotsnapshot.md)
{% endcontent-ref %}

#### **Retrieve account value snapshots**

{% content-ref url="/pages/EmY6BZRBkJCsAsFHJND6" %}
[accountValueSnapshots](https://docs.hydromancer.xyz/readme/rest-api/market-data/accountvaluesnapshot.md)
{% endcontent-ref %}

#### **Retrieve perp TWAP snapshots**

{% content-ref url="/pages/EOsCHv10YoqWzVu6ZWGr" %}
[perpTwapSnapshots](https://docs.hydromancer.xyz/readme/rest-api/market-data/perptwapsnapshot.md)
{% endcontent-ref %}

#### **Retrieve spot TWAP snapshots**

{% content-ref url="/pages/GiRjNWyQQqdjMkITFlRG" %}
[spotTwapSnapshots](https://docs.hydromancer.xyz/readme/rest-api/market-data/spottwapsnapshot.md)
{% endcontent-ref %}

#### **Retrieve L4 orderbook**

{% content-ref url="/pages/Dj4V2Zqg0cYl9Qv7oM3A" %}
[l4Book](https://docs.hydromancer.xyz/readme/rest-api/market-data/l4book.md)
{% endcontent-ref %}

#### **Retrieve market liquidity**

{% content-ref url="/pages/zCfZbPch4J8vh3Et1LrA" %}
[marketLiquidity](https://docs.hydromancer.xyz/readme/rest-api/market-data/marketliquidity.md)
{% endcontent-ref %}

#### **Retrieve market liquidity history**

{% content-ref url="/pages/T5dfD5h7F9vjL5KMevNR" %}
[marketLiquidityHistory](https://docs.hydromancer.xyz/readme/rest-api/market-data/marketliquidityhistory.md)
{% endcontent-ref %}

#### **Retrieve slippage history**

{% content-ref url="/pages/Yv3gEYgp48GhCn3EG2aE" %}
[slippageHistory](https://docs.hydromancer.xyz/readme/rest-api/market-data/slippagehistory.md)
{% endcontent-ref %}

#### **Retrieve funding payments**

{% content-ref url="/pages/2p3GvN6t0q9LvvbaThWk" %}
[fundingPayments](https://docs.hydromancer.xyz/readme/rest-api/market-data/fundingpayments.md)
{% endcontent-ref %}

#### **Retrieve maximum market order notionals**

{% content-ref url="/pages/vS0H3en3imS8GRSmykBd" %}
[maxMarketOrderNtls](https://docs.hydromancer.xyz/readme/rest-api/market-data/maxmarketorderntls.md)
{% endcontent-ref %}

#### **Retrieve perps at open interest cap**

{% content-ref url="/pages/knHef7bYVeqwPpzyzHdG" %}
[perpsAtOpenInterestCap](https://docs.hydromancer.xyz/readme/rest-api/market-data/perpsatopeninterestcap.md)
{% endcontent-ref %}
