Auto Sniper Tasks (GET)

Auto Sniper Tasks

This API is used to get the user's all auto sniper 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
{state} init / done / expired

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",
			"expireAt": 1731324301348,
			"expireDelta": 36000000,
			"walletId": "lus8auwp003zvg",
			"walletType": "solana",
			"walletAddress": "your wallet address",
			"walletName": "your wallet name",
			"buyState": "done",
			"buyErrorCode": "",
			"buyErrorMessage": "",
			"sellState": "done",
			"sellErrorCode": "",
			"sellErrorMessage": "",
			"buySettings": {
				"buyAmountUI": 0.1,
				"customFeeAndTip": false,
				"priorityFee": "0.005",
				"gasFeeDelta": 5,
				"maxFeePerGas": 100,
				"jitoEnabled": true,
				"jitoTip": 0.001,
				"maxSlippage": 0.1,
				"minLiquidity": 0,
				"concurrentNodes": 2,
				"retries": 1
			},
			"sellSettings": {
				"enabled": true,
				"tradeType": "sell",
				"stopEarnEnabled": true,
				"stopEarnMode": "profit_percent",
				"stopEarnPercentOrPrice": 0.5,
				"stopLossEnabled": true,
				"stopLossMode": "loss_percent",
				"stopLossPercentOrPrice": 0.5,
				"autoSell": false,
				"customFeeAndTip": false,
				"priorityFee": null,
				"gasFeeDelta": 5,
				"maxFeePerGas": 100,
				"jitoEnabled": true,
				"jitoTip": 0.001,
				"maxSlippage": 0.1,
				"concurrentNodes": 2,
				"retries": 1
			},
			"tokenInfo": {
				"contract": "CzLSujWBLFsSjncfkh59rUFqvafWcY5tzedWJSuypump",
				"createAt": 1728554501806,
				"name": "token name",
				"symbol": "token symbol",
				"decimals": 6,
				"totalSupply": "1000000000000000",
				"icon": "icon url",
				"freezeAuthority": null,
				"mintAuthority": null
			}
		}
	],
	"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)

  • expireAt: Task expiration time (millisecond timestamp)

  • expireDelta: Task duration, max 864000000 (milliseconds)

  • walletId: The id of the wallet to be used

  • walletType: Wallet type (solana/evm)

  • walletAddress: Wallet address

  • walletName: Wallet name

  • buyState: Status of the buy task (init/processing/done/fail/expired)

  • buyErrorCode: Error code of the buy task

  • buyErrorMessage: Error reason of the buy task

  • sellState: Status of the sell task (init/processing/done/fail/expired)

  • sellErrorCode: Error code of the sell task

  • sellErrorMessage: Error reason of the sell task

  • buySettings: Buy settings

  • sellSettings: Sell settings

  • buyAmountUI: Buy amount (ETH/SOL/BNB/TRX)

  • 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

  • minLiquidity: Liquidity needs to be greater than this value to trigger sniping (USD)

  • 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

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

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

  • enabled (sellSettings): Sell task enabled status

  • tradeType: Trade type, with values of buy and sell

  • stopEarnEnabled: Whether to enable take profit

  • stopEarnMode: How to stop profit, currently supports "profit_percent", which means stop profit by percentage

  • stopEarnPercent: OrPriceTake Profit ratio, 0.5 means sell when 50% up

  • stopLossEnabled: Whether to enable stop loss

  • stopLossMode: How to stop loss, currently support " profit_percent", means stop loss by percentage

  • stopLossPercentOrPrice: Stop Loss ratio (0.00-1.00), 0.5 means sell when 50% down

  • autoSell: Whether to auto sell at the end of the task without triggering the take profit or stop loss

Last updated