recentTrades

post
/info

Request recent trades.

Body

Request recent trades.

typeundefined · enumRequired

Type of request.

Possible values:
coinstringRequired

Asset symbol (e.g., BTC).

Responses
200

Array of recent trades.

application/json
post
/info
POST /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