Get V1 vault allocation history
Historical allocation state of a Morpho Vault V1 grouped by market: supplied assets, supplied shares, and supply cap.
Vault selector example: 1:0xBEEF01735c132Ada46AA9aA4c54623cAA92A64CB (format: <chain_id>:<vault_address>; replace with the target vault).
Path Parameters
vault-selector*string
Selector formatted as <chain_id>:<vault_address>. Example: 1:0xBEEF01735c132Ada46AA9aA4c54623cAA92A64CB.
Format
<chain_id>:<vault_address>Query Parameters
lookback?string
Lookback period. Defaults to thirty_days. Historical sampling is selected automatically.
Value in
"one_day" | "seven_days" | "thirty_days" | "ninety_days" | "one_year" | "inception"market_id?string
Optional Morpho Blue market id filter.
Response Body
application/json
BASE_URL="${CORE_REST_BASE_URL:-https://api.morpho.org}"MORPHO_API_KEY="<MORPHO_API_KEY>"VAULT_SELECTOR="1:0xBEEF01735c132Ada46AA9aA4c54623cAA92A64CB"curl -sS "${BASE_URL}/v0/vaults-v1/${VAULT_SELECTOR}/allocations/history?lookback=thirty_days" \ -H "accept: application/json" \ -H "x-api-key: ${MORPHO_API_KEY}"{
"params": {
"chain_id": "1",
"vault_address": "0xBEEF01735c132Ada46AA9aA4c54623cAA92A64CB"
},
"data": [
{
"market_id": "0xb323495f7e4148be5643a4ea4a8221eef163e4bccfded827a6f46947d7ad9afb",
"history": [
{
"timestamp": 1729900800,
"supply_assets": "51200000000000",
"supply_shares": "51000000000000000000000",
"supply_cap": "100000000000000"
},
{
"timestamp": 1729987200,
"supply_assets": "52500000000000",
"supply_shares": "52300000000000000000000",
"supply_cap": "100000000000000"
}
]
}
],
"last_indexed_block": "19847234"
}