Get historical TVL snapshots for a yield
Returns a chronological time series of Total Value Locked for the specified yield, expressed in underlying token units. Supports configurable time ranges, sampling intervals (day/week/month), and pagination.
Request
- Base URL: https://api.yield.xyz
- URL: https://api.yield.xyz/v1/yields/{yieldId}/tvl/history
- Auth: API key in header x-api-key
Path parameters
The unique identifier of the yield
Query parameters
Pagination offset
Maximum number of data points to return (default 100, max 365)
Start of time range (ISO 8601). Overrides period when provided.
End of time range (ISO 8601). Defaults to now.
Predefined time window. Ignored when from/to are provided. Default: 30d.
Sampling resolution (day/week/month). Default: day.
Fee configuration ID used to resolve partner allocator vault TVL history. Omit for underlying yield TVL history.
Response
Returns a time series of TVL snapshots in token units
Example response
{
"total": 100,
"limit": 20,
"yieldId": "ethereum-usdc-aave-v3",
"interval": "day",
"from": "2025-06-12T00:00:00.000Z",
"to": "2025-07-12T00:00:00.000Z"
}Changes
No recorded changes to this operation across all 1 revision of this API.