GET
/
apy_filter
/
{token_mint}
/
{start_timestamp}
/
{end_timestamp}
get_apy_by_time_range
curl --request GET \
  --url https://merv2-api.meteora.ag/apy_filter/{token_mint}/{start_timestamp}/{end_timestamp}
{
  "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
    }
  ]
}

Path Parameters

token_mint
string
required

The token mint address (Solana public key)

Example:

"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"

start_timestamp
string
required

Start timestamp (Unix timestamp in seconds)

Example:

"1640995200"

end_timestamp
string
required

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

Example:

"1641081600"

Response

200
application/json

Filtered APY state information

APY state information for different time periods