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 Jito
    • πŸ“Š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
      • Auto-Wallet API
        • Wallet Import (POST)
        • Wallet Delete (DELETE)
        • Wallet Info (GET)
      • Auto-Group API
        • Create Group (POST)
        • Edit Group (PATCH)
        • Delete Group (DELETE)
        • Group Info (GET)
      • Auto-Fast Buy/Sell API
        • Fast Buy/Sell (POST)
        • (Muti)Fast Buy/Sell (POST)
        • Swap Order Info (GET)
        • TP/SL Tasks-Fast Buy/Sell (GET)
      • Auto-Copy Trading API
        • Create Copy Trading (POST)
        • Edit Copy Trading (POST)
        • Disable Copy Trading (PATCH)
        • (Multi)Disable Copy Trading (PATCH)
        • Delete Copy Trading (DELETE)
        • Copy Trading Tasks (GET)
        • TP/SL Tasks (copy trading) (GET)
      • Auto-Limit Order API
        • Create Limit Order (POST)
        • Edit Limit Order (PATCH)
        • Disable Limit Order (PATCH)
        • Delete Limit Order (DELETE)
        • Delete Limit Orders (POST)
        • Delete All Limit Orders (DELETE)
        • Limit Orders (GET)
      • Auto-Trailing Stop API
        • Edit Trailing Stop (PATCH)
        • Disable Trailing Stop (PATCH)
        • Disable Trailing Stop Tasks (PATCH)
        • Delete Trailing Stop (DELETE)
        • Delete Trailing Stop Tasks (POST)
        • Delete All Trailing Stop (DELETE)
        • Trailing Stop Tasks (GET)
      • Auto-Trigger Order API
        • Create Opening Sell (POST)
        • Create Dev Sell (POST)
        • Edit Opening Sell (PATCH)
        • Edit Dev Sell (PATCH)
        • Disable Opening Sell (PATCH)
        • Disable Dev Sell (PATCH)
        • Disable Opening Sell Tasks (PATCH)
        • Disable Dev Sell Tasks (PATCH)
        • Delete Opening Sell (DELETE)
        • Delete Dev Sell (DELETE)
        • Opening Sell Tasks (GET)
        • Dev Sell Tasks (GET)
      • Auto-Auto Sniper API
        • Create Auto Sniper (POST)
        • Disable Auto Sniper (PATCH)
        • Disable Auto Snipers (PATCH)
        • Delete Auto Sniper (PATCH)
        • Auto Sniper Tasks (GET)
      • Auto-Batch API
        • Token Multisender (POST)
        • Token Collection (POST)
      • Auto-Records API
        • Trading Records (GET)
        • Copy Records (GET)
        • Fast Buy & Sell Records (GET)
      • Simulator-Bot API
        • Simulator Auto Sniper (POST)
        • Simulator Copy Trading (POST)
        • Simulator Limit Order (POST)
        • Simulator Fast Buy / Sell (POST)
        • Simulator Account Info (GET)
      • Enterprise-Search API
        • Wallet Assets (GET)
        • Pool Info (SOL) (GET)
        • Pool Info (EVM) (GET)
    • API KEY
    • API Whitelist IPs
  • DBot Cobuild
    • 🀝Contact Us
    • 😎Join Alpha
Powered by GitBook
On this page
  • Trailing Stop Tasks
  • URL
  • Header: X-API-KEY
  • Parameters
  • Notes
  • Results
  • Response Parameters
  1. DBot Developer
  2. DBot APIs
  3. Auto-Trailing Stop API

Trailing Stop Tasks (GET)

PreviousDelete All Trailing Stop (DELETE)NextAuto-Trigger Order API

Last updated 23 days ago

Trailing Stop Tasks

This API is used to get the user's all trailing stop 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

{source} normal / swap_order / follow_order (only swap_order now) Required
{sourceId} fast buy / sell record id
{page} 0 / 1 / 2 ...
{size} 10 / 20 (max 20)
{chain} solana / ethereum / base / bsc / tron
{state} init / done / expired
{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,
			"triggerPriceUsd": 0.16,
			"highestPriceUsd": 0.2,
			"trailingDistancePercent": 0.2,
			"amountOrPercent": 1,
			"txPriceUsd": 0.125,
			"pair": "pair address",
			"pairType": "raydium_amm",
			"walletId": "lus8auwp003zvg",
			"walletType": "solana",
			"walletAddress": "your wallet address",
			"walletName": "your wallet name",
			"source": "swap_order",
			"sourceGroupIdx": null,
			"sourceId": "m21gjuks052ojs",
			"sourceTradeId": "m21gjuks052ojs_m3je3fglq21so1",
			"customFeeAndTip": false,
			"priorityFee": null,
			"gasFeeDelta": 5,
			"maxFeePerGas": 100,
			"jitoEnabled": true,
			"jitoTip": 0.001,
			"maxSlippage": 0.1,
			"expireAt": 1731324301348,
			"expireDelta": 36000000,
			"expireExecute": false,
			"useMidPrice": false,
			"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

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

  • highestPriceUsd: Highest price reached after token bought

  • trailingDistancePercent: Retrace ratio of the token price (cannot be greater than or equal to 1)

  • amountOrPercent: Sell ratio of the token

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

  • 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: Trailing stop task sources, only β€œswap_order” supported at this time

  • 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

  • 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

  • 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)

  • expireExecute: β€œtrue” means that when a task expires and is not triggered, the token will be bought or sold at the real-time price at that time

  • useMidPrice: "true" enables Anti-Spike mode using the 1-second mid-price as trigger price (not 100% guaranteed)

  • 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/trailing_stop_orders?page={page}&size={size}&chain={chain}&state={state}&source={source}&sourceId={sourceId}&token={token}
Dashboard