GET/v0/midnight/markets/{market_id}/state

Claude ↗ChatGPT ↗
Auth X-Hub-Key from API_HUB_KEYExecute GET /run/morpho/v0/midnight/markets/{market_id}/stateCache cached 10s, never served stale past that windowCost free · weight 0 · standard rate classSource billing free

Dynamic supply, debt, maturity, and depth state for one Midnight fixed-rate market.

Try this endpoint

Reads the credential from API_HUB_KEY; it never appears in the URL.

curl -sH "X-Hub-Key: $API_HUB_KEY" "https://openapihub.dev/run/morpho/v0/midnight/markets/0xbd290e0b508a18549b2977919d9fd8c598f2a13f42977dd13d23880a5c97dbc2/state"

Parameters

nameintypedescription
market_idpathstrrequired32-byte Midnight fixed-rate market ID.
example: 0xbd290e0b508a18549b2977919d9fd8c598f2a13f42977dd13d23880a5c97dbc2

Response

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