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
  • Create Auto Sniper
  • URL
  • Header: X-API-KEY
  • Notes
  • Request Example
  • Request Response
  • Response Parameters
  1. DBot Developer
  2. DBot APIs
  3. Auto-Auto Sniper API

Create Auto Sniper (POST)

PreviousAuto-Auto Sniper APINextDisable Auto Sniper (PATCH)

Last updated 23 days ago

Create Auto Sniper

This API is used to create multi-chain token sniper tasks

URL

https://api-bot-v1.dbotx.com/automation/snipe_order

Header: X-API-KEY

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

Notes

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

  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)

Request Example

{
	"enabled": true,
	"chain": "solana",
	"token": "8EPRkSsLRQ3vLZUyKHohMHQ7F7FN8fmVBeViNwznEHgJ",
	"walletId": "lus8auwp003zvg",
	"expireDelta": 360000000,
	"buySettings": {
		"buyAmountUI": "0.1",
		"customFeeAndTip": false,
		"priorityFee": "0.00005",
		"gasFeeDelta": 5,
		"maxFeePerGas": 100,
		"jitoEnabled": true,
		"jitoTip": 0.001,
		"maxSlippage": 0.1,
		"minLiquidity": 0,
		"concurrentNodes": 2,
		"retries": 1
	},
	"sellSettings": {
		"enabled": true,
		"stopEarnEnabled": true,
		"stopEarnMode": "profit_percent",
		"stopEarnPercentOrPrice": 1,
		"stopLossEnabled": true,
		"stopLossMode": "loss_percent",
		"stopLossPercentOrPrice": 0.5,
		"autoSell": false,
		"useMidPrice": false,
		"customFeeAndTip": false,
		"priorityFee": "0.00005",
		"gasFeeDelta": 5,
		"maxFeePerGas": 100,
		"jitoEnabled": true,
		"jitoTip": 0.001,
		"maxSlippage": 0.1,
		"concurrentNodes": 2,
		"retries": 1
	}
}

Request Response

{
	"err": false,
	"res": {
		"id": "lus8bfug0040i2"
	},
	"docs": "https://dbotx.com/docs"
}

Response Parameters

  • enabled: Task enable status, true/false

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

  • token: Token contract address to be sniped

  • walletId: The id of the wallet to be used

  • expireDelta: Task duration, max 864000000 (milliseconds)

  • buyAmountUI: Amount used to snipe (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

  • 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

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

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

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

  • enabled (sellSettings): Sell task enabled status

  • stopEarnEnabled: Whether to enable take profit

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

  • stopEarnPercentOrPrice: Take 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

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

Dashboard