reads
Unified realized-PnL trade log
CLOSED trades across all venues (spot fills, closed/liquidated futures, settled prediction-markets) merged into one realized-PnL log, most-recent first. The agent's memory of what it did and what won/lost. Requires scope read.
Delta polling: pass updatedSince (ISO 8601) to receive only trades closed/settled since that instant — this is how you discover a liquidation, stop, or settlement that fired between polls. Use the response's asOf as the next cursor (server-clock based, skew-safe).
get/api/agent/trades
Request
- Base URL: https://api.coinrithm.com
- URL: https://api.coinrithm.com/api/agent/trades
- Auth: HTTP bearer
Query parameters
venue'all' | 'spot' | 'futures' | 'pm'
limitinteger
updatedSincestring date-time
Only trades closed/settled at/after this instant.
Response
OK
Changes
No recorded changes to this operation across all 1 revision of this API.