# Vault epochs Vault epochs are accounting-period snapshots for epoch-based vaults. An epoch contains vault identity and block context, `count`, `status`, duration and buffer settings, boundary dates when available, TVL, supply and price, APR/APY data, interest and fees, deposits, withdrawals, and current deposit/withdraw queue state. `creditExtended` reports token and USD amounts when available. `startSnapshot` and `stopSnapshot` preserve the boundary's price, supply, transaction hash, and block context; these optional boundary snapshots let you distinguish the epoch's current state from its start or stop observation. Use `APRs` for explicit annualized rate components and `interest.GROSS` where available; `expectedInterest` remains for compatibility. Queue, withdrawal, and instant-withdraw fields reflect the snapshot's current product state. A `FINISHED` epoch is historical accounting data, not an on-chain settlement guarantee. {% openapi src="../../assets/VaultEpochs.yaml" path="/vault-epochs" method="get" %} [VaultEpochs.yaml](../../assets/VaultEpochs.yaml) {% endopenapi %} ## Lender trend `GET /v1/vault-epochs/lender-trend?vaultId=...` returns materialized lender counts for completed epochs of one readable vault. Use it for a historical trend, not as a wallet-level position source. {% openapi src="../../assets/VaultEpochs.yaml" path="/vault-epochs/lender-trend" method="get" %} [VaultEpochs.yaml](../../assets/VaultEpochs.yaml) {% endopenapi %}