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 Activity

                  GET/v1/hyperliquid/markets/activity

                  Returns a chronological fill feed, filterable by coin, dex, and/or user. Each row is a single fill carrying price, size, side (BID or ASK), directional intent (OPEN_LONG, CLOSE_SHORT, LIQUIDATED_CROSS_LONG, AUTO_DELEVERAGING, and others), closed PnL, fees (negative values represent maker rebates), and order-level metadata (order_id, client_order_id, twap_id, crossed).

                  For balance-changing events on a user (deposits, withdrawals, funding payments, vault flows), use /v1/hyperliquid/users/activity.

                  At least one of coin, dex, or user is required. Filters compose additively — pass any combination to narrow further; a mismatched pair (e.g. coin=cash:TSLA&dex=xyz) returns empty.

                  Defaults to the last 24 hours when no time range is specified — provide start_time and end_time to query older data.

                  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).

                    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.

                      user
                      string

                      Filter by address

                      • Accepted pattern: ^(0[xX])?[0-9a-fA-F]{40}$
                      • Format: evm-address
                      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⁠

                          User PositionsSupported DEXs
                          Test this endpoint

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

                          1{2  "data": [3    {4      "block_num": 979136485,5      "timestamp": "2026-04-30 23:26:59",6      "transaction_hash": "0x0000000000000000000000000000000000000000000000000000000000000000",7      "transaction_id": 494766926007210,8      "coin": "BTC",9      "market_name": "BTC",10      "dex": "perps",11      "user": "0xd8592afc09c864df215d8012122aed08e4ae453f",12      "side": "ASK",13      "direction": "OPEN_SHORT",14      "price": 76257,15      "size": 0.01424,16      "notional": 1085.9,17      "start_position": "-0.60385",18      "closed_pnl": 0,19      "fee": 0.380064,20      "fee_token": "USDC",21      "order_id": 405525134401,22      "client_order_id": "",23      "twap_id": 1781070,24      "crossed": true25    }26  ]27}
                          The GraphStatusTestnetBrand AssetsForumSecurityPrivacy PolicyTerms of Service