이 페이지는 커뮤니티 번역으로 참고용이며, 내용은 영어 원문을 우선합니다.
영어 원문 보기 ↗

Info 엔드포인트

info 엔드포인트는 거래소 및 특정 사용자에 대한 정보를 조회하는 데 사용됩니다. 요청 본문에 따라 서로 다른 응답 본문 스키마가 반환됩니다.

페이지네이션

시간 범위를 받는 응답은 최대 500개의 요소 또는 고유한 데이터 블록만 반환합니다. 더 큰 범위를 조회하려면 페이지네이션을 위해 마지막으로 반환된 타임스탬프를 다음 startTime으로 사용하세요.

무기한 선물(펍) vs 스팟

이 섹션의 엔드포인트와 WebSocket 구독은 무기한 선물(펍)과 스팟 모두에서 작동합니다. 무기한 선물(펍)의 경우 coin은 meta 응답에서 반환되는 이름입니다. 스팟의 경우 PURR은 PURR/USDC를 사용하고, 그 외 모든 스팟 토큰은 @{index}(예: @1)을 사용해야 하며, 여기서 index는 spotMeta 응답의 universe 필드에 있는 스팟 페어의 인덱스입니다. 예를 들어, 메인넷에서 HYPE의 스팟 인덱스는 @107입니다. HYPE의 토큰 인덱스가 150이고 스팟 페어 @107의 토큰이 [150, 0]이기 때문입니다. 일부 자산은 사용자 인터페이스에서 리매핑될 수 있습니다. 예를 들어, app.hyperliquid.xyz의 BTC/USDC는 메인넷 HyperCore의 UBTC/USDC에 해당합니다. 토큰 상세 페이지의 L1 이름을 사용하여 리매핑을 감지할 수 있습니다.

사용자 주소

마스터 계정 또는 서브계정과 연결된 계정 데이터를 조회하려면 해당 계정의 실제 주소를 전달해야 합니다. 흔한 실수는 에이전트 지갑의 주소를 사용하는 것이며, 이 경우 빈 결과가 반환됩니다.

모든 코인의 중간 가격(mids) 조회

POST https://api.hyperliquid.xyz/info

오더북이 비어 있는 경우, 마지막 체결 가격이 대체값으로 사용됩니다.

헤더

Name Type Description
Content-Type* String "application/json"

요청 본문

Name Type Description
type* String "allMids"
dex String 펍 dex 이름. 기본값은 빈 문자열로, 첫 번째 펍 dex를 의미합니다. 스팟 mid는 첫 번째 펍 dex에서만 포함됩니다.

{% tabs %}

{
    "APE": "4.33245",
    "ARB": "1.21695"
}

{% endtab %}

사용자의 미체결 주문 조회

POST https://api.hyperliquid.xyz/info

사용자의 미체결 주문을 조회합니다.

헤더

Name Type Description
Content-Type* String "application/json"

요청 본문

Name Type Description
type* String "openOrders"
user* String 42자 16진수 형식의 주소; 예: 0x0000000000000000000000000000000000000000.
dex String 펍 dex 이름. 기본값은 빈 문자열로, 첫 번째 펍 dex를 의미합니다. 스팟 미체결 주문은 첫 번째 펍 dex에서만 포함됩니다.

{% tabs %}

[
    {
        "coin": "BTC",
        "limitPx": "29792.0",
        "oid": 91490942,
        "side": "A",
        "sz": "0.0",
        "timestamp": 1681247412573
    }
]

{% endtab %}

프론트엔드 추가 정보와 함께 사용자의 미체결 주문 조회

POST https://api.hyperliquid.xyz/info

헤더

Name Type Description
Content-Type* String "application/json"

요청 본문

Name Type Description
type* String "frontendOpenOrders"
user* String 42자 16진수 형식의 주소; 예: 0x0000000000000000000000000000000000000000.
dex String 펍 dex 이름. 기본값은 빈 문자열로, 첫 번째 펍 dex를 의미합니다. 스팟 미체결 주문은 첫 번째 펍 dex에서만 포함됩니다.

{% tabs %}

[
    {
        "coin": "BTC",
        "isPositionTpsl": false,
        "isTrigger": false,
        "limitPx": "29792.0",
        "oid": 91490942,
        "orderType": "Limit",
        "origSz": "5.0",
        "reduceOnly": false,
        "side": "A",
        "sz": "5.0",
        "timestamp": 1681247412573,
        "triggerCondition": "N/A",
        "triggerPx": "0.0",
    }
]

{% endtab %}

사용자의 체결 내역 조회

POST https://api.hyperliquid.xyz/info

가장 최근의 체결 내역을 최대 2000건까지 반환합니다.

헤더

Name Type Description
Content-Type* String "application/json"

요청 본문

Name Type Description
type* String "userFills"
user* String 42자 16진수 형식의 주소; 예: 0x0000000000000000000000000000000000000000.
aggregateByTime bool true인 경우, 크로싱 주문이 여러 개의 서로 다른 대기 주문에 체결될 때 부분 체결이 통합됩니다. 여러 크로싱 주문에 체결된 대기 주문은 동일한 블록에 있는 경우에만 집계됩니다.

{% tabs %}

[
    // Perp fill (first perp dex)
    {
        "closedPnl": "0.0",
        "coin": "AVAX",
        "crossed": false,
        "dir": "Open Long",
        "hash": "0xa166e3fa63c25663024b03f2e0da011a00307e4017465df020210d3d432e7cb8",
        "oid": 90542681,
        "px": "18.435",
        "side": "B",
        "startPosition": "26.86",
        "sz": "93.53",
        "time": 1681222254710,
        "fee": "0.01", // the total fee, inclusive of builderFee below
        "feeToken": "USDC",
        "builderFee": "0.01", // this is optional and will not be present if 0
        "tid": 118906512037719
    },
    // Perp Fill (HIP-3)
    {
        "coin": "xyz:XYZ100", // For HIP-3, the asset has the dex name as a prefix
        "px": "25372.0",
        "sz": "0.0353",
        "side": "B",
        "time": 1767651180109,
        "startPosition": "0.7045",
        "dir": "Open Long",
        "closedPnl": "0.0",
        "hash": "0xa166e3fa63c25663024b03f2e0da011a00307e4017465df020210d3d432e7cb9",
        "oid": 287286372177,
        "crossed": false,
        "fee": "0.026868",
        "tid": 164087028129848,
        "feeToken":" USDC"
    },
    // Spot fill - note the difference in the "coin" format. Refer to 
    // https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/asset-ids
    // for more information on how spot asset IDs work
    {
        "coin": "@107",
        "px": "18.62041381",
        "sz": "43.84",
        "side": "A",
        "time": 1735969713869,
        "startPosition": "10659.65434798",
        "dir": "Sell",
        "closedPnl": "8722.988077",
        "hash": "0x2222138cc516e3fe746c0411dd733f02e60086f43205af2ae37c93f6a792430b",
        "oid": 59071663721,
        "crossed": true,
        "fee": "0.304521",
        "tid": 907359904431134,
        "feeToken": "USDC"
    }
]

{% endtab %}

시간별 사용자 체결 내역 조회

POST https://api.hyperliquid.xyz/info

응답당 최대 2000건의 체결 내역을 반환하며, 가장 최근의 10000건 체결 내역만 조회할 수 있습니다.

헤더

Name Type Description
Content-Type* String "application/json"

요청 본문

Name Type Description
type* String userFillsByTime
user* String 42자 16진수 형식의 주소; 예: 0x0000000000000000000000000000000000000000.
startTime* int 시작 시간(밀리초 단위, 포함)
endTime int 종료 시간(밀리초 단위, 포함). 기본값은 현재 시간입니다.
aggregateByTime bool true인 경우, 크로싱 주문이 여러 개의 서로 다른 대기 주문에 체결될 때 부분 체결이 통합됩니다. 여러 크로싱 주문에 체결된 대기 주문은 동일한 블록에 있는 경우에만 집계됩니다.

{% tabs %}

[
    // Perp fill (first perp dex)
    {
        "closedPnl": "0.0",
        "coin": "AVAX",
        "crossed": false,
        "dir": "Open Long",
        "hash": "0xa166e3fa63c25663024b03f2e0da011a00307e4017465df020210d3d432e7cb8",
        "oid": 90542681,
        "px": "18.435",
        "side": "B",
        "startPosition": "26.86",
        "sz": "93.53",
        "time": 1681222254710,
        "fee": "0.01", // the total fee, inclusive of builderFee below
        "feeToken": "USDC",
        "builderFee": "0.01", // this is optional and will not be present if 0
        "tid": 118906512037719
    },
    // Perp Fill (HIP-3)
    {
        "coin": "xyz:XYZ100", // For HIP-3, the asset has the dex name as a prefix
        "px": "25372.0",
        "sz": "0.0353",
        "side": "B",
        "time": 1767651180109,
        "startPosition": "0.7045",
        "dir": "Open Long",
        "closedPnl": "0.0",
        "hash": "0xa166e3fa63c25663024b03f2e0da011a00307e4017465df020210d3d432e7cb9",
        "oid": 287286372177,
        "crossed": false,
        "fee": "0.026868",
        "tid": 164087028129848,
        "feeToken":" USDC"
    },
    // Spot fill - note the difference in the "coin" format. Refer to 
    // https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/asset-ids
    // for more information on how spot asset IDs work
    {
        "coin": "@107",
        "px": "18.62041381",
        "sz": "43.84",
        "side": "A",
        "time": 1735969713869,
        "startPosition": "10659.65434798",
        "dir": "Sell",
        "closedPnl": "8722.988077",
        "hash": "0x2222138cc516e3fe746c0411dd733f02e60086f43205af2ae37c93f6a792430b",
        "oid": 59071663721,
        "crossed": true,
        "fee": "0.304521",
        "tid": 907359904431134,
        "feeToken": "USDC"
    }
]

{% endtab %}

사용자 레이트 리밋 조회

POST https://api.hyperliquid.xyz/info

요청 본문

Name Type Description
user String 42자 16진수 형식의 주소; 예: 0x0000000000000000000000000000000000000000
type String userRateLimit

{% tabs %}

{
  "cumVlm": "2854574.593578",
  "nRequestsUsed": 2890, // max(0, cumulative_used minus reserved)
  "nRequestsCap": 2864574, 
  "nRequestsSurplus": 0, // max(0, reserved minus cumulative_used)
}

{% endtab %}

oid 또는 cloid로 주문 상태 조회

POST https://api.hyperliquid.xyz/info

요청 본문

Name Type Description
user* String 42자 16진수 형식의 주소; 예: 0x0000000000000000000000000000000000000000.
type* String "orderStatus"
oid* uint64 or string 주문 ID를 나타내는 u64 또는 클라이언트 주문 ID를 나타내는 16바이트 16진수 문자열

반환되는 \ 문자열은 다음 값을 가질 수 있습니다:

Order status Explanation
open 성공적으로 접수됨
filled 체결됨
canceled 사용자가 취소함
triggered 트리거 주문이 트리거됨
rejected 접수 시점에 거부됨
marginCanceled 체결에 필요한 마진이 부족하여 취소됨
vaultWithdrawalCanceled 볼트 전용. 사용자의 볼트 출금으로 인해 취소됨
openInterestCapCanceled 미결제 약정이 상한에 도달했을 때 주문이 너무 공격적이어서 취소됨
selfTradeCanceled 자기 거래 방지로 인해 취소됨
reduceOnlyCanceled 포지션을 축소하지 않는 축소 전용 주문이 취소됨
siblingFilledCanceled TP/SL 전용. 형제 주문이 체결되어 취소됨
delistedCanceled 자산 상장 폐지로 인해 취소됨
liquidatedCanceled 청산으로 인해 취소됨
scheduledCancel API 전용. 예약 취소 기한 초과로 취소됨(데드맨 스위치)
tickRejected 유효하지 않은 틱 가격으로 인해 거부됨
minTradeNtlRejected 주문 명목가액이 최소값 미달로 인해 거부됨
perpMarginRejected 마진 부족으로 인해 거부됨
reduceOnlyRejected 축소 전용으로 인해 거부됨
badAloPxRejected 포스트 온리 즉시 체결로 인해 거부됨
iocCancelRejected IOC가 체결할 수 없어 거부됨
badTriggerPxRejected 유효하지 않은 TP/SL 가격으로 인해 거부됨
marketOrderNoLiquidityRejected 시장 주문에 대한 유동성 부족으로 인해 거부됨
positionIncreaseAtOpenInterestCapRejected 미결제 약정 상한으로 인해 거부됨
positionFlipAtOpenInterestCapRejected 미결제 약정 상한으로 인해 거부됨
tooAggressiveAtOpenInterestCapRejected 미결제 약정 상한에서 가격이 너무 공격적이어서 거부됨
openInterestIncreaseRejected 미결제 약정 상한으로 인해 거부됨
insufficientSpotBalanceRejected 스팟 잔고 부족으로 인해 거부됨
oracleRejected 가격이 오라클과 너무 동떨어져 거부됨
perpMaxPositionRejected 현재 레버리지에서 마진 티어 한도 초과로 인해 거부됨

{% tabs %}

{
  "status": "order",
  "order": {
    "order": {
      "coin": "ETH",
      "side": "A",
      "limitPx": "2412.7",
      "sz": "0.0",
      "oid": 1,
      "timestamp": 1724361546645,
      "triggerCondition": "N/A",
      "isTrigger": false,
      "triggerPx": "0.0",
      "children": [],
      "isPositionTpsl": false,
      "reduceOnly": true,
      "orderType": "Market",
      "origSz": "0.0076",
      "tif": "FrontendMarket",
      "cloid": null
    },
    "status": <status>,
    "statusTimestamp": 1724361546645
  }
}

{% endtab %}

{% tab title="200: OK Missing Order" %}

{
  "status": "unknownOid"
}

{% endtab %}

L2 오더북 스냅샷

POST https://api.hyperliquid.xyz/info

각 사이드당 최대 20개 레벨을 반환합니다.

헤더

Name Value
Content-Type* "application/json"

본문

Name Type Description
type* String "l2Book"
coin* String coin
nSigFigs Number 레벨을 nSigFigs 유효 숫자로 집계하기 위한 선택 필드. 유효한 값은 2, 3, 4, 5, 그리고 전체 정밀도를 의미하는 null입니다
mantissa Number 레벨을 집계하기 위한 선택 필드. 이 필드는 nSigFigs가 5일 때만 허용됩니다. 1, 2 또는 5의 값을 받습니다.

응답

{% tabs %}

{
  "coin": "BTC",
  "time": 1754450974231,
  "levels": [
    [
      {
        "px": "113377.0",
        "sz": "7.6699",
        "n": 17 // number of levels
      },
      {
        "px": "113376.0",
        "sz": "4.13714",
        "n": 8
      },
    ],
    [
      {
        "px": "113397.0",
        "sz": "0.11543",
        "n": 3
      }
    ]
  ]
}

{% endtab %}

캔들 스냅샷

POST https://api.hyperliquid.xyz/info

가장 최근의 5000개 캔들만 조회할 수 있습니다.

지원되는 간격: "1m", "3m", "5m", "15m", "30m", "1h", "2h", "4h", "8h", "12h", "1d", "3d", "1w", "1M"

헤더

Name Value
Content-Type* "application/json"

본문

Name Type Description
type* String "candleSnapshot"
req* Object

{"coin": \, "interval": "15m", "startTime": \, "endTime": \}
HIP-3의 경우 dex 이름을 접두사로 붙여야 합니다. 예: "xyz:XYZ100"

응답

{% tabs %}

[
  {
    "T": 1681924499999,
    "c": "29258.0",
    "h": "29309.0",
    "i": "15m",
    "l": "29250.0",
    "n": 189,
    "o": "29295.0",
    "s": "BTC",
    "t": 1681923600000,
    "v": "0.98639"
  }
]

{% endtab %}

빌더 수수료 승인 확인

POST https://api.hyperliquid.xyz/info

헤더

Name Value
Content-Type* "application/json"

본문

Name Type Description
type* String "maxBuilderFee"
user* String 42자 16진수 형식의 주소; 예: 0x0000000000000000000000000000000000000000.
builder* String 42자 16진수 형식의 주소; 예: 0x0000000000000000000000000000000000000000.

응답

{% tabs %}

1 // maximum fee approved in tenths of a basis point i.e. 1 means 0.001%

{% endtab %}

사용자의 과거 주문 조회

POST https://api.hyperliquid.xyz/info

가장 최근의 과거 주문을 최대 2000건까지 반환합니다.

헤더

Name Type Description
Content-Type* String "application/json"

요청 본문

Name Type Description
type* String "historicalOrders"
user* String 42자 16진수 형식의 주소; 예: 0x0000000000000000000000000000000000000000.

{% tabs %}

[
  {
    "order": {
      "coin": "ETH",
      "side": "A",
      "limitPx": "2412.7",
      "sz": "0.0",
      "oid": 1,
      "timestamp": 1724361546645,
      "triggerCondition": "N/A",
      "isTrigger": false,
      "triggerPx": "0.0",
      "children": [],
      "isPositionTpsl": false,
      "reduceOnly": true,
      "orderType": "Market",
      "origSz": "0.0076",
      "tif": "FrontendMarket",
      "cloid": null
    },
    "status": "filled" | "open" | "canceled" | "triggered" | "rejected" | "marginCanceled",
    "statusTimestamp": 1724361546645
  }
]

{% endtab %}

사용자의 TWAP 슬라이스 체결 내역 조회

POST https://api.hyperliquid.xyz/info

가장 최근의 TWAP 슬라이스 체결 내역을 최대 2000건까지 반환합니다.

헤더

Name Type Description
Content-Type* String "application/json"

요청 본문

Name Type Description
type* String "userTwapSliceFills"
user* String 42자 16진수 형식의 주소; 예: 0x0000000000000000000000000000000000000000.

{% tabs %}

[
    {
        "fill": {
            "closedPnl": "0.0",
            "coin": "AVAX",
            "crossed": true,
            "dir": "Open Long",
            "hash": "0x0000000000000000000000000000000000000000000000000000000000000000", // TWAP fills have a hash of 0
            "oid": 90542681,
            "px": "18.435",
            "side": "B",
            "startPosition": "26.86",
            "sz": "93.53",
            "time": 1681222254710,
            "fee": "0.01",
            "feeToken": "USDC",
            "tid": 118906512037719
        },
        "twapId": 3156
    }
]

{% endtab %}

사용자의 서브계정 조회

POST https://api.hyperliquid.xyz/info

헤더

Name Type Description
Content-Type* String "application/json"

요청 본문

Name Type Description
type* String "subAccounts"
user* String 42자 16진수 형식의 주소; 예: 0x0000000000000000000000000000000000000000.

{% tabs %}

[
  {
    "name": "Test",
    "subAccountUser": "0x035605fc2f24d65300227189025e90a0d947f16c",
    "master": "0x8c967e73e6b15087c42a10d344cff4c96d877f1d",
    "clearinghouseState": {
      "marginSummary": {
        "accountValue": "29.78001",
        "totalNtlPos": "0.0",
        "totalRawUsd": "29.78001",
        "totalMarginUsed": "0.0"
      },
      "crossMarginSummary": {
        "accountValue": "29.78001",
        "totalNtlPos": "0.0",
        "totalRawUsd": "29.78001",
        "totalMarginUsed": "0.0"
      },
      "crossMaintenanceMarginUsed": "0.0",
      "withdrawable": "29.78001",
      "assetPositions": [],
      "time": 1733968369395
    },
    "spotState": {
      "balances": [
        {
          "coin": "USDC",
          "token": 0,
          "total": "0.22",
          "hold": "0.0",
          "entryNtl": "0.0"
        }
      ]
    }
  }
]

{% endtab %}

볼트 상세 정보 조회

POST https://api.hyperliquid.xyz/info

헤더

Name Type Description
Content-Type* String "application/json"

요청 본문

Name Type Description
type* String "vaultDetails"
vaultAddress* String 42자 16진수 형식의 주소; 예: 0x0000000000000000000000000000000000000000.
user String 42자 16진수 형식의 주소; 예: 0x0000000000000000000000000000000000000000.

{% tabs %}

{
  "name": "Test",
  "vaultAddress": "0xdfc24b077bc1425ad1dea75bcb6f8158e10df303",
  "leader": "0x677d831aef5328190852e24f13c46cac05f984e7",
  "description": "This community-owned vault provides liquidity to Hyperliquid through multiple market making strategies, performs liquidations, and accrues platform fees.",
  "portfolio": [
    [
      "day",
      {
        "accountValueHistory": [
          [
            1734397526634,
            "329265410.90790099"
          ]
        ],
        "pnlHistory": [
          [
            1734397526634,
            "0.0"
          ],
        ],
        "vlm": "0.0"
      }
    ],
    [
      "week" | "month" | "allTime" | "perpDay" | "perpWeek" | "perpMonth" | "perpAllTime",
      {...}
    ]
  ],
  "apr": 0.36387129259090006,
  "followerState": null,
  "leaderFraction": 0.0007904828725729887,
  "leaderCommission": 0,
  "followers": [
    {
      "user": "0x005844b2ffb2e122cf4244be7dbcb4f84924907c",
      "vaultEquity": "714491.71026243",
      "pnl": "3203.43026143",
      "allTimePnl": "79843.74476743",
      "daysFollowing": 388,
      "vaultEntryTime": 1700926145201,
      "lockupUntil": 1734824439201
    }
  ],
  "maxDistributable": 94856870.164485,
  "maxWithdrawable": 742557.680863,
  "isClosed": false,
  "relationship": {
    "type": "parent",
    "data": {
      "childAddresses": [
        "0x010461c14e146ac35fe42271bdc1134ee31c703a",
        "0x2e3d94f0562703b25c83308a05046ddaf9a8dd14",
        "0x31ca8395cf837de08b24da3f660e77761dfb974b"
      ]
    }
  },
  "allowDeposits": true,
  "alwaysCloseOnWithdraw": false
}  

{% endtab %}

사용자의 볼트 예치금 조회

POST https://api.hyperliquid.xyz/info

헤더

Name Type Description
Content-Type* String "application/json"

요청 본문

Name Type Description
type* String "userVaultEquities"
user* String 42자 16진수 형식의 주소; 예: 0x0000000000000000000000000000000000000000.

{% tabs %}

[
  {
    "vaultAddress": "0xdfc24b077bc1425ad1dea75bcb6f8158e10df303",
    "equity": "742500.082809",
  }
]

{% endtab %}

사용자의 역할 조회

POST https://api.hyperliquid.xyz/info

헤더

Name Type Description
Content-Type* String "application/json"

요청 본문

Name Type Description
type* String "userRole"
user* String 42자 16진수 형식의 주소; 예: 0x0000000000000000000000000000000000000000.

{% tabs %}

{"role":"user"} # "missing", "user", "agent", "vault", or "subAccount"

{% endtab %}

{% tab title="Agent" %}

{"role":"agent", "data": {"user": "0x..."}}

{% endtab %}

{% tab title="Vault" %}

{"role":"vault"}

{% endtab %}

{% tab title="Subaccount" %}

{"role":"subAccount", "data":{"master":"0x..."}}

{% endtab %}

{% tab title="Missing" %}

{"role":"missing"}

{% endtab %}

사용자의 포트폴리오 조회

POST https://api.hyperliquid.xyz/info

헤더

Name Type Description
Content-Type* String "application/json"

요청 본문

Name Type Description
type* String "portfolio"
user* String 16진수 형식; 예: 0x0000000000000000000000000000000000000000.

{% tabs %}

[
  [
    "day",
    {
      "accountValueHistory": [
        [
          1741886630493,
          "0.0"
        ],
        [
          1741895270493,
          "0.0"
        ],
        ...
      ],
      "pnlHistory": [
        [
          1741886630493,
          "0.0"
        ],
        [
          1741895270493,
          "0.0"
        ],
        ...
      ],
      "vlm": "0.0"
    }
  ],
  ["week", { ... }],
  ["month", { ... }],
  ["allTime", { ... }],
  ["perpDay", { ... }],
  ["perpWeek", { ... }],
  ["perpMonth", { ... }],
  ["perpAllTime", { ... }]
]

{% endtab %}

사용자의 추천(레퍼럴) 정보 조회

POST https://api.hyperliquid.xyz/info

헤더

Name Type Description
Content-Type* String "application/json"

요청 본문

Name Type Description
type* String "referral"
user* String 16진수 형식; 예: 0x0000000000000000000000000000000000000000.

{% tabs %}

{
    "referredBy": {
        "referrer": "0x5ac99df645f3414876c816caa18b2d234024b487",
        "code": "TESTNET"
    },
    "cumVlm": "149428030.6628420055", // USDC Only
    "unclaimedRewards": "11.047361", // USDC Only
    "claimedRewards": "22.743781", // USDC Only
    "builderRewards": "0.027802", // USDC Only
    "tokenToState":[
      0,
      {
         "cumVlm":"149428030.6628420055",
         "unclaimedRewards":"11.047361",
         "claimedRewards":"22.743781",
         "builderRewards":"0.027802"
      }
   ],
    "referrerState": {
        "stage": "ready",
        "data": {
            "code": "TEST",
            "referralStates": [
                {
                    "cumVlm": "960652.017122",
                    "cumRewardedFeesSinceReferred": "196.838825",
                    "cumFeesRewardedToReferrer": "19.683748",
                    "timeJoined": 1679425029416,
                    "user": "0x11af2b93dcb3568b7bf2b6bd6182d260a9495728"
                },
                {
                    "cumVlm": "438278.672653",
                    "cumRewardedFeesSinceReferred": "97.628107",
                    "cumFeesRewardedToReferrer": "9.762562",
                    "timeJoined": 1679423947882,
                    "user": "0x3f69d170055913103a034a418953b8695e4e42fa"
                }
            ]
        }
    },
    "rewardHistory": []
}

{% endtab %}

rewardHistory는 레거시 보상용입니다. 수령된 보상은 이제 nonFundingLedgerUpdate에서 반환됩니다.

사용자의 수수료 조회

POST https://api.hyperliquid.xyz/info

헤더

Name Type Description
Content-Type* String "application/json"

요청 본문

Name Type Description
type* String "userFees"
user* String 16진수 형식; 예: 0x0000000000000000000000000000000000000000.

{% tabs %}

{
  "dailyUserVlm": [
    {
      "date": "2025-05-23",
      "userCross": "0.0",
      "userAdd": "0.0",
      "exchange": "2852367.0770729999"
    },
    ...
  ],
  "feeSchedule": {
    "cross": "0.00045",
    "add": "0.00015",
    "spotCross": "0.0007",
    "spotAdd": "0.0004",
    "tiers": {
      "vip": [
        {
          "ntlCutoff": "5000000.0",
          "cross": "0.0004",
          "add": "0.00012",
          "spotCross": "0.0006",
          "spotAdd": "0.0003"
        },
        ...
      ],
      "mm": [
        {
          "makerFractionCutoff": "0.005",
          "add": "-0.00001"
        },
        ...
      ]
    },
    "referralDiscount": "0.04",
    "stakingDiscountTiers": [
      {
        "bpsOfMaxSupply": "0.0",
        "discount": "0.0"
      },
      {
        "bpsOfMaxSupply": "0.0001",
        "discount": "0.05"
      },
      ...
    ]
  },
  "userCrossRate": "0.000315",
  "userAddRate": "0.000105",
  "userSpotCrossRate": "0.00049",
  "userSpotAddRate": "0.00028",
  "activeReferralDiscount": "0.0",
  "trial": null,
  "feeTrialReward": "0.0",
  "nextTrialAvailableTimestamp": null,
  "stakingLink": {
    "type": "tradingUser",
    "stakingUser": "0x54c049d9c7d3c92c2462bf3d28e083f3d6805061"
  },
  "activeStakingDiscount": {
    "bpsOfMaxSupply": "4.7577998927",
    "discount": "0.3"
  }
}

{% endtab %}

사용자의 스테이킹 위임 조회

POST https://api.hyperliquid.xyz/info

헤더

Name Type Description
Content-Type* String "application/json"

요청 본문

Name Type Description
type* String "delegations"
user* String 16진수 형식; 예: 0x0000000000000000000000000000000000000000.

{% tabs %}

[
    {
        "validator":"0x5ac99df645f3414876c816caa18b2d234024b487",
        "amount":"12060.16529862",
        "lockedUntilTimestamp":1735466781353
    },
    ...
]

{% endtab %}

사용자의 스테이킹 요약 조회

POST https://api.hyperliquid.xyz/info

헤더

Name Type Description
Content-Type* String "application/json"

요청 본문

Name Type Description
type* String "delegatorSummary"
user* String 16진수 형식; 예: 0x0000000000000000000000000000000000000000.

{% tabs %}

{
    "delegated": "12060.16529862",
    "undelegated": "0.0",
    "totalPendingWithdrawal": "0.0",
    "nPendingWithdrawals": 0
}

{% endtab %}

사용자의 스테이킹 내역 조회

POST https://api.hyperliquid.xyz/info

헤더

Name Type Description
Content-Type* String "application/json"

요청 본문

Name Type Description
type* String "delegatorHistory"
user* String 16진수 형식; 예: 0x0000000000000000000000000000000000000000.

{% tabs %}

[
    {
        "time": 1735380381353,
        "hash": "0x55492465cb523f90815a041a226ba90147008d4b221a24ae8dc35a0dbede4ea4",
        "delta": {
            "delegate": {
                "validator": "0x5ac99df645f3414876c816caa18b2d234024b487",
                "amount": "10000.0",
                "isUndelegate": false
            }
        }
    },
    ...
]

{% endtab %}

사용자의 스테이킹 보상 조회

POST https://api.hyperliquid.xyz/info

헤더

Name Type Description
Content-Type* String "application/json"

요청 본문

Name Type Description
type* String "delegatorRewards"
user* String 16진수 형식; 예: 0x0000000000000000000000000000000000000000.

{% tabs %}

[
    {
        "time": 1736726400073,
        "source": "delegation",
        "totalAmount": "0.73117184"
    },
    {
        "time": 1736726400073,
        "source": "commission",
        "totalAmount": "130.76445876"
    },
    ...
]

{% endtab %}

사용자의 HIP-3 DEX 추상화 상태 조회

POST https://api.hyperliquid.xyz/info

헤더

Name Type Description
Content-Type* String "application/json"

요청 본문

Name Type Description
type* String "userDexAbstraction"
user* String 16진수 형식; 예: 0x0000000000000000000000000000000000000000.

{% tabs %}

true

{% endtab %}

사용자의 추상화 상태 조회

POST https://api.hyperliquid.xyz/info

헤더

Name Type Description
Content-Type* String "application/json"

요청 본문

Name Type Description
type* String "userAbstraction"
user* String 16진수 형식; 예: 0x0000000000000000000000000000000000000000.

{% tabs %}

"unifiedAccount" | "portfolioMargin" | "disabled" | "default" | "dexAbstraction"

{% endtab %}

대출/차입 사용자 상태 조회

POST https://api.hyperliquid.xyz/info

헤더

Name Type Description
Content-Type* String "application/json"

요청 본문

Name Type Description
type* String "borrowLendUserState"
user* String 16진수 형식; 예: 0x0000000000000000000000000000000000000000.

{% tabs %}

{
    "tokenToState":[
        [
            0,
            {
                "borrow":{
                    "basis": "0.0",
                    "value": "0.0"
                },
                "supply":{
                    "basis": "44.69295862",
                    "value": "44.69692314"
                }
            }
        ],
        [
            1105,
            {
                "borrow":{
                    "basis": "0.0",
                    "value": "0.0"
                },
                "supply":{
                    "basis": "0.0",
                    "value": "0.0"
                }
            }
        ],
    ],
    "health":"healthy",
    "healthFactor":null
}

{% endtab %}

대출/차입 리저브 상태 조회

POST https://api.hyperliquid.xyz/info

헤더

Name Type Description
Content-Type* String "application/json"

요청 본문

Name Type Description
type* String "borrowLendReserveState"
token* Number token index

{% tabs %}

{
    "borrowYearlyRate": "0.05",
    "supplyYearlyRate": "0.0008245002",
    "balance": "3245939.4732256099",
    "utilization": "0.018322226",
    "oraclePx": "1.0",
    "ltv": "0.0",
    "totalSupplied": "3306509.7335290499",
    "totalBorrowed": "60582.61869494"
}

{% endtab %}

모든 대출/차입 리저브 상태 조회

POST https://api.hyperliquid.xyz/info

헤더

Name Type Description
Content-Type* String "application/json"

요청 본문

Name Type Description
type* String "allBorrowLendReserveStates"

{% tabs %}

[
    [
        0,
        {
            "borrowYearlyRate": "0.05",
            "supplyYearlyRate": "0.0008244951",
            "balance": "3245960.0596176102",
            "utilization": "0.0183221137",
            "oraclePx": "1.0",
            "ltv": "0.0",
            "totalSupplied": "3306530.3251102199",
            "totalBorrowed": "60582.62446067"
        }
    ],
    [
        150,
        {
            "borrowYearlyRate": "0.05",
            "supplyYearlyRate": "0.0",
            "balance": "11318.09684696",
            "utilization": "0.0",
            "oraclePx": "23.99",
            "ltv": "0.5",
            "totalSupplied": "11318.09684696",
            "totalBorrowed": "0.0"
        }
    ]
]

{% endtab %}

사용자의 승인된 빌더 조회

POST https://api.hyperliquid.xyz/info

헤더

Name Type Description
Content-Type* String "application/json"

요청 본문

Name Type Description
type* String "approvedBuilders"
user* String 16진수 형식; 예: 0x0000000000000000000000000000000000000000.

{% tabs %}

["0x476fa87b4d3818f437f38f1263bee508d7672d82"]

{% endtab %}

영문 공식 출처: https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint
원문 수집일: · 미러 빌드일: · 커뮤니티 번역이며 영문 원문 우선
비공식 커뮤니티 번역입니다. 저작권은 Hyperliquid에 있으며 영어 원문을 우선합니다. 출처: https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint