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": "orderbook",
    "params": {
        "symbol": "BTC-PERP"
    }
}'
{
    "instrument_name": "PUMP-PERP",
    "bids": [
        {
            "price": 0.002408,
            "size": 3004045
        }
    ],
    "asks": [
        {
            "price": 0.002412,
            "size": 5474
        }
    ],
    "sequence_number": 12305069,
    "timestamp": 1770137902924
}
Retrieve current order book data with bid and ask levels for specified trading instruments.
curl --request POST \
  --url https://api.hotstuff.trade/info \
  --header 'Content-Type: application/json' \
  --data '{
    "method": "orderbook",
    "params": {
        "symbol": "BTC-PERP"
    }
}'
{
    "instrument_name": "PUMP-PERP",
    "bids": [
        {
            "price": 0.002408,
            "size": 3004045
        }
    ],
    "asks": [
        {
            "price": 0.002412,
            "size": 5474
        }
    ],
    "sequence_number": 12305069,
    "timestamp": 1770137902924
}

Request Body

method
string
default:"orderbook"
required
Must be “orderbook” for this endpoint
params
object
default:"{\"symbol\": \"BTC-PERP\"}"
required