POST/gql/markets

Claude ↗ChatGPT ↗
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 free

Ranked 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

nameintypedescription
chainIdsbodylist[int]optionalChain IDs or names (e.g. [1, 8453] or ['ethereum', 'base']).
example: [1]
listedbodybooloptionalFilter to listed markets (default true).
default: True
example: True
orderBybodystroptionalSort metric (SupplyAssetsUsd, BorrowAssetsUsd, NetSupplyApy, Utilization, LiquidityAssetsUsd).
default: SupplyAssetsUsd
example: SupplyAssetsUsd
orderDirectionbodystroptionalSort direction ('Desc' or 'Asc').
default: Desc
example: Desc
firstbodyintoptionalNumber of markets (1..100).
default: 20
example: 3
skipbodyintoptionalOffset for pagination.
default: 0
searchbodystroptionalSearch by token symbol or address.

Response

type: object
pagination: none
sample: {
  "data": "object",
  "extensions": "object"
}