Skip to main content

recentTrades Info Endpoint Method

Fetches recent executed trades for a market, including price, size, side, and transaction hash.

Updated on
Jun 15, 2026

Looking for trade data?

Use StreamData (TRADES stream) for real-time trades via gRPC, or userFills / userFillsByTime to query trade history for a specific address. For historical data, SQL Explorer has the hyperliquid_trades table.

Parameters

type
string
REQUIRED

Request type identifier specifying 'recentTrades' as the info endpoint method to retrieve the latest executed trades for a market

coin
string
REQUIRED

Trading pair symbol to retrieve recent market trades for, using standard symbols (e.g., 'BTC', 'ETH', 'SOL') for perpetuals or @index notation for spot markets

Returns

trades
array

Array of recent trade objects representing executed trades in the market

coin
string

Trading pair symbol for this trade, e.g., 'BTC', 'ETH'. Confirms which market this trade executed on.

side
string

Taker side of the trade: 'B' for Bid (buy - taker bought, maker sold) or 'A' for Ask (sell - taker sold, maker bought).

px
string

Trade execution price at which this transaction occurred. Returned as string for decimal precision.

sz
string

Trade size indicating the quantity exchanged in this transaction. Returned as string to maintain precision.

time
integer

Unix timestamp in milliseconds when this trade executed. Use for time-series analysis and real-time trade feeds.

hash
string

Blockchain transaction hash in hexadecimal format. Can be used for on-chain verification.

tid
integer

Unique trade identifier for this executed transaction. Useful for correlating trades across feeds.

users
array

Array of user addresses (wallets) involved in the trade. Typically contains taker and maker addresses.

Request
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free