GET/v0/midnight/books

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

Active Midnight fixed-rate orderbooks with top bid/ask depth and maturity metadata.

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/books?limit=5"

Parameters

nameintypedescription
chain_idsquerystroptionalOptional chain IDs filter.
limitqueryintoptionalPage size (default 100).
default: 20
example: 5
cursorquerystroptionalOpaque pagination cursor returned by the previous page.

Response

type: object
pagination: none
sample: {
  "cursor": "str",
  "data": "array[5]"
}