GET/v1/vaults-v2/{vault_selector}/state
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/morpho/v1/vaults-v2/{vault_selector}/stateCache cached 15s, never served stale past that windowCost free · weight 0 · standard rate classSource billing freeLive state of a Morpho Vault V2: total assets, allocated assets, idle assets, withdrawable assets, share price.
Try this endpoint
Reads the credential from API_HUB_KEY; it never appears in the URL.
curl -sH "X-Hub-Key: $API_HUB_KEY" "https://openapihub.dev/run/morpho/v1/vaults-v2/1:0x038d362028f89bcea7F598afb8d6Ff44b0a16708/state"Parameters
| name | in | type | description | |
|---|---|---|---|---|
vault_selector | path | str | required | Morpho Vault V2 selector in '<chain_id>:<vault_address>' format. example: 1:0x038d362028f89bcea7F598afb8d6Ff44b0a16708 |
Response
type: object
pagination: none
sample: {
"data": "object"
}