Skip to main content

Endpoint

POST /info

Request Body

ParameterTypeDescription
type*stringMust be "notionalMeta"

Response

{
  "perpMarkets": {
    "00020000": {
      "assetId": "00020000",
      "symbol": "BTC-USDC",
      "venueName": "BTC",
      "venueIndex": 0,
      "marginAsset": "00012710",
      "marketConfig": {
        "maxLeverage": 10,
        "szDecimals": 5,
        "maxOpenInterestUSD": 100000000
      },
      "openInterestCaps": {
        "cap": 100000000,
        "currentLong": 12000000,
        "currentShort": 8000000,
        "currentTotal": 20000000,
        "currentNet": 4000000
      }
    }
  },
  "assets": {
    "00012710": {
      "assetId": "00012710",
      "symbol": "USDC",
      "displayName": "USDC",
      "assetIndex": "0",
      "tokenId": "0x...",
      "spotMarketIndex": "0",
      "szDecimals": 6,
      "weiDecimals": 6,
      "collateralPolicy": {
        "ltv": 1,
        "haircut": 0,
        "borrowEnabled": true,
        "targetBorrow": 800000000,
        "maxBorrow": 1000000000
      },
      "depositCaps": {
        "cap": "5000000.00000000",
        "currentDeposits": "1000000.00"
      }
    }
  },
  "marginTables": [],
  "spotPairs": {
    "00030001": {
      "pairId": "00030001",
      "name": "HYPE/USDC",
      "tokens": ["0001abcd", "00012710"]
    }
  },
  "earn": {
    "apy": 350,
    "borrowApr": 525,
    "tvl": "1000000.00",
    "available": "800000.00",
    "utilization": 0.2,
    "nextAccrualTimestamp": 1701234567890
  }
}

Notes

  • Asset ids are 8-character hex strings without a 0x prefix. - The response includes spotPairs and earn in addition to perpMarkets, assets, and marginTables. - Spot asset metadata includes spotMarketIndex, szDecimals, weiDecimals, and depositCaps. depositCaps.cap and depositCaps.currentDeposits are denominated in each asset’s native token units. Perp openInterestCaps values are USD notional values. - earn.apy and earn.borrowApr are basis points.