
# Hợp đồng vĩnh cửu {#perpetuals}

Phần này cung cấp tài liệu các điểm cuối thông tin cụ thể dành riêng cho vĩnh cửu. Xem phần Giới hạn tốc độ để biết tốc độ giới hạn lôgíc và trọng số.

## Lấy lại tất cả các lá phổi vĩnh viễn {#retrieve-all-perpetual-dexs}

<mark style="color:green;">`POST`</mark> `https://api.hyperliquid.xyz/info`

#### Tiêu đề yêu cầu {#headers}

| Tên | Kiểu | Mô tả |
| ---------------------------------------------- | ------ | ------------------ |
| Content-Type<mark style="color:red;">\*</mark> | String | "application/json" |

#### Nội dung yêu cầu {#request-body}

| Tên | Kiểu | Mô tả |
| -------------------------------------- | ------ | ----------- |
| type<mark style="color:red;">\*</mark> | String | "perpDexs" |


**200: OK Phản hồi thành công**


```json
[
  null,
  {
    "name": "test",
    "fullName": "test dex",
    "deployer": "0x5e89b26d8d66da9888c835c9bfcc2aa51813e152",
    "oracleUpdater": null,
    "feeRecipient": null,
    "assetToStreamingOiCap": [["COIN1", "100000.0"], ["COIN2", "200000.0"]],
    "assetToFundingMultiplier": [["COIN1", "1.0"], ["COIN2", "2.0"]]
  }
]
```


## Retrieve siêu dữ liệu vĩnh cửu (vũ trụ và bảng lề) {#retrieve-perpetuals-metadata-universe-and-margin-tables}

<mark style="color:green;">`POST`</mark> `https://api.hyperliquid.xyz/info`

#### Tiêu đề yêu cầu {#headers_1}

| Tên | Kiểu | Mô tả |
| ---------------------------------------------- | ------ | ------------------ |
| Content-Type<mark style="color:red;">\*</mark> | String | "application/json" |

#### Nội dung yêu cầu {#request-body_1}

| Tên | Kiểu | Mô tả |
| -------------------------------------- | ------ | -------------------------------------------------------------------------------- |
| type<mark style="color:red;">\*</mark> | String | "meta" |
| dex                                    | String | Tên thủ phạm dex. Mặc định là chuỗi rỗng đại diện cho thủ phạm dex đầu tiên. |


**200: OK Phản hồi thành công**


```json
{
    "universe": [
        {
            "name": "BTC",
            "szDecimals": 5,
            "maxLeverage": 50
        },
        {
            "name": "ETH",
            "szDecimals": 4,
            "maxLeverage": 50
        },
        {
            "name": "HPOS",
            "szDecimals": 0,
            "maxLeverage": 3,
            "onlyIsolated": true
        },
        {
            "name": "LOOM",
            "szDecimals": 1,
            "maxLeverage": 3,
            "isDelisted": true,
            "marginMode": "strictIsolated", // "strictIsolated" means margin cannot be removed, "noCross" means only isolated margin allowed
            "onlyIsolated": true // deprecated. Means either "strictIsolated" or "noCross"
        }
    ],
    "marginTables": [
        [
            50,
            {
                "description": "",
                "marginTiers": [
                    {
                        "lowerBound": "0.0",
                        "maxLeverage": 50
                    }
                ]
            }
        ],
        [
            51,
            {
                "description": "tiered 10x",
                "marginTiers": [
                    {
                        "lowerBound": "0.0",
                        "maxLeverage": 10
                    },
                    {
                        "lowerBound": "3000000.0",
                        "maxLeverage": 5
                    }
                ]
            }
        ]
    ]
}
```


## Thu hồi bối cảnh tài sản vĩnh viễn (bao gồm giá niêm yết, nguồn vốn hiện tại, lợi nhuận mở, v.v.) {#retrieve-perpetuals-asset-contexts-includes-mark-price-current-funding-open-interest-etc}

<mark style="color:green;">`POST`</mark> `https://api.hyperliquid.xyz/info`

#### Tiêu đề yêu cầu {#headers_2}

| Tên | Kiểu | Mô tả |
| ---------------------------------------------- | ------ | ------------------ |
| Content-Type<mark style="color:red;">\*</mark> | String | "application/json" |

#### Nội dung yêu cầu {#request-body_2}

| Tên | Kiểu | Mô tả |
| -------------------------------------- | ------ | -------------------------------------------------------------------------------- |
| type<mark style="color:red;">\*</mark> | String | "metaAndAssetCtxs" |
| dex                                    | String | Tên thủ phạm dex. Mặc định là chuỗi rỗng đại diện cho thủ phạm dex đầu tiên. |


**200: OK Đáp ứng thành công (perp dex đầu tiên)**


```json
[
{
     "universe": [
        {
            "name": "BTC",
            "szDecimals": 5,
            "maxLeverage": 50
        },
        {
            "name": "ETH",
            "szDecimals": 4,
            "maxLeverage": 50
        },
        {
            "name": "HPOS",
            "szDecimals": 0,
            "maxLeverage": 3,
            "onlyIsolated": true
        }
    ],
    "marginTables":[
         [
            50,
            {
               "description":"",
               "marginTiers":[
                  {
                     "lowerBound":"0.0",
                     "maxLeverage":50
                  }
               ]
            }
         ]
     ],
     "collateralToken":0
},
[
    {
        "dayNtlVlm":"1169046.29406",
         "funding":"0.0000125",
         "impactPxs":[
            "14.3047",
            "14.3444"
         ],
         "markPx":"14.3161",
         "midPx":"14.314",
         "openInterest":"688.11",
         "oraclePx":"14.32",
         "premium":"0.00031774",
         "prevDayPx":"15.322"
    },
    {
         "dayNtlVlm":"1426126.295175",
         "funding":"0.0000125",
         "impactPxs":[
            "6.0386",
            "6.0562"
         ],
         "markPx":"6.0436",
         "midPx":"6.0431",
         "openInterest":"1882.55",
         "oraclePx":"6.0457",
         "premium":"0.00028119",
         "prevDayPx":"6.3611"
      },
      {
         "dayNtlVlm":"809774.565507",
         "funding":"0.0000125",
         "impactPxs":[
            "8.4505",
            "8.4722"
         ],
         "markPx":"8.4542",
         "midPx":"8.4557",
         "openInterest":"2912.05",
         "oraclePx":"8.4585",
         "premium":"0.00033694",
         "prevDayPx":"8.8097"
      }
]
]
```



**200: OK Phản hồi thành công (HIP-3 dex)**


```json
[
   {
      "universe":[
         {
            "szDecimals":4,
            "name":"xyz:XYZ100",
            "maxLeverage":20,
            "marginTableId":20,
            "onlyIsolated":true,
            "marginMode":"strictIsolated",
            "growthMode":"enabled",
            "lastGrowthModeChangeTime":"2025-11-23T17:21:40.390706535"
         },
         {
            "szDecimals":3,
            "name":"xyz:TSLA",
            "maxLeverage":10,
            "marginTableId":10,
            "onlyIsolated":true,
            "marginMode":"strictIsolated",
            "growthMode":"enabled",
            "lastGrowthModeChangeTime":"2025-11-23T17:21:40.390706535"
         },
         {
            "szDecimals":3,
            "name":"xyz:NVDA",
            "maxLeverage":10,
            "marginTableId":10,
            "onlyIsolated":true,
            "marginMode":"strictIsolated",
            "growthMode":"enabled",
            "lastGrowthModeChangeTime":"2025-11-23T17:21:40.390706535"
         }
      ],
      "marginTables":[
         [
            50,
            {
               "description":"",
               "marginTiers":[
                  {
                     "lowerBound":"0.0",
                     "maxLeverage":50
                  }
               ]
            }
         ]
      ],
      "collateralToken":0
   },
   [
      {
         "funding":"0.0002110251",
         "openInterest":"0.0854",
         "prevDayPx":"25956.0",
         "dayNtlVlm":"462.9758",
         "premium":"0.0031136686",
         "oraclePx":"25372.0",
         "markPx":"25451.0",
         "midPx":"25451.0",
         "impactPxs":[
            "24946.0",
            "25956.0"
         ],
         "dayBaseVlm":"0.0183"
      },
      {
         "funding":"0.0",
         "openInterest":"12.208",
         "prevDayPx":"447.49",
         "dayNtlVlm":"0.0",
         "premium":null,
         "oraclePx":"450.78",
         "markPx":"465.13",
         "midPx":"464.92",
         "impactPxs":null,
         "dayBaseVlm":"0.0"
      },
      {
         "funding":"0.0",
         "openInterest":"9.43",
         "prevDayPx":"177.0",
         "dayNtlVlm":"2192.853",
         "premium":null,
         "oraclePx":"188.15",
         "markPx":"177.06",
         "midPx":null,
         "impactPxs":null,
         "dayBaseVlm":"12.389"
      }
   ]
]
```


## Thu thập bản tóm tắt tài khoản vĩnh viễn của người dùng {#retrieve-users-perpetuals-account-summary}

<mark style="color:green;">`POST`</mark> `https://api.hyperliquid.xyz/info`

Xem vị thế mở và tóm tắt biên của người dùng cho giao dịch hợp đồng vĩnh cửu.

Theo tài khoản thống nhất hoặc biên danh mục đầu tư, sử dụng điểm cuối số dư giao ngay thay thế cho số dư tài khoản giao dịch giữa giao ngay và perps.

#### Tiêu đề yêu cầu {#headers_3}

| Tên | Kiểu | Mô tả |
| ---------------------------------------------- | ---- | ------------------ |
| Content-Type<mark style="color:red;">\*</mark> |      | "application/json" |

#### Nội dung yêu cầu {#request-body_3}

| Tên | Kiểu | Mô tả |
| -------------------------------------- | ------ | ---------------------------------------------------------------------------------------------------- |
| type<mark style="color:red;">\*</mark> | String | "clearinghouseState" |
| user<mark style="color:red;">\*</mark> | String | Địa chỉ onchain trong 42-định dạng thập lục phân ký tự; ví dụ 0x0000000000000000000000000000000000000000. |
| dex                                    | String | Tên thủ phạm dex. Mặc định là chuỗi rỗng đại diện cho thủ phạm dex đầu tiên. |


**200: OK Phản hồi thành công**


```json
{
  "assetPositions": [
    {
      "position": {
        "coin": "ETH",
        "cumFunding": {
          "allTime": "514.085417",
          "sinceChange": "0.0",
          "sinceOpen": "0.0"
        },
        "entryPx": "2986.3",
        "leverage": {
          "rawUsd": "-95.059824",
          "type": "isolated",
          "value": 20
        },
        "liquidationPx": "2866.26936529",
        "marginUsed": "4.967826",
        "maxLeverage": 50,
        "positionValue": "100.02765",
        "returnOnEquity": "-0.0026789",
        "szi": "0.0335",
        "unrealizedPnl": "-0.0134"
      },
      "type": "oneWay"
    }
  ],
  "crossMaintenanceMarginUsed": "0.0",
  "crossMarginSummary": {
    "accountValue": "13104.514502",
    "totalMarginUsed": "0.0",
    "totalNtlPos": "0.0",
    "totalRawUsd": "13104.514502"
  },
  "marginSummary": {
    "accountValue": "13109.482328",
    "totalMarginUsed": "4.967826",
    "totalNtlPos": "100.02765",
    "totalRawUsd": "13009.454678"
  },
  "time": 1708622398623,
  "withdrawable": "13104.514502"
}
```


## Lấy lại lịch sử tài trợ của người dùng hoặc cập nhật sổ cái không tài trợ {#retrieve-a-users-funding-history-or-non-funding-ledger-updates}

<mark style="color:green;">`POST`</mark> `https://api.hyperliquid.xyz/info`

Ghi chú: Cập nhật sổ cái không dùng vốn bao gồm các khoản tiền gửi, chuyển khoản và rút tiền.

#### Tiêu đề yêu cầu {#headers_4}

| Tên | Kiểu | Mô tả |
| ---------------------------------------------- | ------ | ------------------ |
| Content-Type<mark style="color:red;">\*</mark> | String | "application/json" |

#### Nội dung yêu cầu {#request-body_4}

| Tên | Kiểu | Mô tả |
| ------------------------------------------- | ------ | -------------------------------------------------------------------------------------------- |
| type<mark style="color:red;">\*</mark>      | String | "userFunding" or "userNonFundingLedgerUpdates" |
| user<mark style="color:red;">\*</mark>      | String | Địa chỉ theo định dạng thập lục phân ký tự 42; ví dụ 0x0000000000000000000000000000000000000000. |
| startTime<mark style="color:red;">\*</mark> | int    | Thời gian bắt đầu tính bằng mili giây, bao gồm |
| endTime                                     | int    | Thời gian kết thúc tính bằng mili-giây, bao gồm cả. Mặc định là giờ hiện tại. |


**200: OK Đáp ứng thành công (perp dex đầu tiên)**


```json
[
    {
        "delta": {
            "coin": "ETH",
            "fundingRate": "0.0000417",
            "szi": "49.1477",
            "type": "funding",
            "usdc":" -3.625312",
            "nSamples": null
        },
        "hash": "0xa166e3fa63c25663024b03f2e0da011a00307e4017465df020210d3d432e7cb8",
        "time": 1681222254710
    },
    ...
]
```



**200: OK Phản hồi thành công (HIP-3 dex)**


```json
[
   {
      "delta":{
           "type": "funding",
           "coin": "xyz:XYZ100",
           "usdc": "2.378343",
           "szi": "-15.0",
           "fundingRate": "0.00000625",
           "nSamples": null
      },
      "time": 1767654000068,
      "hash": "0xa166e3fa63c25663024b03f2e0da011a00307e4017465df020210d3d432e7cb9"
   },
   ...
]
```


## Thu hồi tỷ lệ tài trợ theo lịch sử {#retrieve-historical-funding-rates}

<mark style="color:green;">`POST`</mark> `https://api.hyperliquid.xyz/info`

#### Tiêu đề yêu cầu {#headers_5}

| Tên | Kiểu | Mô tả |
| ---------------------------------------------- | ------ | ------------------ |
| Content-Type<mark style="color:red;">\*</mark> | String | "application/json" |

#### Nội dung yêu cầu {#request-body_5}

| Tên | Kiểu | Mô tả |
| ------------------------------------------- | ------ | -------------------------------------------------------------- |
| type<mark style="color:red;">\*</mark>      | String | "fundingHistory" |
| coin<mark style="color:red;">\*</mark>      | String | Đồng xu, ví dụ "ETH" |
| startTime<mark style="color:red;">\*</mark> | int    | Thời gian bắt đầu tính bằng mili giây, bao gồm |
| endTime                                     | int    | Thời gian kết thúc tính bằng mili-giây, bao gồm cả. Mặc định là giờ hiện tại. |


**200: OK (phe dex đầu tiên)**


<pre class="language-json"><code class="lang-json">[
    {
        "coin":"ETH",
        "fundingRate": "-0.00022196",
        "premium": "-0.00052196",
        "time":1683849600076
<strong>    }
</strong>]
</code></pre>



**200: OK (HIP-3 dex)**


```json
[ 
    {
        "coin": "xyz:XYZ100",
        "fundingRate": "-0.00022196",
        "premium": "-0.00052196",
        "time": 1683849600076
    }
]
```


## Lấy lại tỷ lệ tài trợ dự đoán cho các địa điểm khác nhau {#retrieve-predicted-funding-rates-for-different-venues}

<mark style="color:green;">`POST`</mark> `https://api.hyperliquid.xyz/info`

Lưu ý rằng tỷ lệ tài trợ dự đoán chỉ được hỗ trợ cho perp dex đầu tiên.

#### Tiêu đề yêu cầu {#headers_6}

| Tên | Kiểu | Mô tả |
| ---------------------------------------------- | ------ | ------------------ |
| Content-Type<mark style="color:red;">\*</mark> | String | "application/json" |

#### Nội dung yêu cầu {#request-body_6}

| Tên | Kiểu | Mô tả |
| -------------------------------------- | ------ | ------------------- |
| type<mark style="color:red;">\*</mark> | String | "predictedFundings" |


**200: OK Phản hồi thành công**


```json
[
  [
    "AVAX",
    [
      [
        "BinPerp",
        {
          "fundingRate": "0.0001",
          "nextFundingTime": 1733961600000
        }
      ],
      [
        "HlPerp",
        {
          "fundingRate": "0.0000125",
          "nextFundingTime": 1733958000000
        }
      ],
      [
        "BybitPerp",
        {
          "fundingRate": "0.0001",
          "nextFundingTime": 1733961600000
        }
      ]
    ]
  ],...
]
```


## Truy vấn perps với số mũ lợi ích mở {#query-perps-at-open-interest-caps}

<mark style="color:green;">`POST`</mark> `https://api.hyperliquid.xyz/info`

#### Tiêu đề yêu cầu {#headers_7}

| Tên | Kiểu | Mô tả |
| ---------------------------------------------- | ------ | ------------------ |
| Content-Type<mark style="color:red;">\*</mark> | String | "application/json" |

#### Nội dung yêu cầu {#request-body_7}

| Tên | Kiểu | Mô tả |
| -------------------------------------- | ------ | ----------------------------------------------------------------------------------------------- |
| type<mark style="color:red;">\*</mark> | String | "perpsAtOpenInterestCap" |
| dex                                    | String | Thủ phạm dex tên của người xây dựng-thị trường dex triển khai. Không chỉ ra thì thủ phạm dex đầu tiên được dùng |


**200: OK Phản hồi thành công**


```json
["BADGER","CANTO","FTM","LOOM","PURR"]
```


## Lấy thông tin về nghi phạm Triển khai đấu giá {#retrieve-information-about-the-perp-deploy-auction}

<mark style="color:green;">`POST`</mark> `https://api.hyperliquid.xyz/info`

#### Tiêu đề yêu cầu {#headers_8}

| Tên | Kiểu | Mô tả |
| ---------------------------------------------- | ------ | ------------------ |
| Content-Type<mark style="color:red;">\*</mark> | String | "application/json" |

#### Nội dung yêu cầu {#request-body_8}

| Tên | Kiểu | Mô tả |
| -------------------------------------- | ------ | ------------------------- |
| type<mark style="color:red;">\*</mark> | String | "perpDeployAuctionStatus" |


**200: OK Phản hồi thành công**


```json
{
  "startTimeSeconds": 1747656000,
  "durationSeconds": 111600,
  "startGas": "500.0",
  "currentGas": "500.0",
  "endGas": null
}
```


## Lấy dữ liệu tài sản chủ động của người dùng {#retrieve-users-active-asset-data}

<mark style="color:green;">`POST`</mark> `https://api.hyperliquid.xyz/info`

#### Tiêu đề yêu cầu {#headers_9}

| Tên | Kiểu | Mô tả |
| ---------------------------------------------- | ------ | ------------------ |
| Content-Type<mark style="color:red;">\*</mark> | String | "application/json" |

#### Nội dung yêu cầu {#request-body_9}

| Tên | Kiểu | Mô tả |
| -------------------------------------- | ------ | --------------------------------------------------------------------------------------------------------------------------------------------------- |
| type<mark style="color:red;">\*</mark> | String | "activeAssetData" |
| user<mark style="color:red;">\*</mark> | String | Địa chỉ theo định dạng thập lục phân ký tự 42; ví dụ 0x0000000000000000000000000000000000000000. |
| coin<mark style="color:red;">\*</mark> | String | Tiền xu, ví dụ "ETH", Xem [ở đây](https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint#perpetuals-vs-spot) để biết thêm chi tiết. |


**200: OK (phe dex đầu tiên)**


```json
{
  "user": "0xb65822a30bbaaa68942d6f4c43d78704faeabbbb",
  "coin": "APT",
  "leverage": {
    "type": "cross",
    "value": 3
  },
  "maxTradeSzs": ["24836370.4400000013", "24836370.4400000013"],
  "availableToTrade": ["37019438.0284740031", "37019438.0284740031"],
  "markPx": "4.4716"
}
```



**200: OK (HIP-3 dex)**


```json
{
   "user": "0xa15099a30bbf2e68942d6f4c43d70d04faeab0a0",
   "coin": "xyz:XYZ100",
   "leverage":{
      "type": "isolated",
      "value": 20,
      "rawUsd": "0.0"
   },
   "maxTradeSzs": [
      "0.0",
      "0.0"
   ],
   "availableToTrade": [
      "0.0",
      "0.0"
   ],
   "markPx": "25451.0"
}
```


## Phục hồi bộ máy xây dựng-tách bỏ Perp Thị trường giới hạn {#retrieve-builder-deployed-perp-market-limits}

<mark style="color:green;">`POST`</mark> `https://api.hyperliquid.xyz/info`

#### Tiêu đề yêu cầu {#headers_10}

| Tên | Kiểu | Mô tả |
| ---------------------------------------------- | ------ | ------------------ |
| Content-Type<mark style="color:red;">\*</mark> | String | "application/json" |

#### Nội dung yêu cầu {#request-body_10}

| Tên | Kiểu | Mô tả |
| -------------------------------------- | ------ | ------------------------------------------------------------------------------ |
| type<mark style="color:red;">\*</mark> | String | "perpDexLimits" |
| dex<mark style="color:red;">\*</mark>  | String | Thủ phạm đặt tên dex của nhà xây dựng-triển khai thị trường dex. Không cho phép chuỗi rỗng. |


**200: OK**


```json
{
  "totalOiCap": "10000000.0",
  "oiSzCapPerPerp": "10000000000.0",
  "maxTransferNtl": "100000000.0",
  "coinToOiCap": [["COIN1", "100000.0"], ["COIN2", "200000.0"]],
}
```


## Lấy tình trạng thị trường của hợp đồng vĩnh cửu {#get-perp-market-status}

<mark style="color:green;">`POST`</mark> `https://api.hyperliquid.xyz/info`

#### Tiêu đề yêu cầu {#headers_11}

| Tên | Kiểu | Mô tả |
| ---------------------------------------------- | ------ | ------------------ |
| Content-Type<mark style="color:red;">\*</mark> | String | "application/json" |

#### Nội dung yêu cầu {#request-body_11}

| Tên | Kiểu | Mô tả |
| -------------------------------------- | ------ | --------------------------------------------------------------------------------------------- |
| type<mark style="color:red;">\*</mark> | String | "perpDexStatus" |
| dex<mark style="color:red;">\*</mark>  | String | Thủ phạm dex tên của người xây dựng-triển khai thị trường dex. Chuỗi trống đại diện cho thủ phạm dex đầu tiên. |


**200: OK**


```json
{
  "totalNetDeposit": "4103492112.4478230476"
}
```


## Lấy lại tất cả siêu dữ liệu vĩnh cửu (vũ trụ và bảng lề) {#retrieve-all-perpetuals-metadata-universe-and-margin-tables}

<mark style="color:green;">`POST`</mark> `https://api.hyperliquid.xyz/info`

#### Tiêu đề yêu cầu {#headers_12}

| Tên | Kiểu | Mô tả |
| ---------------------------------------------- | ------ | ------------------ |
| Content-Type<mark style="color:red;">\*</mark> | String | "application/json" |

#### Nội dung yêu cầu {#request-body_12}

| Tên | Kiểu | Mô tả |
| -------------------------------------- | ------ | -------------- |
| type<mark style="color:red;">\*</mark> | String | "allPerpMetas" |


**200: OK**


```json
[ // first perp dex
    [
        {
            "universe":[
                {
                    "name":"BTC",
                    "szDecimals":5,
                    "maxLeverage":50
                },
                {
                    "name":"ETH",
                    "szDecimals":4,
                    "maxLeverage":50
                },
                {
                    "name":"HPOS",
                    "szDecimals":0,
                    "maxLeverage":3,
                    "onlyIsolated":true
                }
            ],
            "marginTables":[
                [
                    50,
                    {
                        "description":"",
                        "marginTiers":[
                            {
                                "lowerBound":"0.0",
                                "maxLeverage":50
                            }
                        ]
                    }
                ]
            ],
            "collateralToken":0
        },
        [
            {
                "dayNtlVlm":"1169046.29406",
                "funding":"0.0000125",
                "impactPxs":[
                    "14.3047",
                    "14.3444"
                ],
                "markPx":"14.3161",
                "midPx":"14.314",
                "openInterest":"688.11",
                "oraclePx":"14.32",
                "premium":"0.00031774",
                "prevDayPx":"15.322"
            },
            {
                "dayNtlVlm":"1426126.295175",
                "funding":"0.0000125",
                "impactPxs":[
                    "6.0386",
                    "6.0562"
                ],
                "markPx":"6.0436",
                "midPx":"6.0431",
                "openInterest":"1882.55",
                "oraclePx":"6.0457",
                "premium":"0.00028119",
                "prevDayPx":"6.3611"
            },
            {
                "dayNtlVlm":"809774.565507",
                "funding":"0.0000125",
                "impactPxs":[
                    "8.4505",
                    "8.4722"
                ],
                "markPx":"8.4542",
                "midPx":"8.4557",
                "openInterest":"2912.05",
                "oraclePx":"8.4585",
                "premium":"0.00033694",
                "prevDayPx":"8.8097"
            }
        ]
    ],
    [ // second perp dex
        {
            "universe":[
                {
                    "szDecimals":4,
                    "name":"xyz:XYZ100",
                    "maxLeverage":20,
                    "marginTableId":20,
                    "onlyIsolated":true,
                    "marginMode":"strictIsolated",
                    "growthMode":"enabled",
                    "lastGrowthModeChangeTime":"2025-11-23T17:21:40.390706535"
                },
                {
                    "szDecimals":3,
                    "name":"xyz:TSLA",
                    "maxLeverage":10,
                    "marginTableId":10,
                    "onlyIsolated":true,
                    "marginMode":"strictIsolated",
                    "growthMode":"enabled",
                    "lastGrowthModeChangeTime":"2025-11-23T17:21:40.390706535"
                },
                {
                    "szDecimals":3,
                    "name":"xyz:NVDA",
                    "maxLeverage":10,
                    "marginTableId":10,
                    "onlyIsolated":true,
                    "marginMode":"strictIsolated",
                    "growthMode":"enabled",
                    "lastGrowthModeChangeTime":"2025-11-23T17:21:40.390706535"
                }
            ],
            "marginTables":[
                [
                    50,
                    {
                        "description":"",
                        "marginTiers":[
                            {
                                "lowerBound":"0.0",
                                "maxLeverage":50
                            }
                        ]
                    }
                ]
            ],
            "collateralToken":0
        },
        [
            {
                "funding":"0.0002110251",
                "openInterest":"0.0854",
                "prevDayPx":"25956.0",
                "dayNtlVlm":"462.9758",
                "premium":"0.0031136686",
                "oraclePx":"25372.0",
                "markPx":"25451.0",
                "midPx":"25451.0",
                "impactPxs":[
                    "24946.0",
                    "25956.0"
                ],
                "dayBaseVlm":"0.0183"
            },
            {
                "funding":"0.0",
                "openInterest":"12.208",
                "prevDayPx":"447.49",
                "dayNtlVlm":"0.0",
                "premium":null,
                "oraclePx":"450.78",
                "markPx":"465.13",
                "midPx":"464.92",
                "impactPxs":null,
                "dayBaseVlm":"0.0"
            },
            {
                "funding":"0.0",
                "openInterest":"9.43",
                "prevDayPx":"177.0",
                "dayNtlVlm":"2192.853",
                "premium":null,
                "oraclePx":"188.15",
                "markPx":"177.06",
                "midPx":null,
                "impactPxs":null,
                "dayBaseVlm":"12.389"
            }
        ]
    ]
]
```


## Lấy chú thích perp {#retrieve-perp-annotation}

<mark style="color:green;">`POST`</mark> `https://api.hyperliquid.xyz/info`

#### Tiêu đề yêu cầu {#headers_13}

| Tên | Kiểu | Mô tả |
| ---------------------------------------------- | ------ | ------------------ |
| Content-Type<mark style="color:red;">\*</mark> | String | "application/json" |

#### Nội dung yêu cầu {#request-body_13}

| Tên | Kiểu | Mô tả |
| -------------------------------------- | ------ | --------------------- |
| type<mark style="color:red;">\*</mark> | String | "perpAnnotation" |
| coin<mark style="color:red;">\*</mark> | String | tên tiền xu, ví dụ "BTC" |


**200: OK**


```json
{
  "category": "other",
  "description": "other perps"
}
```


## Tìm kiếm phạm trù của hợp đồng vĩnh cửu {#retrieve-perp-categories}

<mark style="color:green;">`POST`</mark> `https://api.hyperliquid.xyz/info`

#### Tiêu đề yêu cầu {#headers_14}

| Tên | Kiểu | Mô tả |
| ---------------------------------------------- | ------ | ------------------ |
| Content-Type<mark style="color:red;">\*</mark> | String | "application/json" |

#### Nội dung yêu cầu {#request-body_14}

| Tên | Kiểu | Mô tả |
| -------------------------------------- | ------ | ---------------- |
| type<mark style="color:red;">\*</mark> | String | "perpCategories" |


**200: OK**


```json
[["birb:PENGU","test_cat"],["nq:TEST","preipo"],["nq:TEST1","all"],["nq:TEST2","ai"]]
```


## Tìm lại chú thích ngắn gọn về tội {#retrieve-concise-perp-annotations}

<mark style="color:green;">`POST`</mark> `https://api.hyperliquid.xyz/info`

#### Tiêu đề yêu cầu {#headers_15}

| Tên | Kiểu | Mô tả |
| ---------------------------------------------- | ------ | ------------------ |
| Content-Type<mark style="color:red;">\*</mark> | String | "application/json" |

#### Nội dung yêu cầu {#request-body_15}

| Tên | Kiểu | Mô tả |
| -------------------------------------- | ------ | ------------------------ |
| type<mark style="color:red;">\*</mark> | String | "perpConciseAnnotations" |


**200: OK**


```json
[    
    [
        "dex:CATS",
        {
            "category": "indices",
            "keywords": ["meow"]
        }
    ],
    [
        "dex:DOGS",
        {
            "category": "indices"
        }
    ]
]
```
