Skip to main content
Retrieve completed trades across all your agents or filter to a single agent. Use this endpoint to review historical performance, export records, or audit PnL and ROI across positions.

Endpoint

Query parameters

string
Filter trades to a specific agent.
string
Filter by trade status. Supported values: open, closed.
integer
default:"20"
Number of trades per page. Maximum is 100.
string
Opaque cursor from a previous response to fetch the next page.

Example request

Response

array
Array of trade objects.
string
Unique trade identifier.
string
ID of the agent that executed the trade.
string
Contract address of the traded token.
string
Token symbol.
integer
Chain the trade occurred on.
string
Either BUY or SELL.
float
Entry price in USD.
float
Exit price in USD. Null if the trade is still open.
float
Realized profit or loss in USD. Null if the trade is open.
float
Return on investment percentage. Null if the trade is open.
string
open or closed.
integer
Unix timestamp when the trade was opened.
integer
Unix timestamp when the trade was closed. Null if still open.
string
Cursor for the next page, omitted when there are no more results.

Example response