Returns public trade history showing executed trades with trade ID, timestamp, amount, and price. Use this to analyze recent market activity and price action.
From spec: Returns public trade history for a symbol.
Usage Tips
- Symbol format: tBTCUSD (t prefix for trading pairs)
- Query param 'limit' controls number of trades (max 500)
- Returns [ID, MTS, AMOUNT, PRICE] arrays
- Sort is reverse chronological (newest first)
- Use 'start' and 'end' for historical queries
Parameters (5)
end(integer, query, optional)
End timestamp in milliseconds
limit(integer, query, optional, default: 125)
Number of records (max 10000)
Constraints: {'maximum': 10000}
sort(integer, query, optional)
Sort order: +1 for ascending, -1 for descending
Constraints: {'enum': [-1, 1]}
start(integer, query, optional)
Start timestamp in milliseconds
symbol(string, path, required)
Trading pair symbol (e.g., tBTCUSD)
Examples (1)
Get BTC/USD trade historyprobe-gate
Demonstrates fetching the 5 most recent trades for the BTC/USD trading pair