Hyperliquid historical trades for one market

Returns BTC perp fills on Hyperliquid from the last 7 days, newest first, with price, size, direction, fees and position.

By Divyasshree · saved 25 November 2026 · Bitquery API v2

What it returns

Filters

The query

{
  Hyperliquid {
    Trades(
      where: {
        Trade: { Market: { CoinRaw: { is: "BTC" } } }
        Block: { Time: { since_relative: { days_ago: 7 } } }
      }
      orderBy: { descending: [Block_Time, Trade_Execution_Index] }
      limit: { count: 100 }
    ) {
      Block {
        Number
        Time
      }
      Trade {
        Market {
          Symbol
          CoinRaw
          Kind
        }
        Execution {
          Price
          Size
          NotionalUSD
          Side
          Direction
          IsAggressor
          Index
          Tid
          Hash
        }
        Fees {
          Fee
          FeeToken
        }
        Position {
          Leverage
          IsCross
          SizeBefore
          Size
          RealizedPnl
        }
        Trader {
          Address
        }
      }
    }
  }
}