Questions? Join our Discord.
curl --request POST \
--url https://api.hotstuff.trade/info \
--header 'Content-Type: application/json' \
--data '{
"method": "ticker",
"params": {
"symbol": "all"
}
}'
[
{
"type": "perp",
"symbol": "ETH-PERP",
"mark_price": "2265.6",
"mid_price": "2435.2",
"index_price": "2243.196046",
"best_bid_price": "2395.3",
"best_ask_price": "2475.2",
"best_bid_size": "291.6466",
"best_ask_size": "5.4876",
"funding_rate": "0.003421",
"open_interest": "23612.3172",
"volume_24h": "48081433.85016",
"change_24h": "-116.9",
"max_trading_price": "2333.599882",
"min_trading_price": "2197.662025",
"last_updated": 1770137768530,
"last_price": "2395.3"
},
]
Send POST request to /info with method: “ticker”
curl --request POST \
--url https://api.hotstuff.trade/info \
--header 'Content-Type: application/json' \
--data '{
"method": "ticker",
"params": {
"symbol": "all"
}
}'
[
{
"type": "perp",
"symbol": "ETH-PERP",
"mark_price": "2265.6",
"mid_price": "2435.2",
"index_price": "2243.196046",
"best_bid_price": "2395.3",
"best_ask_price": "2475.2",
"best_bid_size": "291.6466",
"best_ask_size": "5.4876",
"funding_rate": "0.003421",
"open_interest": "23612.3172",
"volume_24h": "48081433.85016",
"change_24h": "-116.9",
"max_trading_price": "2333.599882",
"min_trading_price": "2197.662025",
"last_updated": 1770137768530,
"last_price": "2395.3"
},
]
https://api.hotstuff.trade/info
curl --request POST \
--url https://api.hotstuff.trade/info \
--header 'Content-Type: application/json' \
--data '{
"method": "ticker",
"params": {
"symbol": "all"
}
}'
[
{
"type": "perp",
"symbol": "ETH-PERP",
"mark_price": "2265.6",
"mid_price": "2435.2",
"index_price": "2243.196046",
"best_bid_price": "2395.3",
"best_ask_price": "2475.2",
"best_bid_size": "291.6466",
"best_ask_size": "5.4876",
"funding_rate": "0.003421",
"open_interest": "23612.3172",
"volume_24h": "48081433.85016",
"change_24h": "-116.9",
"max_trading_price": "2333.599882",
"min_trading_price": "2197.662025",
"last_updated": 1770137768530,
"last_price": "2395.3"
},
]
Show params properties