POST/gql/vaults-v2
Auth X-Hub-Key from API_HUB_KEYExecute
POST /run/morpho/gql/vaults-v2Cache executed live on every call — a read-only POST answer is never cachedCost free · weight 0 · standard rate classSource billing freeRanked Morpho Vault V2 list with totalAssetsUsd, netApy, avgNetApy, underlying asset, and curator.
Try this endpoint
Reads the credential from API_HUB_KEY; it never appears in the URL.
curl -sX POST "https://openapihub.dev/run/morpho/gql/vaults-v2" \
-H "X-Hub-Key: $API_HUB_KEY" -H "Content-Type: application/json" \
-d '{"chainIds": [1], "listed": true, "orderBy": "TotalAssetsUsd", "orderDirection": "Desc", "first": 3}'Parameters
| name | in | type | description | |
|---|---|---|---|---|
chainIds | body | list[int] | optional | Chain IDs or names. example: [1] |
listed | body | bool | optional | Filter to listed V2 vaults. default: Trueexample: True |
orderBy | body | str | optional | Sort metric (TotalAssetsUsd, NetApy, AvgNetApy). default: TotalAssetsUsdexample: TotalAssetsUsd |
orderDirection | body | str | optional | Sort direction ('Desc' or 'Asc'). default: Descexample: Desc |
first | body | int | optional | Number of V2 vaults (1..100). default: 20example: 3 |
skip | body | int | optional | Offset for pagination. default: 0 |
Response
type: object
pagination: none
sample: {
"data": "object",
"extensions": "object"
}