# afSui, haSui, vSui API

## **1. afSui APY**

* **Base URL**:\
  <https://open-api.naviprotocol.io/api/afsui/stats>
* **Method**: `GET`
* **Description**:\
  This API retrieves the Annual Percentage Yield (APY) for afSui.
* **Sample Response**:

  ```json
  {
    "data": {
      "apy": 0.027322659610035993
    },
    "code": 0
  }
  ```

***

## **2. haSui APY**

* **Base URL**:\
  <https://open-api.naviprotocol.io/api/haedal/stats>
* **Method**: `GET`
* **Description**:\
  This API retrieves the Annual Percentage Yield (APY) for haSui.
* **Sample Response**:

  ```json
  {
    "data": {
      "apy": 0.025893894780826487
    },
    "code": 0
  }
  ```

***

## **3. vSui Statistics API**

* **Base URL**:\
  <https://open-api.naviprotocol.io/api/volo/stats>
* **Method**: `GET`
* **Description**:\
  This API provides detailed statistical data for vSui.
* **Sample Response**:

  ```json
  {
    "data": {
      "operatorBalance": "39.413912684",
      "collectableFee": "131605.869947584",
      "pendingStakes": "1.009636323",
      "poolTotalRewards": "228631.715301755",
      "unstakeTicketSupply": "1.009636323",
      "totalStaked": "53263060.295093152",
      "activeStake": "52817200.312146262",
      "calcTotalRewards": "205768.543742003",
      "currentEpoch": "603",
      "validators": [
        {
          "address": "0xa92837bac51949cd6bac41dcec57d2a769f3c2cd2e8c0512f3eea0a2a2102b94",
          "totalStaked": "5704968.097185029",
          "priority": 0,
          "apy": "0.025869002321274353",
          "name": "P2P.ORG"
        },
        {
          "address": "0x4fffd0005522be4bc029724c7f0f6ed7093a6bf3a09b90e62f61dc15181e1a3e",
          "totalStaked": "2732652.145117887",
          "priority": 5,
          "apy": "0.02802546234307326",
          "name": "Mysten-1"
        },
        {
          "address": "0xd1d00bcc9661120fc6b0f233a2f6810f39e71b39fc637cb1b9e5635edb3b0c40",
          "totalStaked": "0",
          "priority": 1,
          "apy": "0.026324199442381593",
          "name": "stakefish"
        },
        {
          "address": "0x00ae78d3e5ba5d6b8de32455474f52811b95617cbad39ebf4f9e2daf67187407",
          "totalStaked": "34829854.384452006",
          "priority": 6,
          "apy": "0.029263662217253628",
          "name": "OKXEarn"
        },
        {
          "address": "0x184fbf9d6c2d2d3f27e27fe3ca2d3b4080bd406221e345e2d36633e638e988e1",
          "totalStaked": "0",
          "priority": 2,
          "apy": "0.027428769782009293",
          "name": "Cosmostation"
        },
        {
          "address": "0xcb7efe4253a0fe58df608d8a2d3c0eea94b4b40a8738c8daae4eb77830c16cd7",
          "totalStaked": "9995584.658701907",
          "priority": 7,
          "apy": "0.028026708009159452",
          "name": "Mysten-2"
        }
      ],
      "exchangeRate": 1.03538849964801,
      "totalSupply": "51641319.02892124",
      "apy": 0.0271,
      "sortedValidators": [
        "0xcb7efe4253a0fe58df608d8a2d3c0eea94b4b40a8738c8daae4eb77830c16cd7",
        "0x00ae78d3e5ba5d6b8de32455474f52811b95617cbad39ebf4f9e2daf67187407",
        "0x4fffd0005522be4bc029724c7f0f6ed7093a6bf3a09b90e62f61dc15181e1a3e",
        "0x3047b5258a4ba6d7a6bea9ada69cb336ecfb24fe1c3cea83094396665eba0de5",
        "0x184fbf9d6c2d2d3f27e27fe3ca2d3b4080bd406221e345e2d36633e638e988e1",
        "0x00ae78d3e5a5d6b8de32455474f52811b95617cbad39ebf4f9e2daf671874007",
        "0xd1d00bcc9661120fc6b0f233a2f6810f39e71b39fc637cb1b9e5635edb3b0c40",
        "0xa92837bac51949cd6bac41dcec57d2a769f3c2cd2e8c0512f3eea0a2a2102b94",
        "0xa2bf32db91ad54684cfd8a4e1d85f7672875d62421d40a8d993f601cff9b61ff",
        "0xc64e58562d424e248abce5b886b264209c23d05b7b75bc5a1a5e137700f0ddf8",
        "0x752b18cfa44304b9bbb110ba95211556f79c62bc2916c23eeb7aea959f5b3463"
      ],
      "maxInstantUnstake": "52817200.312146264",
      "maxNoFeeUnstake": "3125202.305753155"
    },
    "code": 0
  }
  ```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://naviprotocol.gitbook.io/navi-protocol-developer-docs/navi-api-collection/afsui-hasui-vsui-api.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
