Vaults

Get vault historical asset metrics

Get a daily timeseries of vault asset metrics derived from on-chain snapshots. Returns totalAssets, totalLiquidAssets, sharePrice, and a 30-day rolling APY for each calendar day in the requested range. Authentication is optional but required for vaults with private organizations and may increase rate limits.

get/v3/vaults/{id}/historical/assets

Request

  • Base URL: https://api.creditcoop.xyz
  • URL: https://api.creditcoop.xyz/v3/vaults/{id}/historical/assets
  • Auth: one of:
    • API key in header x-api-key
    • HTTP bearer
    • OAuth 2 (authorization code, authorization URL https://clerk.creditcoop.xyz/oauth/authorize, token URL https://clerk.creditcoop.xyz/oauth/token)
    • none

Path parameters

idstring uuid required

Vault ID. Example: 550e8400-e29b-41d4-a716-446655440000

Query parameters

startDatestring date

Start date (YYYY-MM-DD, UTC). Defaults to the earliest available snapshot date.

endDatestring date

End date, inclusive (YYYY-MM-DD, UTC). Defaults to the latest available snapshot date.

Response

Default Response

vaultAddressstring required

Vault contract address

networkIdstring nullable required

CAIP-2 network identifier

assetTokenstring nullable required

Underlying asset token address (ERC-4626 asset())

shareTokenstring nullable required

Vault share token address (ERC-4626 share())

decimalsnumber nullable required

Asset token decimals (shared by asset and share tokens)

Changes

No recorded changes to this operation across all 1 revision of this API.