POST/gql/market
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 freeDetailed 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
| name | in | type | description | |
|---|---|---|---|---|
marketId | body | str | required | 32-byte 0x-prefixed Morpho Blue market ID. example: 0x64d65c9a2d91c36d56fbc42d69e979335320169b3df63bf92789e2c8883fcc64 |
chainId | body | int | optional | Chain ID or friendly name (default 1). default: 1example: 1 |
interval | body | str | optional | Historical bucket interval (HOUR, DAY, WEEK, MONTH, QUARTER, YEAR, ALL). default: DAYexample: DAY |
includeHistory | body | bool | optional | Include historicalState APY/utilization/TVL arrays. default: Trueexample: True |
Response
type: object
pagination: none
sample: {
"data": "object",
"extensions": "object"
}