v1

latestOpenAPI 3.0.32026-07-263871106.2 KB
APY

get_apy_by_time_range

Returns APY information for a specific token mint within a given time range

get/apy_filter/{token_mint}/{start_timestamp}/{end_timestamp}

Path parameters

token_mintstring required
Example:EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v

The token mint address (Solana public key)

start_timestampstring required
Example:1640995200

Start timestamp (Unix timestamp in seconds)

end_timestampstring required
Example:1641081600

End timestamp (Unix timestamp in seconds). Must be greater than start_timestamp

Response

Filtered 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
    }
  ]
}