For the complete documentation index, see llms.txt. This page is also available as Markdown.

Vault Exposure API

Returns the current collateral exposure of a vault: the underlying assets, their USD value, and their share of total allocation.

No API key required. Works with most Morpho vaults today.

Use cases

  • Agentic exploration — drop this into any agent flow to instantly surface a vault's full collateral picture.

  • Real-time decisions — let an agent evaluate what a vault actually holds, not just its headline yield, before allocating.

  • UX enrichment — surface exposure breakdowns directly in your product without a backend integration.

Endpoint

GET https://risk.yo.xyz/api/v1/public/vault/:chain/:vaultAddress/exposure

Headers

Name
Value

Content-Type

application/json

Query Parameters

Name
Type
Description

chain

string

Chain slug, e.g. ethereum

vaultAddress

string

Vault contract address

Response fields

Field
Description

vault

Vault identity — id, name, tvlUsd

allocatedUsd

Total USD value allocated by the vault

underlying

The vault's base asset(s) and their share of allocation

collateral

Each collateral asset backing the vault's positions, with USD exposure and percentage

uncollateralizedUsd / uncollateralizedPct

Portion of the vault with no identified collateral backing

Example Response

Last updated