curl --request POST \
--url https://api.hyperliquid.xyz/info \
--header 'Content-Type: application/json' \
--data '{
"type": "allMids",
"dex": ""
}'
{
"@142": "116849.5",
"BTC": "116845.5",
"ETH": "3915.35",
"HYPE": "40.7915"
}
curl --request POST \
--url https://api.hyperliquid.xyz/info \
--header 'Content-Type: application/json' \
--data '{
"type": "allMids",
"dex": ""
}'
{
"@142": "116849.5",
"BTC": "116845.5",
"ETH": "3915.35",
"HYPE": "40.7915"
}
type
(string, required) — Must be "allMids"
dex
(string, optional) — Perp dex name. Defaults to empty string (first perp dex). Spot mids are only included with the first perp dex"@142"
alongside human‑readable symbols (for example, "BTC"
, "ETH"
). Use symbol keys for application logic and ignore "@..."
keys if not needed.curl -X POST \
-H "Content-Type: application/json" \
-d '{
"type": "allMids",
"dex": ""
}' \
https://api.hyperliquid.xyz/info
Mid prices for all available coins
Object containing mid prices for all coins with coin symbols as keys and prices as values
Was this page helpful?