allMids

post
/info

Request mid coin prices.

Body

Request mid coin prices.

typeundefined · enumRequired

Type of request.

Possible values:
dexstringOptional

DEX name (empty string for main dex).

Responses
200

Mapping of coin symbols to mid prices.

application/json
post
/info
POST /info HTTP/1.1
Host: api.hyperliquid.xyz
Content-Type: application/json
Accept: */*
Content-Length: 31

{
  "type": "allMids",
  "dex": "text"
}
{
  "ANY_ADDITIONAL_PROPERTY": "text"
}

Last updated