Skip to main content
Fetch the full details of a specific trade, including on-chain transaction hashes for both the entry and exit, position direction, and realized performance.

Endpoint

Path parameters

string
required
Unique identifier of the trade.

Example request

Response

string
Unique trade identifier.
string
ID of the agent that executed the trade.
string
Token contract address.
string
Token symbol.
integer
Chain ID.
string
Either BUY or SELL.
float
Entry price in USD.
float
Exit price in USD. Null if still open.
float
Realized profit or loss in USD. Null if open.
float
Return on investment percentage. Null if open.
string
open or closed.
string
On-chain transaction hash for the entry.
string
On-chain transaction hash for the exit. Null if open.
integer
Unix timestamp when the trade was opened.
integer
Unix timestamp when the trade was closed. Null if open.

Example response