Trades
GET /api/trades
Param
Default
Description
{
"trades": [
{
"id": "clx...",
"chain": "BASE",
"action": "BUY",
"txStatus": "CONFIRMED",
"tokenAddress": "0xAbC123...",
"tokenSymbol": "DEGEN",
"amountIn": "0.005",
"amountInUsd": 12.50,
"amountOut": "42000",
"amountOutUsd": 12.30,
"pricePerToken": 0.000293,
"platformFee": 0.000025,
"txHash": "0x5abc...",
"tweetAuthor": "baseddev",
"tweetUrl": "https://x.com/baseddev/status/123...",
"riskScore": 35,
"createdAt": "2026-01-01T00:00:00.000Z",
"buyPriceUsd": 0.000298
}
],
"pagination": {
"page": 1,
"limit": 20,
"total": 42,
"pages": 3
}
}P&L Fields (enriched per trade)
Field
On
Description
GET /api/trades/portfolio
GET /api/trades/stats
GET /api/trades/:id
GET /api/trades/public/:id
POST /api/trades/buy
POST /api/trades/sell
Field
Required
Description
POST /api/trades/quote
Last updated
Was this helpful?