v1

latestOpenAPI 3.0.32026-07-263871106.2 KB
APY

get_apy_state

Returns APY (Annual Percentage Yield) information for strategies associated with a specific token mint

get/apy_state/{token_mint}

Path parameters

token_mintstring required
Example:EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v

The token mint address (Solana public key)

Response

APY state information

Example response

{
  "closest_apy": [
    {
      "strategy_name": "Solend USDC Main Pool",
      "strategy": "9WzDXwBbmkg8ZTbNMqUxvQRAyrZzDsGYdLVL9zYtAWWM",
      "apy": 5
    }
  ],
  "average_apy": [
    {
      "strategy_name": "Solend USDC Main Pool",
      "strategy": "9WzDXwBbmkg8ZTbNMqUxvQRAyrZzDsGYdLVL9zYtAWWM",
      "apy": 5
    }
  ],
  "long_apy": [
    {
      "strategy_name": "Solend USDC Main Pool",
      "strategy": "9WzDXwBbmkg8ZTbNMqUxvQRAyrZzDsGYdLVL9zYtAWWM",
      "apy": 5
    }
  ]
}