getRecentPublicTrades
Retrieve recent public trade execution history for a symbol, including price, size, and taker direction. Use for trade flow analysis or correlation with orderbook data.
Instructions
Query recent public trading history for a symbol, returning execution records with price, size, taker direction, timestamp, and sequence number.
Use this endpoint when you need to:
Inspect recent trade flow and execution prices for a symbol
Retrieve trade records for display or analysis purposes
Correlate trades with orderbook data using the
seq(cross sequence) field
Supported Products: Spot, USDT contract, USDC contract, Inverse contract, Option
Returns up to 1000 records (spot: up to 60) in reverse chronological order.
symbol is required for spot, linear, and inverse. For option, baseCoin defaults to BTC.
Do not use this endpoint for current price or 24h stats — use getTickers instead.
Do not use this endpoint for orderbook depth — use getOrderbook instead.
Notes:
symbolis required forspot,linear, andinversecategoriesFor
option,baseCoindefaults toBTCif not providedNo authentication required
Agent hint: Use this endpoint to retrieve recent public trade execution history for a symbol. For current price or 24h stats, use getTickers instead. For current bid/ask depth, use getOrderbook instead. Symbol is required for spot/linear/inverse; for option queries, use the baseCoin parameter.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| category | Yes | ||
| symbol | No | ||
| baseCoin | No | ||
| optionType | No | ||
| limit | No |