GET
/api/v1/terminal/history
Permission: SMART_TRADES_READSecurity: SIGNED
Returns a list of trades from history (completed, cancelled, or otherwise closed). This endpoint returns trades that have been completed, cancelled, or otherwise closed. For active trades, use GET /quentrade/trades.
See Trade Entity for full attribute definitions
Trade EntityQuery Parameters
6account_idinteger
Optional filter for trades on a specific exchange account. Retrieve available account IDs via GET /api/v1/accounts.
pairstring
Optional filter for trades on a specific trading pair (e.g., USDT_BTC, BTC_ETH).
order_bystring
default: created_atField to sort results by. Allowed values: pair, created_at, closed_at.
order_directionstring
default: ascSort direction: asc or desc.
limitinteger
default: 10Number of records to return per page.
offsetinteger
default: 0Number of records to skip for pagination.
Example Request
GETGET /api/v1/terminal/history?account_id=1&limit=5
Example Responses
Returns an array of historical trade entities. See Trade Entity for full attribute definitions.
trades_history_200.json
200 OK