DBot Guide
DBot OfficialDBot DashboardDBot API
  • DBot | Automated DEX Trading
    • 🤖About DBot
    • 📖Getting Started
    • 🌈Forever Free
    • 🔥Referral Program
  • FAQ
    • ❓Help
      • 💡About DBot
      • 💡About Copy Trading/Sniping
      • 💡About Slippage
      • 💡About Pump
      • 💡Wallet Login
      • 💡Account Rebinding
      • 💡EVM transaction failed
      • 💡SOL transaction failed
      • 💡Case Explanation
    • 🚨Safety Tips
      • Security Alert
      • Device Management
      • API KEY
      • API Whitelist IPs
      • Google Authenticator (2FA)
    • 🔖Changelog
  • DEX Trading Bot
    • 🔥Auto Copy Trading
      • Copy Filter
      • Copy Records
      • Copy Group
      • Copy Templates
      • Token Blacklist
    • 🔥Auto Limit Order
    • 🔥Auto Sniper
    • 🔥Fast Buy/Sell
    • 🔥Auto TP/SL
    • 🔫Pump Trading
    • ⏰Trigger Order
      • Opening Sell
      • Dev Sell
    • 💰Sol Bribery
    • 📊Holding/Assets
    • 📈Marketing
    • 📑Billing
    • 📖User Audit
    • ⚙️DBot Settings
      • Multi Language
      • Default Chain
      • Default Wallet/Trading Fee Wallet
      • Cancel default restrictions
      • Template settings
      • Google Authenticator (2FA)
      • Security Alert
      • Device Management
  • Telegram Bot
    • 🤖Telegram Bot (Trading)
      • 💡How to Bind/Rebind
      • 🌈Referral Rewards
      • 👛Wallet Management
      • 📊Holding/Assets
      • 🔥Fast Buy/Sell
      • 🔥Copy Trading
      • 🔥Limit Order
      • 🔥Auto Sniper
      • 🔥Auto TP/SL
      • 💰Opening Sell
      • 💰Dev Sell
      • 💰Auto Buy
      • 💹Multi-wallet buy/sell
      • 🚨Security Alert
      • 📌Token Multisender
      • 💵Token Collection
      • 💥Token Burner
      • 💡Template Settings
      • 🌎Multi Language
    • 🤖Telegram Bot (Alert)
      • Single-Wallet Monitoring
      • Multi-Wallet Monitoring
    • 🤖Telegram Bot (Group)
  • Discord Bot
    • 🤖Discord Bot (Group)
  • DBot Free Tools
    • 📈DEX Simulator
    • 📌Token Multisender (free/no limit)
    • 💵Token Collection (free/no limit)
    • 💥Token Burner (Solana)
    • 👛Wallet Transfer(only gas fee)
    • 💰Smart Money Monitoring
  • DBot Developer
    • Automated DEX API
    • DBot APIs
      • Wallet Management API
        • Wallet Import (POST)
        • Wallet Delete (DELETE)
        • Wallet Info (GET)
      • Task Management API
        • Create Task
          • Fast Buy/Sell (POST)
          • (Muti)Fast Buy/Sell (POST)
          • Create Copy Trading (POST)
          • Create Limit Order (POST)
          • Create Opening Sell (POST)
          • Create Dev Sell (POST)
          • Create Auto Sniper (POST)
        • Edit Task
          • Edit Copy Trading (POST)
          • Edit Limit Order (PATCH)
          • Edit Trailing Stop (PATCH)
          • Edit Opening Sell (PATCH)
          • Edit Dev Sell (PATCH)
        • Enable/Disable Task
          • Disable Copy Trading (PATCH)
          • Disable Limit Order (PATCH)
          • Disable Trailing Stop (PATCH)
          • Disable Opening Sell (PATCH)
          • Disable Dev Sell (PATCH)
          • Disable Auto Sniper (PATCH)
          • (Multi)Disable Copy Trading (PATCH)
          • Disable Trailing Stop Tasks (PATCH)
          • Disable Dev Sell Tasks (PATCH)
          • Disable Auto Snipers (PATCH)
          • Disable Opening Sell Tasks (PATCH)
        • Delete Task
          • Delete Copy Trading (DELETE)
          • Delete Limit Order (DELETE)
          • Delete Limit Orders (POST)
          • Delete All Limit Orders (DELETE)
          • Delete Trailing Stop (DELETE)
          • Delete Trailing Stop Tasks (POST)
          • Delete All Trailing Stop (DELETE)
          • Delete Opening Sell (DELETE)
          • Delete Dev Sell (DELETE)
          • Delete Auto Sniper (PATCH)
        • Group
          • Create Group (POST)
          • Edit Group (PATCH)
          • Delete Group (DELETE)
          • Group Info (GET)
      • Transaction Info API
        • Query Task
          • Swap Order Info (GET)
          • Copy Trading Tasks (GET)
          • Limit Orders (GET)
          • Auto Sniper Tasks (GET)
          • Opening Sell Tasks (GET)
          • Dev Sell Tasks (GET)
          • TP/SL Tasks-Fast Buy/Sell (GET)
          • TP/SL Tasks (copy trading) (GET)
          • Trailing Stop Tasks (GET)
        • Query Trading Record
          • Trading Records (GET)
          • Copy Records (GET)
          • Fast Buy & Sell Records (GET)
      • Simulator API
        • Simulator Auto Sniper (POST)
        • Simulator Copy Trading (POST)
        • Simulator Limit Order (POST)
        • Simulator Fast Buy / Sell (POST)
        • Simulator Account Info (GET)
      • Batch Tool API
        • Token Multisender (POST)
        • Token Collection (POST)
      • Enterprise API
        • Wallet Assets (GET)
        • Pool Info (SOL) (GET)
        • Pool Info (EVM) (GET)
    • DBot WebSocket
      • Trade WebSocket
        • Subscribe to trade results (WS)
        • Fast buy/sell success alert (WS)
        • Fast buy/sell failure alert (WS)
    • API KEY
    • API Whitelist IPs
  • DBot Cobuild
    • 🤝Contact Us
    • 😎Join Alpha
Powered by GitBook
On this page
  • TP/SL Tasks (Fast Buy/Sell)
  • URL
  • Header: X-API-KEY
  • Parameters
  • Notes
  • Results
  • Response Parameters
  1. DBot Developer
  2. DBot APIs
  3. Transaction Info API
  4. Query Task

TP/SL Tasks-Fast Buy/Sell (GET)

PreviousDev Sell Tasks (GET)NextTP/SL Tasks (copy trading) (GET)

Last updated 1 month ago

TP/SL Tasks (Fast Buy/Sell)

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

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
{sourceId}  fast buy / sell record id
{token} token address

Notes

  1. 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,
			"state": "init",
			"chain": "solana",
			"tradeType": "sell",
			"basePriceUsd": 0.1,
			"triggerDirection": "up",
			"triggerPriceUsd": 0.12,
			"triggerPercent": 0.1,
			"txPriceUsd": 0.125,
			"currencyAmountUI": 1,
			"initPnlPercent": 0.1,
			"pair": "pair address",
			"pairType": "raydium_amm",
			"walletId": "lus8auwp003zvg",
			"walletType": "solana",
			"walletAddress": "your wallet address",
			"walletName": "your wallet name",
			"source": "follow_order",
			"sourceGroupIdx": null,
			"sourceId": "m21gjuks052ojs",
			"sourceTradeId": "m21gjuks052ojs_m3je3fglq21so1",
			"priorityFee": null,
			"gasFeeDelta": 5,
			"maxFeePerGas": 100,
			"jitoEnabled": true,
			"jitoTip": 0.001,
			"maxSlippage": 0.1,
			"expireAt": 1731324301348,
			"expireDelta": 36000000,
			"concurrentNodes": 2,
			"retries": 1,
			"errorCode": "",
			"errorMessage": "",
			"currencyInfo": {
				"contract": "So11111111111111111111111111111111111111112",
				"name": "Wrapped SOL",
				"symbol": "SOL",
				"decimals": 9,
				"totalSupply": null,
				"icon": "icon url",
				"createAt": null
			},
			"tokenInfo": {
				"contract": "CzLSujWBLFsSjncfkh59rUFqvafWcY5tzedWJSuypump",
				"createAt": 1728554501806,
				"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"
			}
		}
	],
	"docs": "https://dbotx.com/docs"
}

Response Parameters

  • accountId: User id

  • id: Task id

  • enabled: Task enable status, true/false

  • state: Order state (init/processing/done/fail/expired)

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

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

  • basePriceUsd: Buy price of token

  • triggerDirection: "down" means buy/sell below the trigger price, "up" means buy/sell above the trigger price

  • triggerPriceUsd: Price (USD) that triggers buy / sell

  • triggerPercent: Actual take profit / stop loss ratio

  • txPriceUsd: Price (USD) that actually bought / sold

  • currencyAmountUI: 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: Initial take profit / stop loss ratio

  • pair: Trading pair address

  • pairType: From which DEX

  • walletId: The id of the wallet to be used

  • walletType: Wallet type (solana/evm)

  • walletAddress: Wallet address

  • walletName: Wallet name

  • source: "follow_order" means the task was created by copy trading, "swap_order" means the task was created by fast buy / sell

  • sourceGroupIdx: Segmented take profit / stop loss task number (starting from 0)

  • sourceId: If the task is created by copy trading, this parameter is the copy trading task id, if the task is created by fast buy / sell, this parameter is the fast buy / sell record id

  • sourceTradeId: If the task is created by copy trading, this parameter is the copy trading record id, if the task is created by fast buy / sell, this parameter is the fast buy / sell record id

  • 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

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

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

  • 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

  • expireAt: Task expiration time (millisecond timestamp)

  • expireDelta: Task duration, max 864000000 (milliseconds)

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

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

  • errorCode: Error type

  • errorMessage: Error message

  • currencyInfo: Native token information

  • tokenInfo: Token information

  • link: Related links for this transaction

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

https://api-bot-v1.dbotx.com/automation/pnl_orders_from_swap_order?page={page}&size={size}&chain={chain}&state={state}&sourceId={sourceId}&token={token}
Dashboard