POST /info/allMids

Auth X-Hub-Key from API_HUB_KEYExecute POST /run/hyperliquid/info/allMidsCache executed live on every call — a read-only POST answer is never cachedCost free · weight 0 · standard rate classSource billing free

Mid price for every listed perpetual and spot asset, keyed by the exchange's own coin symbol.

Parameters

No parameters documented.

Response

type: object
pagination: none
sample: {
  "#114910": "str",
  "#114911": "str",
  "#114920": "str",
  "#114921": "str",
  "#114930": "str",
  "#114931": "str",
  "#114940": "str",
  "#114941": "str",
  "#114950": "str",
  "#114951": "str",
  "#114960": "str",
  "#114961": "str",
  "#114970": "str",
  "#114971": "str",
  "#114980": "str",
  "#114981": "str",
  "#114990": "str",
  "#114991": "str",
  "#14720": "str",
  "#14721": "str",

Safe request

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

curl -sX POST "https://openapihub.dev/run/hyperliquid/info/allMids" \
  -H "X-Hub-Key: $API_HUB_KEY" -H "Content-Type: application/json" \
  -d '{}'