Docs
Search⌘ K
  • Home
  • About The Graph
  • Supported Networks
  • Protocol Contracts
  • Subgraphs
    • Substreams
      • Token API
        • Hypergraph
          • AI Suite
            • Indexing
              • Graph Horizon
                • Resources
                  Token API > Hyperliquid Market Endpoints

                  Market Liquidations OHLCV

                  GET/v1/hyperliquid/markets/liquidations/ohlc

                  Returns liquidation-only OHLCV candles for a single coin and interval. Adds mark-price OHLC (mark_price_open, mark_price_high, mark_price_low, mark_price_close) — the price feed used for margining at liquidation time — alongside the standard trade-price OHLC. Volume and counts cover the liquidation fills only.

                  For all-fill candles, use /v1/hyperliquid/markets/ohlc.

                  Query Parameters

                  ParameterDescriptionValue
                  coin
                  string

                  Hyperliquid coin identifier. Core perps have no prefix (BTC, HYPE); spot pairs use @N (@107); builder DEXs prefix the symbol with the DEX name (xyz:SILVER).

                    Required
                    dex
                    string

                    DEX identifier. perps for core perps, spot for @N spot pairs, or a builder DEX name (e.g. xyz, cash). New builder DEXs are added on Hyperliquid permissionlessly — call /v1/hyperliquid/dexes for the live set.

                      interval
                      string

                      The interval* for which to aggregate price data (1-minute, 5-minutes, 10-minutes, 30-minutes, hourly, 4-hours, daily or weekly).
                      *Plan restricted.

                      • Default value: 1d
                      • Accepted values: 1m, 5m, 10m, 30m, 1h, 4h, 1d, 1w
                      1d
                      start_time
                      string

                      UNIX timestamp in seconds or date string (e.g. "2025-01-01T00:00:00Z", "2025-01-01", ...).

                        end_time
                        string

                        UNIX timestamp in seconds or date string (e.g. "2025-01-01T00:00:00Z", "2025-01-01", ...).

                          limit
                          integer

                          Number of items* returned in a single request.
                          *Plan restricted.

                          • Default value: 10
                          • Minimum value: 1
                          • Maximum value: 1000
                          page
                          integer

                          Page number to fetch.
                          Empty data array signifies end of results.

                          • Default value: 1
                          • Minimum value: 1
                          • Maximum value: 767465558638

                          Potential Responses

                          StatusDescription
                          200

                          Successful Response

                          400

                          Client side error

                          401

                          Authentication failed

                          403

                          Forbidden

                          404

                          Not found

                          500

                          Server side error

                          ⁠Edit on GitHub⁠

                          Supported DEXsMarket Liquidations
                          Test this endpoint

                          1curl --request GET \2  --url 'https://token-api.thegraph.com/v1/hyperliquid/markets/liquidations/ohlc?coin=BTC&interval=1d&limit=10&page=1' \3  --header 'Authorization: Bearer {token}'

                          1{2  "data": [3    {4      "timestamp": "2026-04-30 19:00:00",5      "coin": "BTC",6      "market_name": "BTC",7      "dex": "perps",8      "interval_min": 60,9      "open": 76395,10      "high": 76395,11      "low": 76395,12      "close": 76395,13      "mark_price_open": 76390,14      "mark_price_high": 76390,15      "mark_price_low": 76390,16      "mark_price_close": 76390,17      "buy_volume": 16.81,18      "sell_volume": 0,19      "gross_volume": 16.81,20      "net_volume": 16.81,21      "open_long_volume": 0,22      "close_long_volume": 0,23      "open_short_volume": 16.81,24      "close_short_volume": 0,25      "transactions": 1,26      "buys": 0,27      "sells": 1,28      "unique_liquidators": 1,29      "unique_liquidated": 1,30      "total_fees": -0.00033631    }32  ]33}
                          The GraphStatusTestnetBrand AssetsForumSecurityPrivacy PolicyTerms of Service