Skip to content
NAVIDocs
Open app
Skip to Content

afSui, haSui, vSui API

Query staking APY for afSUI and haSUI, or read Volo staking and validator statistics.

afSUI staking APY

Read Aftermath liquid staking data.

Request

curl --fail --show-error "https://open-api.naviprotocol.io/api/afsui/stats"

Response

Read data.apy as a decimal fraction. Multiply by 100 to display a percentage.

{
  "code": 0,
  "data": {
    "apy": 0.012476859901544346
  }
}

haSUI staking APY

Read Haedal liquid staking data.

Request

curl --fail --show-error "https://open-api.naviprotocol.io/api/haedal/stats"

Response

Read data.apy as a decimal fraction. Multiply by 100 to display a percentage.

{
  "code": 0,
  "data": {
    "apy": 0.013519725116510228
  }
}

vSUI statistics

Read Volo liquid staking data.

Request

curl --fail --show-error "https://open-api.naviprotocol.io/api/volo/stats"

Response

The response includes aggregate stake and reward values, a validator list and the current epoch. Preserve the precision of numeric strings.

{
  "code": 0,
  "data": {
    "totalStaked": "28649133.047797783",
    "activeStake": "28690045.394615138",
    "currentEpoch": "1316"
  }
}

Handling errors

Check the HTTP status before parsing JSON. For endpoints with a code field, check it before reading data. A gateway or timeout response can contain text instead of JSON. Retry transient failures with backoff. An unavailable endpoint provides no evidence that the balance, rewards or fee revenue is zero.

On this page