curl --request POST \
--url 'https://api.hypedexer.com/info#allMids' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"type": "allMids"
}
'{
"BTC": "66764.5",
"ETH": "3421.2",
"SOL": "150.75"
}{
"error": "Invalid API key"
}Mid Prices
Get mid prices for all coins
Returns a map of coin symbol to mid price for all available coins.
Optionally filter by DEX:
- Omit
dexor set tonull→ perps only "ALL_DEXS"→ all DEXes and perps combined- A specific DEX name (e.g.
"ORCA") → only that DEX
Note: This type returns the result directly (not wrapped in {"result": ...}).
POST
/
info#allMids
curl --request POST \
--url 'https://api.hypedexer.com/info#allMids' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"type": "allMids"
}
'{
"BTC": "66764.5",
"ETH": "3421.2",
"SOL": "150.75"
}{
"error": "Invalid API key"
}Authorizations
Optional. API key passed via Authorization: Bearer <key>. Required only when API_KEY is configured on the server.
Body
application/json
Response
Map of coin symbol to mid price string. Returned directly (no result wrapper).
Map of coin symbol to mid price string