GET/v0/vaults-v1/{vault_selector}/users/{user_address}/position/history
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/morpho/v0/vaults-v1/{vault_selector}/users/{user_address}/position/historyCache cached 20s, never served stale past that windowCost free · weight 0 · standard rate classSource billing freeHistorical share balance and underlying asset value for a user in a MetaMorpho Vault V1.
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/v0/vaults-v1/1:0xbEef047a543E45807105E51A8BBEFCc5950fcfBa/users/0x000000000000000000000000000000000000dead/position/history?lookback=seven_days"Parameters
| name | in | type | description | |
|---|---|---|---|---|
vault_selector | path | str | required | MetaMorpho Vault V1 selector in '<chain_id>:<vault_address>' format. example: 1:0xbEef047a543E45807105E51A8BBEFCc5950fcfBa |
user_address | path | str | required | EVM user wallet address. example: 0x000000000000000000000000000000000000dead |
lookback | query | str | optional | Historical lookback window ('one_day', 'seven_days', 'thirty_days', 'ninety_days', 'one_year', 'inception', or shorthands '1d', '7d', '30d', '90d', '1y', 'all'). default: seven_daysexample: seven_days |
Response
type: object
pagination: none
sample: {
"params": "object",
"data": "array[169]",
"last_indexed_block": "str"
}