Skip to main content
Equivalent to SDK’s getVaultAPY().

Endpoint

GET https://api.paxoslabs.com/v2/amplify/vaultApys

Query Parameters

ParameterTypeRequiredDescription
filterstringYesFilter expression — must include vaultAddress=0x...
orderByTimestampstringNoSort order: desc (newest first) or asc
pageSizeintNoResults per page (use 1 for latest only)

Example Request

VAULT_ADDRESS="0x..."
curl -s "https://api.paxoslabs.com/v2/amplify/vaultApys?filter=vaultAddress%3D${VAULT_ADDRESS}&orderByTimestamp=desc&pageSize=1" \
  -H "x-api-key: $AMPLIFY_API_KEY" | jq '.vaultApys[0]'

Response

{
  "vaultApys": [
    {
      "vaultAddress": "0x...",
      "chainId": 1,
      "apy": "0.0523",
      "timestamp": "2025-01-15T12:00:00Z"
    }
  ]
}

Response Types

FieldTypeDescription
vaultAddressaddressBoringVault address
chainIdintChain ID
apystringAPY as a decimal string (e.g., "0.0523" = 5.23%)
timestampstringISO 8601 timestamp of the APY measurement
The apy field is a decimal (e.g., 0.0523 = 5.23%). Multiply by 100 to display as a percentage.