Copy Trading Tasks (GET)

Copy Trading Tasks

This API is used to get the user's all copy trading tasks

URL

Header: X-API-KEY

(Please do not disclose your API Key to anyone. If you are at risk of losing it, please refresh it.)

Parameters

{page} 0 / 1 / 2 ...
{size} 10 / 20 (max 20)
{chain} solana / ethereum / base / bsc / tron
{groupId} group_id

Notes

  1. X-API-KEY can be obtained in your "Dashboard", go to check: Dashboard

  2. In the paging type interface, use the next field in the return value as the query parameter for the next page (if next == null, it means that paging has ended)

Results

{
	"err": false,
	"res": [
		{
			"accountId": "vd1l2ge6ac1dxh",
			"id": "n1v50h7hfkt0e1",
			"enabled": true,
			"chain": "solana",
			"name": "task name",
			"walletId": "lus8auwp003zvg",
			"walletType": "solana",
			"walletAddress": "your wallet address",
			"walletName": "your wallet name",
			"groupId": "m53gevri055ird",
			"groupName": "group1",
			"buyTimes": 5,
			"sellTimes": 5,
			"pnlOrderCount": 5,
			"lastTradeTime": 1729477508,
			"lastTradeType": "take_profit",
			"dexFilter": [
				"raydium_amm",
				"pump"
			],
			"targetIds": [
				"ECQwEUMk55pxgrurokKTfqMHL4Aoj622vEZxgtYu4gNt"
			],
			"buySettings": {
				"enabled": true,
				"buyAmountType": "follow_amount",
				"maxBuyAmountUI": "0.1",
				"buyRatio": 1.5,
				"maxBalanceUI": 100,
				"reservedAmountUI": 0.01,
				"targetMinAmountUI": 0.1,
				"targetMaxAmountUI": 0.5,
				"minTokenMCUSD": 10000,
				"maxTokenMCUSD": 1000000,
				"maxBuyTax": 0.1,
				"maxSellTax": 0.1,
				"customFeeAndTip": false,
				"priorityFee": "0.00005",
				"gasFeeDelta": 5,
				"maxFeePerGas": 100,
				"jitoEnabled": true,
				"jitoTip": 0.001,
				"maxSlippage": 0.1,
				"skipFreezableToken": false,
				"skipMintableToken": false,
				"skipDelegatedToken": false,
				"skipNotOpensource": false,
				"skipHoneyPot": false,
				"minBurnedLp": 0.2,
				"minLpUsd": 10000000,
				"maxTokenAgeMs": 100000000,
				"maxTopHoldPercent": 0.5,
				"buyExist": false,
				"buyOncePerWallet": false,
				"concurrentNodes": 2,
				"retries": 1
			},
			"sellSettings": {
				"enabled": true,
				"mode": "mixed",
				"sellAmountType": "all",
				"sellSpeedType": "accurate",
				"stopEarnPercent": 1,
				"stopLossPercent": 0.5,
				"stopEarnGroup": [
					{
						"pricePercent": 0.2,
						"amountPercent": 0.5
					},
					{
						"pricePercent": 0.8,
						"amountPercent": 1
					}
				],
				"stopLossGroup": [
					{
						"pricePercent": 0.2,
						"amountPercent": 0.5
					},
					{
						"pricePercent": 0.8,
						"amountPercent": 1
					}
				],
				"trailingStopGroup": [
					{
						"pricePercent": 0.2,
						"amountPercent": 1
					}
				],
				"sellMode": "smart",
				"customFeeAndTip": false,
				"priorityFee": "",
				"gasFeeDelta": 5,
				"maxFeePerGas": 100,
				"jitoEnabled": true,
				"jitoTip": 0.001,
				"maxSlippage": 0.1,
				"concurrentNodes": 2,
				"retries": 1
			}
		}
	],
	"docs": "https://dbotx.com/docs"
}

Response Parameters

  • accountId: User id

  • id: Copy trading task id

  • enabled: Task enable status, true/false

  • chain: Blockchain (solana/ethereum/base/bsc/tron)

  • name: Name of copy trading

  • walletId: The id of the wallet to be used

  • walletType: Wallet type (solana/evm)

  • walletAddress: Wallet address

  • walletName: Wallet name

  • groupId: Group id

  • groupName: Group name

  • buyTimes: Copy buy times

  • sellTimes: Copy sell times

  • pnlOrderCount: Number of active take profit and stop loss tasks

  • lastTradeTime: Time of the latest transaction for the current task

  • lastTradeType: Type of the latest transaction for the current task (buy / sell / take_profit / stop_loss)

  • dexFilter: DEX to be copied, null means all, fill in the name to copy the corresponding DEX transaction, including: raydium_amm,raydium_clmm,raydium_cpmm,raydium_launchpad,meteora_dlmm,meteora_dyn,meteora_bc,pump,pump_swap,moonshot,orca_wp,uniswap_v2,uniswap_v3,pancake_v2,pancake_v3,sunswap_v2,sunpump,ether_vista,okx_v2,fourmeme,boop

  • targetIds: The wallet address to be copied (up to 10)

  • enabled (buySettings): Buy task enable status

  • buyAmountType: Copy buy type, including: "fixed_amount", "fixed_ratio", "follow_amount"

  • maxBuyAmountUI: Max copy buy amount, the minimum is 0.001 SOL, 0.0001 ETH, 0.0001 BNB, and 1 TRX

  • buyRatio: Copy buy ratio (0-10), effective when copy buy type is fixed_ratio

  • maxBalanceUI: Take profit amount (ETH/SOL/BNB/TRX), copy buy will stop when the balance above this amount

  • reservedAmountUI: Stop loss amount (ETH/SOL/BNB/TRX), copy buy will stop when the balance below this amount

  • targetMinAmountUI: In the buy settings, it means the copy buy will only occur when smart money's buy amount is greater than this value; in the sell settings, it means the copy sell will only occur when smart money's sell income is greater than this value

  • targetMaxAmountUI: In the buy settings, it means the copy buy will only occur when smart money's buy amount is less than this value; in the sell settings, it means the copy sell will only occur when smart money's sell income is less than this value

  • minTokenMCUSD: Min market cap, only copying buy tokens above this value

  • maxTokenMCUSD: Max market cap, only copying buy tokens below this value

  • maxBuyTax: Max buy tax (0-1),valid for EVM, only copying buy tokens with buy tax below this value (data from GoPlus, there will be some impact on the copy trading speed after setting this)

  • maxSellTax: Max sell tax (0-1),valid for EVM, only copying buy tokens with sell tax below this value (data from GoPlus, there will be some impact on the copy trading speed after setting this)

  • customFeeAndTip: "true" means both the priority fee (priorityFee) and the bribery tip (jitoTip) fields are valid, and the system will execute the transaction based on the provided values (null indicates automatic priority fee / bribery tip). "false" means that in turbo mode, only the priority fee (priorityFee) is valid, while in anti-MEV, only the bribery tip (jitoTip) is valid, and the system will allocate them automatically

  • jitoEnabled: "true" means enable anti-MEV mode (Solana & Ethereum)

  • jitoTip: Bribery tip used by Anti-MEV (Solana)

  • priorityFee: Priority Fee (SOL), valid for Solana, empty string means use auto priority fee

  • gasFeeDelta: Extra added gas (Gwei), valid for EVM

  • maxFeePerGas: When the base gas exceeds this value, no transaction will execute (Gwei), valid for EVM chains

  • maxSlippage: MAX slippage tolerance (0.00-1.00), when buying, it represents the difference between the actual price and the expected price. When selling, it represents the difference between the expected price and the actual price, the difference multiplier = 1/(1-slippage), 0.5 means a maximum of 2 times the accepted spread, 1 means unlimited spreads

  • skipFreezableToken: "true" means not to buy freezable tokens

  • skipMintableToken: "true" means not to buy mintable tokens

  • skipDelegatedToken: "true" means not to buy delegated tokens

  • skipNotOpensource: "true" means not to buy not opensource tokens defined by GoPlus, valid for EVM (there will be some impact on the copy trading speed when enabled)

  • skipHoneyPot: "true" means not to buy tokens that defined as honeypots by GoPlus, valid for EVM (there will be some impact on the copy trading speed when enabled)

  • minBurnedLp: Min LP burnt ratio (0-1), only buy tokens with the LP burnt ratio greater than or equal to this value, Raydium(AMM) and Raydium(CPMM) supported

  • minLpUsd: Min liquidity ($), only buy tokens with liquidity greater than or equal to this value

  • maxTopHoldPercent: Top 10 max holdings ratio (0-1), only buy tokens with top 10 holdings less than this value (valid for Solana)

  • maxTokenAgeMs: Max token age (milliseconds), only buy tokens with creation time less than or equal to this value

  • buyExist: Whether to continue to copy buy tokens already held

  • buyOncePerWallet: "true" means only buy once, "false" means unlimited buy times (only for tokens bought by DBot)

  • concurrentNodes: Number of concurrent nodes (1-3)

  • retries: Number of retries after failure (0-10)

  • enabled (sellSettings): Sell task enabled status

  • mode: Sell mode, "mixed" means both copy sell and take profit / stop loss are enabled, "only_copy" means only copy sell is enabled, "only_pnl" means only take profit / stop loss is enabled

  • sellAmountType: "all" means sell all, "follow_ratio" means follow the ratio to sell, "x_target_ratio" means multiply the sell ratio of Smart Money by a fixed multiplier

  • sellSpeedType: Copy sell speed, invalid when mode is "only_pnl", can enter "fast" and "accurate", "fast" prioritizes speed but may result in the sell ratio being inconsistent with smart money. "accurate" prioritizes accuracy, but the sell speed may be slower

  • stopEarnPercent: Take profit percentage (0.5 means 50%), available when the type of fast buy / sell is "buy", and in the sell setting of the copy trading, sell the token when its price rises above this percentage

  • stopLossPercent: Stop loss percentage (0.5 means 50%), available when the type of fast buy / sell is "buy", and in the sell setting of the copy trading, sell the token when its price falls above this percentage

  • stopEarnGroup: Take profit group, available when the type of fast buy / sell is "buy", and in the sell setting of the copy trading, up to 6 supported, stopEarnGroup / stopLossGroup and stopEarnPercent / stopLossPercent only need to enter one

  • stopLossGroup: Stop loss group, available when the type of fast buy / sell is "buy", and in the sell setting of the copy trading, up to 6 supported, stopEarnGroup / stopLossGroup and stopEarnPercent / stopLossPercent only need to enter one

  • trailingStopGroup: Trailing stop group, available when the type of fast buy / sell is "buy", currently only supports setting 1 group

  • pricePercent: Price percentage (0.5 means 50%), when in the take profit group, it means how much up to sell, when in the stop loss group, it means how much down to sell, when in the trailing stop group, it means the retrace ratio (can't be greater than or equal to 1)

  • amountPercent: Sell Ratio (0-1, 0.5 means 50%), e.g. up 100% sell 50%, up 200% sell all, sell ratio needs to be set to 0.5 and 1, not 0.5 and 0.5

  • sellMode: Sell method, valid for EVM, when sell revenue is less than consumed gas, "smart" means don't sell, "normal" means continue to sell.

Last updated