Hyperliquid trades from a past day

Returns taker fills of the BTC perp on Hyperliquid for the day between 21 and 20 days ago.

By Divyasshree · saved 25 November 2026 · Bitquery API v2

What it returns

Filters

The query

{
  Hyperliquid {
    Trades(
      where: {
        Trade: {
          Market: { CoinRaw: { is: "BTC" } }
          Execution: { IsAggressor: true }
        }
        Block: {
          Time: {
            after_relative: { days_ago: 21 }
            before_relative: { days_ago: 20 }
          }
        }
      }
      orderBy: { descending: [Block_Time, Trade_Execution_Index] }
      limit: { count: 100 }
    ) {
      Block {
        Number
        Time
      }
      Trade {
        Execution {
          Price
          Size
          NotionalUSD
          Side
          Direction
          Index
          Tid
        }
        Trader {
          Address
        }
      }
    }
  }
}