HyperliquidHyperliquid REST APIMarket data
Get All Mid Prices
Returns mid prices for all available trading pairs. Uses order book mid-point when available, falls back to last trade price.
Rate Limit: 2 weight
Request Body
application/json
type*enum<string>required
Request type identifier
Available options:
allMidsdex?stringdefault: ""
Perp dex name for multi-dex support. Defaults to empty string (first perp dex).
Response Body
application/json
application/json
curl -X POST "https://api.hypereth.io/v1/info/allMids" \ -H "Content-Type: application/json" \ -d '{ "type": "allMids" }'{
"BTC": "43250.5",
"ETH": "2650.25",
"HYPE": "40.7915"
}{
"error": "Insufficient margin for order placement",
"code": 1001,
"details": {}
}