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": "orderHistory",
    "params": {
        "user": "0xxxx"
    }
}'
{
    "data": [
        {
            "order_id": 153917370,
            "user": "0x42C183edba036906447372a7c81Eb89D0B9f2175",
            "instrument_id": 1,
            "instrument": "BTC-PERP",
            "side": "s",
            "position_side": "BOTH",
            "limit_price": "75187",
            "size": "0.00282",
            "unfilled": "0",
            "state": "filled",
            "cloid": "",
            "tif": "IOC",
            "post_only": false,
            "reduce_only": true,
            "trigger_px": "0",
            "is_market": false,
            "tpsl": "",
            "grouping": "",
            "timestamp": "2026-02-03T17:19:08.468Z"
        }
    ],
    "page": 1,
    "limit": 100,
    "total_count": 292,
    "total_pages": 3,
    "has_next": true,
    "has_prev": false
}
Retrieve historical order data for the authenticated user account.
curl --request POST \
  --url https://api.hotstuff.trade/info \
  --header 'Content-Type: application/json' \
  --data '{
    "method": "orderHistory",
    "params": {
        "user": "0xxxx"
    }
}'
{
    "data": [
        {
            "order_id": 153917370,
            "user": "0x42C183edba036906447372a7c81Eb89D0B9f2175",
            "instrument_id": 1,
            "instrument": "BTC-PERP",
            "side": "s",
            "position_side": "BOTH",
            "limit_price": "75187",
            "size": "0.00282",
            "unfilled": "0",
            "state": "filled",
            "cloid": "",
            "tif": "IOC",
            "post_only": false,
            "reduce_only": true,
            "trigger_px": "0",
            "is_market": false,
            "tpsl": "",
            "grouping": "",
            "timestamp": "2026-02-03T17:19:08.468Z"
        }
    ],
    "page": 1,
    "limit": 100,
    "total_count": 292,
    "total_pages": 3,
    "has_next": true,
    "has_prev": false
}

Request Body

method
string
default:"orderHistory"
required
Must be “orderHistory” for this endpoint
params
object
required