API Reference
DBot OfficialDBot DashboardPricing

TP/SL Tasks (fast buy/sell)

This API is used to get the user's all TP/SL tasks (from fast buy/sell)

FreePlusProEnterpriseCredit Usage
0

Response data

{
  "err": false, // Error or not
  "res": [
    {
      "accountId": "vd1l2ge6ac1dxh", // User id
      "id": "n1v50h7hfkt0e1", // Task id
      "enabled": true, // Task enable status, true/false
      "state": "init", // Order state (init/processing/done/fail/expired)
      "chain": "solana", // Blockchain (solana/ethereum/base/bsc/tron)
      "tradeType": "sell", // Trade type, with values of buy and sell
      "basePriceUsd": 0.1, // Buy price of token
      "triggerDirection": "up", // "down" means buy/sell below the trigger price, "up" means buy/sell above the trigger price
      "triggerPriceUsd": 0.12, // Price (USD) that triggers buy / sell
      "triggerPercent": 0.1, // Actual take profit / stop loss ratio
      "txPriceUsd": 0.125, // Price (USD) that actually bought / sold
      "currencyAmountUI": 1, // When trade type is buy, fill in the buy amount (ETH/SOL/BNB/TRX), when tradeType is sell, fill in the sell ratio (0-1)
      "initPnlPercent": 0.1, // Initial take profit / stop loss ratio
      "pair": "pair address", // Trading pair address
      "pairType": "raydium_amm", // From which DEX
      "walletId": "lus8auwp003zvg", // The id of the wallet to be used, which can be obtained via the "Wallet Info API"
      "walletType": "solana", // Wallet type (solana/evm)
      "walletAddress": "your wallet address", // Wallet address
      "walletName": "your wallet name", // Wallet name
      "source": "follow_order", // "follow_order" means task created by copy trading, "swap_order" means task created by fast buy / sell
      "sourceGroupIdx": null, // Segmented take profit / stop loss task number (starting from 0)
      "sourceId": "m21gjuks052ojs", // Copy trading task id or fast buy/sell record id
      "sourceTradeId": "m21gjuks052ojs_m3je3fglq21so1", // Copy trading record id or fast buy/sell record id
      "customFeeAndTip": false, // Whether priorityFee and jitoTip are custom set; false means auto allocation based on mode
      "priorityFee": null, // Priority Fee (SOL), null means auto
      "gasFeeDelta": 5, // Extra added gas (Gwei), valid for EVM
      "maxFeePerGas": 100, // Max gas fee (Gwei) for EVM; above this no execution
      "jitoEnabled": true, // Enable anti-MEV mode (Solana & Ethereum & Bsc)
      "jitoTip": 0.001, // Bribery tip used by Anti-MEV (Solana)
      "maxSlippage": 0.1, // Max slippage tolerance (0.00-1.00)
      "expireAt": 1731324301348, // Task expiration time (ms timestamp)
      "expireDelta": 36000000, // Task duration (ms), max 432000000
      "useMidPrice": false, // Anti-Spike mode using 1-sec mid-price trigger, false means disabled
      "concurrentNodes": 2, // Number of concurrent nodes (1-3)
      "retries": 1, // Retry times after failure (0-10)
      "errorCode": "", // Error type
      "errorMessage": "", // Error message
      "currencyInfo": {
        "contract": "So11111111111111111111111111111111111111112", // Native token contract address
        "name": "Wrapped SOL",
        "symbol": "SOL",
        "decimals": 9,
        "totalSupply": null,
        "icon": "icon url",
        "createAt": null
      },
      "tokenInfo": {
        "contract": "CzLSujWBLFsSjncfkh59rUFqvafWcY5tzedWJSuypump", // Token contract address
        "createAt": 1728554501806, // Token creation time
        "name": "token name",
        "symbol": "token symbol",
        "decimals": 6,
        "totalSupply": "1000000000000000",
        "icon": "icon url",
        "freezeAuthority": null,
        "mintAuthority": null
      },
      "links": {
        "etherscan": "scan link",
        "dexscreener": "dexscreener link",
        "uniswap": "swap link"
      }
    }
  ]
}
Language