GET/v0/midnight/offer-groups/{group_id}

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

Retrieve Midnight multi-market offer group configuration, expiry, and consumption state.

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/offer-groups/0x001a7b7d7e2bac27d42588edd05724fa2a7ec1176cc4b83ba46a3f635c4b1e92"

Parameters

nameintypedescription
group_idpathstrrequired32-byte Midnight offer group ID.
example: 0x001a7b7d7e2bac27d42588edd05724fa2a7ec1176cc4b83ba46a3f635c4b1e92

Response

type: object
pagination: none
sample: {
  "data": "array[1]"
}