Documentation
API Reference

Markets

Lending markets, rates, limits and their history.

3 endpoints

#All lending markets with rates, limits and risk parameters

GET/v1/markets

Response

blockNumberrequiredstring
marketsrequiredobject[]
markets[].assetrequiredstring

EVM address

markets[].symbolrequiredstring
markets[].namerequiredstring
markets[].decimalsrequirednumber
markets[].priceUsdrequiredstring

USD price per whole token, decimal string

markets[].totalSupplyrequiredstring

Token amount in base units

markets[].totalSupplyUsdrequiredstring

USD value, decimal string

markets[].totalBorrowrequiredstring

Token amount in base units

markets[].totalBorrowUsdrequiredstring

USD value, decimal string

markets[].availableLiquidityrequiredstring

Token amount in base units

markets[].availableLiquidityUsdrequiredstring

USD value, decimal string

markets[].badDebtrequiredstring

Token amount in base units

markets[].utilizationrequiredstring

Ratio, decimal string (0.05 = 5%)

markets[].borrowAprrequiredstring

Ratio, decimal string (0.05 = 5%)

markets[].supplyAprrequiredstring

Ratio, decimal string (0.05 = 5%)

markets[].borrowApyrequiredstring

Ratio, decimal string (0.05 = 5%)

markets[].supplyApyrequiredstring

Ratio, decimal string (0.05 = 5%)

markets[].configrequiredobject
markets[].riskrequiredobject
markets[].marketrequiredobject

Errors

503
Request
curl "https://aethr-api.vercel.app/v1/markets"
Response · 200
{
  "blockNumber": "string",
  "markets": [
    {
      "asset": "WHYPE",
      "symbol": "WHYPE",
      "name": "string",
      "decimals": 0,
      "priceUsd": "62.4317",
      "totalSupply": "1000000",
      "totalSupplyUsd": "62.4317",
      "totalBorrow": "string",
      "totalBorrowUsd": "62.4317",
      "availableLiquidity": "string",
      "availableLiquidityUsd": "62.4317",
      "badDebt": "1000000",
      "utilization": "0.0425",
      "borrowApr": "string",
      "supplyApr": "1000000",
      "borrowApy": "0.0425",
      "supplyApy": "1000000",
      "config": {
        "collateralEnabled": true,
        "borrowEnabled": true,
        "supplyPaused": true,
        "borrowPaused": true,
        "ltvBps": 6000,
        "liquidationThresholdBps": 6000,
        "reserveFactorBps": 6000,
        "supplyCap": "1000000",
        "borrowCap": "string",
        "interestRateModel": {
          "baseRate": "0.0425",
          "slope1": "string",
          "slope2": "string",
          "optimalUtilization": "0.0425"
        }
      },
      "risk": {
        "borrowHaircutBps": 6000,
        "liquidationHaircutBps": 6000,
        "effectiveLtvBps": 6000,
        "effectiveLiquidationThresholdBps": 6000,
        "frozen": true,
        "priceFresh": true,
        "priceUpdatedAt": 1764374400000,
        "freezeReasons": [
          "string"
        ]
      },
      "market": {
        "status": "ok",
        "flags": [
          "string"
        ],
        "midUsd": "62.4317",
        "bidUsd": "62.4317",
        "askUsd": "62.4317",
        "spreadBps": 6000,
        "referenceUsd": "62.4317",
        "volatilityAnnualizedBps": 6000
      }
    }
  ]
}

#One market, including its interest rate curve

GET/v1/markets/{asset}

Parameters

assetpathrequiredstring

token address or symbol

Response

assetrequiredstring

EVM address

symbolrequiredstring
namerequiredstring
decimalsrequirednumber
priceUsdrequiredstring

USD price per whole token, decimal string

totalSupplyrequiredstring

Token amount in base units

totalSupplyUsdrequiredstring

USD value, decimal string

totalBorrowrequiredstring

Token amount in base units

totalBorrowUsdrequiredstring

USD value, decimal string

availableLiquidityrequiredstring

Token amount in base units

availableLiquidityUsdrequiredstring

USD value, decimal string

badDebtrequiredstring

Token amount in base units

utilizationrequiredstring

Ratio, decimal string (0.05 = 5%)

borrowAprrequiredstring

Ratio, decimal string (0.05 = 5%)

supplyAprrequiredstring

Ratio, decimal string (0.05 = 5%)

borrowApyrequiredstring

Ratio, decimal string (0.05 = 5%)

supplyApyrequiredstring

Ratio, decimal string (0.05 = 5%)

configrequiredobject
config.collateralEnabledrequiredboolean
config.borrowEnabledrequiredboolean
config.supplyPausedrequiredboolean
config.borrowPausedrequiredboolean
config.ltvBpsrequirednumber
config.liquidationThresholdBpsrequirednumber
config.reserveFactorBpsrequirednumber
config.supplyCaprequiredstring

0 = uncapped

config.borrowCaprequiredstring

0 = uncapped

config.interestRateModelrequiredobject
riskrequiredobject
risk.borrowHaircutBpsrequirednumber
risk.liquidationHaircutBpsrequirednumber
risk.effectiveLtvBpsrequirednumber

LTV after the liquidity-aware haircut

risk.effectiveLiquidationThresholdBpsrequirednumber
risk.frozenrequiredboolean

new borrowing of / against this asset is halted

risk.priceFreshrequiredboolean
risk.priceUpdatedAtrequirednumber

HyperCore timestamp of the on-chain price, ms

risk.freezeReasonsrequiredstring[]
marketrequiredobject
market.statusrequired"ok" | "degraded" | "halted"
market.flagsrequiredstring[]

Errors

400503
Request
curl "https://aethr-api.vercel.app/v1/markets/WHYPE"
Response · 200
{
  "asset": "WHYPE",
  "symbol": "WHYPE",
  "name": "string",
  "decimals": 0,
  "priceUsd": "62.4317",
  "totalSupply": "1000000",
  "totalSupplyUsd": "62.4317",
  "totalBorrow": "string",
  "totalBorrowUsd": "62.4317",
  "availableLiquidity": "string",
  "availableLiquidityUsd": "62.4317",
  "badDebt": "1000000",
  "utilization": "0.0425",
  "borrowApr": "string",
  "supplyApr": "1000000",
  "borrowApy": "0.0425",
  "supplyApy": "1000000",
  "config": {
    "collateralEnabled": true,
    "borrowEnabled": true,
    "supplyPaused": true,
    "borrowPaused": true,
    "ltvBps": 6000,
    "liquidationThresholdBps": 6000,
    "reserveFactorBps": 6000,
    "supplyCap": "1000000",
    "borrowCap": "string",
    "interestRateModel": {
      "baseRate": "0.0425",
      "slope1": "string",
      "slope2": "string",
      "optimalUtilization": "0.0425"
    }
  },
  "risk": {
    "borrowHaircutBps": 6000,
    "liquidationHaircutBps": 6000,
    "effectiveLtvBps": 6000,
    "effectiveLiquidationThresholdBps": 6000,
    "frozen": true,
    "priceFresh": true,
    "priceUpdatedAt": 1764374400000,
    "freezeReasons": [
      "string"
    ]
  },
  "market": {
    "status": "ok",
    "flags": [
      "string"
    ],
    "midUsd": "62.4317",
    "bidUsd": "62.4317",
    "askUsd": "62.4317",
    "spreadBps": 6000,
    "referenceUsd": "62.4317",
    "volatilityAnnualizedBps": 6000
  },
  "rateCurve": [
    {
      "utilization": "0.0425",
      "borrowApr": "string",
      "supplyApr": "1000000"
    }
  ]
}

#Historical supply, borrow and rates for charts

GET/v1/markets/{asset}/history

Parameters

hoursqueryinteger
assetpathrequiredstring

Response

assetrequiredstring

EVM address

pointsrequiredobject[]
points[].timerequiredstring
points[].totalSupplyrequiredstring

Token amount in base units

points[].totalBorrowrequiredstring

Token amount in base units

points[].utilizationrequiredstring

Ratio, decimal string (0.05 = 5%)

points[].borrowAprrequiredstring

Ratio, decimal string (0.05 = 5%)

points[].supplyAprrequiredstring

Ratio, decimal string (0.05 = 5%)

points[].priceUsdrequiredstring

USD price per whole token, decimal string

Errors

400503
Request
curl "https://aethr-api.vercel.app/v1/markets/WHYPE/history"
Response · 200
{
  "asset": "WHYPE",
  "points": [
    {
      "time": "string",
      "totalSupply": "1000000",
      "totalBorrow": "string",
      "utilization": "0.0425",
      "borrowApr": "string",
      "supplyApr": "1000000",
      "priceUsd": "62.4317"
    }
  ]
}