POST /info/recentTrades
Auth X-Hub-Key from API_HUB_KEYExecute
POST /run/hyperliquid/info/recentTradesCache executed live on every call — a read-only POST answer is never cachedCost free · weight 0 · standard rate classSource billing freeMost recent public trades for one coin, with price, size, side, time and trade id.
Parameters
| name | in | type | description | |
|---|---|---|---|---|
coin | body | str | required | Exchange coin symbol. example: BTC |
Response
type: array
pagination: none
sample: {
"[0]": "object"
}
Safe request
Reads the credential from API_HUB_KEY; it never appears in the URL.
curl -sX POST "https://openapihub.dev/run/hyperliquid/info/recentTrades" \
-H "X-Hub-Key: $API_HUB_KEY" -H "Content-Type: application/json" \
-d '{"coin": "BTC"}'