POST/gql/markets
Auth X-Hub-Key from API_HUB_KEYExecute
POST /run/morpho/gql/marketsCache executed live on every call — a read-only POST answer is never cachedCost free · weight 0 · standard rate classSource billing freeRanked Morpho Blue markets with USD supply/borrow/liquidity, supply/borrow/net APY including rewards, utilization, oracle type, LLTV, bad debt, and risk warnings.
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/markets" \
-H "X-Hub-Key: $API_HUB_KEY" -H "Content-Type: application/json" \
-d '{"chainIds": [1], "listed": true, "orderBy": "SupplyAssetsUsd", "orderDirection": "Desc", "first": 3}'Parameters
| name | in | type | description | |
|---|---|---|---|---|
chainIds | body | list[int] | optional | Chain IDs or names (e.g. [1, 8453] or ['ethereum', 'base']). example: [1] |
listed | body | bool | optional | Filter to listed markets (default true). default: Trueexample: True |
orderBy | body | str | optional | Sort metric (SupplyAssetsUsd, BorrowAssetsUsd, NetSupplyApy, Utilization, LiquidityAssetsUsd). default: SupplyAssetsUsdexample: SupplyAssetsUsd |
orderDirection | body | str | optional | Sort direction ('Desc' or 'Asc'). default: Descexample: Desc |
first | body | int | optional | Number of markets (1..100). default: 20example: 3 |
skip | body | int | optional | Offset for pagination. default: 0 |
search | body | str | optional | Search by token symbol or address. |
Response
type: object
pagination: none
sample: {
"data": "object",
"extensions": "object"
}