get https://api-data-v1.dbotx.com/kline/wallet/statistics
This API is used to get trading statistics information for a specific wallet
Free | Plus | Pro | Enterprise | Credit Usage |
---|---|---|---|---|
✅ | ✅ | ✅ | ✅ | 10 |
Response data
{
"err": false, // Error or not
"res": [
{
"_id": "7Zcn6n3J5Z9YyzEcVz9vhMPJVkAtboAZyZtZpM8KjM7m", // Unique record ID
"bucket": 4, // Data grouping bucket (time/round category)
"buyCost": 36415.724111938005, // Total buy cost in base currency
"buyCostFee": 0.07035819999999995, // Transaction fee for buys
"buyCostU": 8541597.547146108, // Total buy cost in USD
"buyTimes": 9100, // Number of buy transactions
"buyTokenCount": 167, // Number of different tokens bought
"buyTokens": [ // List of tokens that were bought
{
"_id": "E11fWzyyddcqEowNRbrPoXGargFhUj4zHKaeFGc61LiR", // Token mint address
"assetsUri": "https://ipfs.io/ipfs/QmNxDYzbqPtyiei5FsSJCW1whTCjaXmxdoramLBjei7Kwg", // Metadata URI (IPFS)
"createdAt": 1757548428000, // Token creation time (timestamp)
"decimals": 6, // Token decimal places
"description": "", // Token description
"freezeAuthority": null, // Address with freeze authority (null = none)
"image": "https://cdn.dbotx.com/icon/6f69a5d38f0eae955bbf42e6d8f78baaf03306e6", // Token image URL
"mintAuthority": null, // Address with mint authority (null = none)
"name": "Justice For Charlie", // Token name
"supply": 1000000000, // Total token supply
"symbol": "CHARLIE", // Token symbol
"tokenProgram": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA", // Token program ID (SPL)
"updatedAt": 1757548442768, // Last metadata update time
"fetchAssetsUri": true, // Whether metadata can be fetched from URI
"telegram": null, // Telegram link (if available)
"twitter": "https://x.com/i/communities/1965848326080799023/", // Twitter link
"website": "https://www.instagram.com/reel/DObo1gbgbS-/", // Website link
"imgHash": "6f69a5d38f0eae955bbf42e6d8f78baaf03306e6", // Image hash (for duplicate detection)
"similarImg": true, // Whether similar images detected
"icon": "https://cdn.dbotx.com/icon/6f69a5d38f0eae955bbf42e6d8f78baaf03306e6" // Token icon
}
],
"losingCost": 82759.72579995266, // Total cost of losing trades (base currency)
"losingCostU": 19555204.874669056, // Total cost of losing trades (USD)
"losingIncome": 710.088222845, // Income from losing trades (base currency)
"losingIncomeU": 162870.61095078918, // Income from losing trades (USD)
"losingProfit": -4299.237199035478, // Net profit from losing trades (base currency)
"losingProfitU": -992289.0312744109, // Net profit from losing trades (USD)
"losingTokenCount": 4, // Number of losing tokens
"losingTokens": [ // List of tokens that lost value
{
"_id": "9HWSPMBdQmEBQcRn15PPKwgWYCAouGMpdeKQZPP1s4rW", // Token mint address
"assetsUri": "https://ipfs.io/ipfs/QmWvXPfBhEouMJSqaitVeS41MRoyhbuSnEGZYDdAvjhjdq", // Metadata URI
"createdAt": 1757517366000, // Token creation time
"decimals": 6, // Decimal precision
"description": null, // Token description
"freezeAuthority": null, // Freeze authority
"image": "https://cdn.dbotx.com/icon/undefined", // Token image (undefined if not available)
"mintAuthority": null, // Mint authority
"name": "XYM", // Token name
"supply": 1000000000, // Total supply
"symbol": "MYX🚀", // Token symbol (with emoji)
"tokenProgram": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA", // SPL token program
"updatedAt": 1757517393369, // Last updated timestamp
"fetchAssetsUri": true, // Whether metadata can be fetched
"icon": "https://cdn.dbotx.com/icon/undefined" // Token icon
}
],
"profitRanges": { // Profit distribution by level
"winningLV1Count": 66, // Number of Level 1 winning trades
"winningLV2Count": 83, // Number of Level 2 winning trades
"winningLV4Count": 6, // Number of Level 4 winning trades
"winningLV3Count": 8, // Number of Level 3 winning trades
"losingLV1Count": 4 // Number of Level 1 losing trades
},
"sellCost": 8446314.072821602, // Total cost of sold tokens (base currency)
"sellCostFee": 0.15140839999999967, // Total sell transaction fees
"sellCostU": 1983884328.427522, // Sell cost in USD
"sellIncome": 58154.871078450975, // Income from sells (base currency)
"sellIncomeU": 13630423.44583251, // Income from sells (USD)
"sellProfit": 4997273.604961097, // Profit from sells (base currency)
"sellProfitU": 1171729244.8798807, // Profit from sells (USD)
"sellTimes": 15723, // Number of sell transactions
"sellTokenCount": 167, // Number of tokens sold
"sellTokens": [ /* Token details (similar to buyTokens) */ ],
"updatedAt": 1758156223, // Last record update timestamp
"winningCost": 8282254.1773658255, // Total cost of winning trades
"winningCostU": 1945120781.7523339, // Winning cost in USD
"winningIncome": 57057.25911243298, // Income from winning trades
"winningIncomeU": 13375972.915959777, // Winning income in USD
"winningProfit": 4992204.709119846, // Net profit from winning trades
"winningProfitU": 1170503412.202573, // Net profit in USD
"winningTokenCount": 163, // Number of winning tokens
"winningTokens": [ /* Token details */ ],
"sellProfitPersent": 0.5916514069777767, // Profit percentage from sells
"losingProfitPersent": -0.05194842246611137, // Loss percentage from losing trades
"winningProfitPersent": 0.6027591766940458, // Profit percentage from winning trades
"tradingTotalProfit": 21739.14696651297, // Overall trading profit (base currency)
"tradingTotalProfitU": 5088825.898686402, // Overall profit (USD)
"tradingTotalProfitPresent": 0.596971431892695, // Overall profit percentage
"buyAvgCost": 4.001727924388792, // Average buy cost per transaction
"buyAvgCostU": 938.637093092979, // Average buy cost in USD
"winningAvgProfit": 30627.02275533648, // Average profit per winning trade
"winningAvgProfitU": 7181002.528850142, // Average profit per winning trade (USD)
"losingAvgProfit": -1074.8092997588694, // Average loss per losing trade
"losingAvgProfitU": -248072.25781860272, // Average loss in USD
"buyAvgCostFee": 0.000007731670329670324, // Average fee per buy
"sellAvgCostFee": 0.00000962973987152577, // Average fee per sell
"dailyProfits": [] // List of daily profit data (empty = no daily breakdown yet)
}
]
}
Response data visualization reference
