Returns the most recent trades (market executions) for a trading pair. Use this to display recent activity, analyze trading patterns, and verify recent price movements.
From spec: Get a list of the latest trades for a product, sorted by time (descending).
Usage Tips
- Results are paginated; use 'after' parameter for older trades
- 'side' indicates if trade was buyer-maker or seller-maker
- 'size' is the amount traded in base currency
- Results sorted by time descending (newest first)
Parameters (4)
after(string, query, optional)
Return trades after this trade ID (pagination)
before(string, query, optional)
Return trades before this trade ID (pagination)
limit(integer, query, optional, default: 100)
Number of trades to return (max 1000)
Constraints: {'minimum': 1, 'maximum': 1000}
product_id(string, path, required)
Product ID (e.g., BTC-USD)
Examples (1)
Get BTC-USD recent tradesprobe-gate
Demonstrates retrieving the most recent executed trades showing trade side, size, price, and timestamp for market activity analysis.