Skip to main content
POST
https://api.hotstuff.trade
/
info
curl --request POST \
  --url https://api.hotstuff.trade/info \
  --header 'Content-Type: application/json' \
  --data '{
    "method": "mids",
    "params": {
        "symbol": "all"
    }
}'
[
  {
    "symbol": "BTC-PERP",
    "mid_price": "115302"
  },
  {
    "symbol": "ETH-PERP",
    "mid_price": "4179.5"
  }
]
Retrieve mid prices for trading instruments (average of bid and ask).
curl --request POST \
  --url https://api.hotstuff.trade/info \
  --header 'Content-Type: application/json' \
  --data '{
    "method": "mids",
    "params": {
        "symbol": "all"
    }
}'
[
  {
    "symbol": "BTC-PERP",
    "mid_price": "115302"
  },
  {
    "symbol": "ETH-PERP",
    "mid_price": "4179.5"
  }
]

Request Body

method
string
default:"mids"
required
Must be “mids” for this endpoint
params
object
default:"{\"symbol\": \"all\"}"