recentTrades
post
/info
Request recent trades.
Body
Request recent trades.
typeundefined · enumRequiredPossible values:
Type of request.
coinstringRequired
Asset symbol (e.g., BTC).
Responses
200
Array of recent trades.
application/json
422
Failed to deserialize the JSON body into the target type
text/plain
500
Internal Server Error
application/json
post
/infoPOST /info HTTP/1.1
Host: api.hyperliquid.xyz
Content-Type: application/json
Accept: */*
Content-Length: 37
{
"type": "recentTrades",
"coin": "text"
}[
{
"coin": "text",
"side": "B",
"px": "text",
"sz": "text",
"time": 1,
"hash": "text",
"tid": 1,
"users": []
}
]Last updated