GET/v0/midnight/markets/{market_id}/state
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 freeDynamic 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
| name | in | type | description | |
|---|---|---|---|---|
market_id | path | str | required | 32-byte Midnight fixed-rate market ID. example: 0xbd290e0b508a18549b2977919d9fd8c598f2a13f42977dd13d23880a5c97dbc2 |
Response
type: object
pagination: none
sample: {
"data": "object"
}