get https://api-data-v1.dbotx.com/kline/wallet/trades
This API is used to get historical trading records for a specific wallet
Free | Plus | Pro | Enterprise | Credit Usage |
---|---|---|---|---|
✅ | ✅ | ✅ | ✅ | 10 |
Response data
{
"err": false, // Error or not
"res": [
{
"_id": "7Zcn6n3J5Z9YyzEcVz9vhMPJVkAtboAZyZtZpM8KjM7m", // Wallet ID
"bucket": 4, // Classification bucket
"buyCost": 36415.724111938005, // Total cost of buys
"buyCostFee": 0.07035819999999995, // Total fees paid on buys
"buyCostU": 8541597.547146108, // Total buy cost in USD
"buyTimes": 9100, // Number of buy transactions
"buyTokenCount": 167, // Number of distinct tokens bought
"buyTokens": [ // List of bought tokens
{
"_id": "E11fWzyyddcqEowNRbrPoXGargFhUj4zHKaeFGc61LiR", // Token mint address
"assetsUri": "https://ipfs.io/ipfs/QmNxDYzbqPtyiei5FsSJCW1whTCjaXmxdoramLBjei7Kwg", // Metadata URI
"createdAt": 1757548428000, // Token creation timestamp (ms)
"decimals": 6, // Decimal precision of token
"description": "", // Token description
"freezeAuthority": null, // Freeze authority (if any)
"image": "https://cdn.dbotx.com/icon/6f69a5d38f0eae955bbf42e6d8f78baaf03306e6", // Token image
"mintAuthority": null, // Mint authority (if any)
"name": "Justice For Charlie", // Token name
"supply": 1000000000, // Total token supply
"symbol": "CHARLIE", // Token symbol
"tokenProgram": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA", // Token program address (SPL token)
"updatedAt": 1757548442768, // Metadata update timestamp (ms)
"fetchAssetsUri": true, // Whether asset URI is available
"telegram": null, // Telegram link (if provided)
"twitter": "https://x.com/i/communities/1965848326080799023/", // Twitter link
"website": "https://www.instagram.com/reel/DObo1gbgbS-/", // Website link
"imgHash": "6f69a5d38f0eae955bbf42e6d8f78baaf03306e6", // Image hash for deduplication
"similarImg": true, // Whether image is similar to others
"icon": "https://cdn.dbotx.com/icon/6f69a5d38f0eae955bbf42e6d8f78baaf03306e6" // Token icon
}
],
"losingCost": 82759.72579995266, // Cost of losing trades
"losingCostU": 19555204.874669056, // Losing trade cost in USD
"losingIncome": 710.088222845, // Income from losing trades
"losingIncomeU": 162870.61095078918, // Income from losing trades in USD
"losingProfit": -4299.237199035478, // Profit/loss from losing trades (negative = loss)
"losingProfitU": -992289.0312744109, // Profit/loss from losing trades in USD
"losingTokenCount": 4, // Number of losing tokens
"losingTokens": [ // List of losing tokens
{
"_id": "9HWSPMBdQmEBQcRn15PPKwgWYCAouGMpdeKQZPP1s4rW", // Token mint address
"assetsUri": "https://ipfs.io/ipfs/QmWvXPfBhEouMJSqaitVeS41MRoyhbuSnEGZYDdAvjhjdq", // Metadata URI
"createdAt": 1757517366000, // Token creation timestamp (ms)
"decimals": 6, // Decimal precision
"description": null, // Token description
"freezeAuthority": null, // Freeze authority
"image": "https://cdn.dbotx.co