Used to create multi-chain token sniper tasks
| Free | Plus | Pro | Enterprise | Credit Usage |
|---|---|---|---|---|
| ✅ | ✅ | ✅ | ✅ | 0 |
URL
wss://api-bot-v1.dbotx.com/trade/ws/
Notes
To ensure the availability and stability of the WebSocket connection, a heartbeat subscription must be sent at least once every minute (recommended every 30–55 seconds), otherwise the system will automatically disconnect the timeout link
Request Example
{
"id": 1761291309, // Call ID; the response returns the same ID as the request
"method": "createSnipeOrder", // Method to create snipe order task
"params": {
"enabled": true, // Task enable status, true/false
"chain": "solana", // Blockchain (solana/ethereum/base/bsc/tron)
"token": "8NA5VTjANcDGvwq1vdSd6EUuFxEZUDPCYx9Ut2rqpump", // Token address
"walletId": "mglqkeq5009dol", // The id of the wallet to be used, which can be obtained via the "Wallet Info API"
"expireDelta": 360000000, // Task validity duration, max 432000000 (ms)
"buySettings": {
"buyAmountUI": "0.1", // Buy amount (ETH/SOL/BNB/TRX)
"customFeeAndTip": false, // "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": "0.00005", // Priority Fee (SOL), valid for Solana, empty string means use auto priority fee
"gasFeeDelta": 5, // Extra added gas (Gwei), valid for EVM
"maxFeePerGas": 100, // When the base gas exceeds this value, no transaction will execute (Gwei), valid for EVM chains
"jitoEnabled": true, // "true"means enable anti-MEV mode (Solana & Ethereum & Bsc)
"jitoTip": 0.001, // Bribery tip used by Anti-MEV (Solana), required when “jitoEnabled” or “customFeeAndTip” is true (null indicates automatic priority fee / bribery tip)
"maxSlippage": 0.1, // 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": 0,
"concurrentNodes": 2, // Number of concurrent nodes (1-3)
"retries": 1 // Number of retries after failure (0-10)
},
"sellSettings": {
"enabled": true, // "true" means to enable copy sell
"stopEarnEnabled": true,
"stopEarnMode": "profit_percent",
"stopEarnPercentOrPrice": 1,
"stopLossEnabled": true,
"stopLossMode": "loss_percent",
"stopLossPercentOrPrice": 0.5,
"autoSell": false,
"useMidPrice": false, // "true"enables Anti-Spike mode using the 1-second mid-price as trigger price (not 100% guaranteed)
"customFeeAndTip": false, // "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": "0.00005", // Priority Fee (SOL), valid for Solana, empty string means use auto priority fee
"gasFeeDelta": 5, // Extra added gas (Gwei), valid for EVM
"maxFeePerGas": 100, // When the base gas exceeds this value, no transaction will execute (Gwei), valid for EVM chains
"jitoEnabled": true, // "true"means enable anti-MEV mode (Solana & Ethereum & Bsc)
"jitoTip": 0.001, // Bribery tip used by Anti-MEV (Solana), required when “jitoEnabled” or “customFeeAndTip” is true (null indicates automatic priority fee / bribery tip) (null indicates automatic priority fee / bribery tip)
"maxSlippage": 0.1, // 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": 2, // Number of concurrent nodes (1-3)
"retries": 1 // Number of retries after failure (0-10)
}
}
}Response Data
{
"method": "rpcResponse", // RPC response
"id": 1761291309, // Call ID
"result": {
"err": false, // Request result status; false means succeeded, true means failed
"res": {
"id": "mh46i2rg000igj",
"accountId": "lz99kwxp0006q0", // User ID
"enabled": true, // Task enable status, true/false
"chain": "solana", // Chain (solana/ethereum/base/bsc/tron)
"token": "8NA5VTjANcDGvwq1vdSd6EUuFxEZUDPCYx9Ut2rqpump", // Token address
"tokenInfo": { // Token information
"contract": "8NA5VTjANcDGvwq1vdSd6EUuFxEZUDPCYx9Ut2rqpump",
"createAt": 1761231132699, // Creation time (ms timestamp)
"name": "T1 Diabetes Cure Coin Flywheel",
"symbol": "$JDCOINV2",
"decimals": 6,
"totalSupply": "1000000000000000",
"icon": null,
"tokenProgram": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA",
"mintAuthority": null,
"freezeAuthority": null
},
"walletId": "mglqkeq5009dol", // Wallet ID used, obtainable via "Wallet Info API"
"expireAt": 1761629695612, // Task expiration time (ms timestamp)
"expireDelta": 360000000, // Task validity duration, max 432000000 (ms)
"buySettings": {
"buyAmountUI": 0.1, // Buy amount (ETH/SOL/BNB/TRX)
"customFeeAndTip": false, // "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": 0.00005, // Priority Fee (SOL), valid for Solana, empty string means use auto priority fee
"gasFeeDelta": 5, // Extra added gas (Gwei), valid for EVM
"maxFeePerGas": 100, // When the base gas exceeds this value, no transaction will execute (Gwei), valid for EVM chains
"jitoEnabled": true, // "true"means enable anti-MEV mode (Solana & Ethereum & Bsc)
"jitoTip": 0.001, // Bribery tip used by Anti-MEV (Solana), required when “jitoEnabled” or “customFeeAndTip” is true (null indicates automatic priority fee / bribery tip)
"maxSlippage": 0.1, // 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": 0,
"concurrentNodes": 2, // Number of concurrent nodes (1-3)
"retries": 1 // Number of retries after failure (0-10)
},
"sellSettings": {
"enabled": true, // "true" means to enable copy sell
"stopEarnEnabled": true,
"stopEarnMode": "profit_percent",
"stopEarnPercentOrPrice": 1,
"stopLossEnabled": true,
"stopLossMode": "loss_percent",
"stopLossPercentOrPrice": 0.5,
"autoSell": false,
"useMidPrice": false, // "true"enables Anti-Spike mode using the 1-second mid-price as trigger price (not 100% guaranteed)
"customFeeAndTip": false, // "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": 0.00005, // Priority Fee (SOL), valid for Solana, empty string means use auto priority fee
"gasFeeDelta": 5, // Extra added gas (Gwei), valid for EVM
"maxFeePerGas": 100, // When the base gas exceeds this value, no transaction will execute (Gwei), valid for EVM chains
"jitoEnabled": true, // "true"means enable anti-MEV mode (Solana & Ethereum & Bsc)
"jitoTip": 0.001, // Bribery tip used by Anti-MEV (Solana), required when “jitoEnabled” or “customFeeAndTip” is true (null indicates automatic priority fee / bribery tip) (null indicates automatic priority fee / bribery tip)
"maxSlippage": 0.1, // 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": 2, // Number of concurrent nodes (1-3)
"retries": 1 // Number of retries after failure (0-10)
},
"buyState": "init",
"buyStateUpdateAt": 1761269695612,
"sellState": "init",
"sellStateUpdateAt": 1761269695612,
"createAt": 1761269695612, // Creation time (ms timestamp)
"updateAt": 1761269695612
}
}
}Example in NodeJS
const WebSocket = require('ws')
function main() {
const ws = new WebSocket('wss://api-data-v1.dbotx.com/trade/ws/', {
headers: {
'x-api-key': 'YOUR_API_KEY',
},
})
ws.on('open', () => {
ws.send(
JSON.stringify({
"id": 1761291309,
"method": "createSnipeOrder",
"params": {
"enabled": true,
"chain": "solana",
"token": "8NA5VTjANcDGvwq1vdSd6EUuFxEZUDPCYx9Ut2rqpump",
"walletId": "mglqkeq5009dol",
"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
}
}
})
)
setInterval(() => {
ws.ping()
}, 30000)
})
ws.on('message', res => {
console.log('res:', res.toString('utf-8'))
})
}
main()Example in Python
import asyncio
import websockets
import json
async def main():
uri = "wss://api-data-v1.dbotx.com/trade/ws/"
headers = {"x-api-key": "YOUR_API_KEY"}
msg = {
"id": 1761291309,
"method": "createSnipeOrder",
"params": {
"enabled": True,
"chain": "solana",
"token": "8NA5VTjANcDGvwq1vdSd6EUuFxEZUDPCYx9Ut2rqpump",
"walletId": "mglqkeq5009dol",
"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
}
}
}
async with websockets.connect(uri, additional_headers=headers) as ws:
await ws.send(json.dumps(msg))
async def keep_alive():
while True:
await ws.ping()
await asyncio.sleep(30)
async def listen_for_messages():
async for message in ws:
print(message)
await asyncio.gather(keep_alive(), listen_for_messages())
if __name__ == "__main__":
asyncio.run(main())Request Parameters visualization reference

