POST/gql/market

Claude ↗ChatGPT ↗
Auth X-Hub-Key from API_HUB_KEYExecute POST /run/morpho/gql/marketCache executed live on every call — a read-only POST answer is never cachedCost free · weight 0 · standard rate classSource billing free

Detailed Morpho Blue market analytics including rewards APR, bad debt, warnings, and historical APY / utilization / TVL USD series.

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/market" \
  -H "X-Hub-Key: $API_HUB_KEY" -H "Content-Type: application/json" \
  -d '{"marketId": "0x64d65c9a2d91c36d56fbc42d69e979335320169b3df63bf92789e2c8883fcc64", "chainId": 1, "interval": "DAY", "includeHistory": true}'

Parameters

nameintypedescription
marketIdbodystrrequired32-byte 0x-prefixed Morpho Blue market ID.
example: 0x64d65c9a2d91c36d56fbc42d69e979335320169b3df63bf92789e2c8883fcc64
chainIdbodyintoptionalChain ID or friendly name (default 1).
default: 1
example: 1
intervalbodystroptionalHistorical bucket interval (HOUR, DAY, WEEK, MONTH, QUARTER, YEAR, ALL).
default: DAY
example: DAY
includeHistorybodybooloptionalInclude historicalState APY/utilization/TVL arrays.
default: True
example: True

Response

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