GET
/
v1
/
perps
/
hyperliquid
/
markets
/
{symbol}
/
trades
Get Trades
curl --request GET \
  --url https://api.example.com/v1/perps/hyperliquid/markets/{symbol}/trades

Upstream Mapping

Maps to Hyperliquid’s POST /info with { "type": "recentTrades", "coin": "<symbol>" }.

Request

symbol
string
required
Market symbol (e.g., BTC)
limit
number
Number of trades to return. Default 50, max 200.

Example

curl -H "X-API-Key: $API_KEY" \
  "https://api.perps.studio/v1/perps/hyperliquid/markets/BTC/trades?limit=10"
Example Response
[
  {
    "id": "123456",
    "price": "67542.1",
    "size": "0.05000",
    "side": "buy",
    "timestamp": 1712000000000
  }
]