curl --request POST \
--url https://api.hyperliquid.xyz/info \
--header 'Content-Type: application/json' \
--data '{
"type": "allMids",
"dex": ""
}'
{
"APE": "4.33245",
"ARB": "1.21695",
"BTC": "45123.50",
"ETH": "3247.85"
}
curl --request POST \
--url https://api.hyperliquid.xyz/info \
--header 'Content-Type: application/json' \
--data '{
"type": "allMids",
"dex": ""
}'
{
"APE": "4.33245",
"ARB": "1.21695",
"BTC": "45123.50",
"ETH": "3247.85"
}
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 dexMid 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?