Get TVL History
yields_get_tvl_historyGet historical Total Value Locked snapshots for a yield. Use this to assess protocol health — a declining TVL is a warning sign. Defaults to last 30 days, daily interval.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | End of time range (ISO 8601). Defaults to now. | |
| from | No | Start of time range (ISO 8601). Overrides period. | |
| limit | No | Max data points to return (1-365, default 30). | |
| offset | No | Pagination offset. | |
| period | No | Predefined time window: "1d", "7d", "30d", "90d", "1y", "all". Ignored if from/to are set. Default: "30d". | |
| yieldId | Yes | Yield ID e.g. "base-usdc-aave-v3-lending". | |
| interval | No | Sampling resolution: "day", "week", or "month". Default: "day". |