Get a pool's APY history
get_pool_historyAPY trend for one pool over 7, 30 (default) or 90 days: median, low, high, latest and the dated samples. Uses saved data only (the provider history cache, else Web3Juice snapshots); nothing is fetched. No history means unknown, not zero.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"poolId": "<poolId>"
},
"name": "get_pool_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| poolId | Yes | ||
| windowDays | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asOf | Yes | ||
| poolId | Yes | ||
| history | Yes | ||
| summary | Yes | ||
| version | Yes | ||
| fetchedAt | Yes | ||
| truncated | Yes | ||
| limitations | Yes | ||
| availability | Yes | ||
| returnedRecords | Yes | ||
| totalWindowRecords | Yes | ||
| summarySamplesTruncated | Yes |