Used to create a dev sell task
| 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": "createDevOrder", // Method to create Dev sell order task
"params": {
"chain": "solana", // chain (solana)
"pairType": "pump", // DEX source,supports Pump / Launchlab / Meteora DBC and their corresponding external markets. For internal markets, use "pump / meteora_bc / raydium_launchpad". For external markets, use "pump_swap / raydium_cpmm / meteora_dyn / meteora_dyn2"
"pair": "AgBPkSqL64uQ58kka9LqcxyuNk4erExTfM779YYJpump", // Trading pair contract address
"walletId": "mglqkeq5009dol", // The id of the wallet to be used, which can be obtained via the "Wallet Info API"
"tradeType": "sell", // Trade type, with values of buy and sell
"minDevSellPercent": 0.5, // Trigger ratio (0-1), sell your tokens when Dev sells over this ratio
"amountOrPercent": 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)
"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": "", // Priority Fee (SOL), valid for Solana, empty string means use auto priority fee
"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)
"expireDelta": 360000000, // Task validity duration, max 432000000 (ms)
"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": "mh46fmnm000g6e",
"accountId": "lz99kwxp0006q0", // User ID
"enabled": true, // Task enable status, true/false
"chain": "solana", // chain (solana)
"pairType": "pump", // DEX source
"pair": "AgBPkSqL64uQ58kka9LqcxyuNk4erExTfM779YYJpump", // Trading pair contract address
"token": "AgBPkSqL64uQ58kka9LqcxyuNk4erExTfM779YYJpump", // Token address
"tokenInfo": { // Token information
"contract": "AgBPkSqL64uQ58kka9LqcxyuNk4erExTfM779YYJpump",
"createAt": 1761147333609, // Creation time (ms timestamp)
"name": "Bullseus Maximus",
"symbol": "BULL",
"decimals": 6,
"totalSupply": "1000000000000000",
"icon": null,
"tokenProgram": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA",
"mintAuthority": null,
"freezeAuthority": null
},
"currency": "So11111111111111111111111111111111111111112", // Base currency address
"currencyInfo": { // Base currency information
"contract": "So11111111111111111111111111111111111111112",
"name": "Wrapped SOL",
"symbol": "SOL",
"decimals": 9,
"totalSupply": null,
"icon": "https://assets-cdn.trustwallet.com/blockchains/solana/assets/So11111111111111111111111111111111111111112/logo.png",
"createAt": null
},
"pairCurrency": null,
"pairCurrencyInfo": null,
"walletId": "mglqkeq5009dol", // Wallet ID used, obtainable via "Wallet Info API"
"tradeType": "sell", // Trade type, values buy or sell
"amountOrPercent": 1, // For buy type, enter buy amount (ETH/SOL/BNB/TRX); for sell type, enter sell ratio (0.00-1.00)
"expireAt": 1761629581425, // Task expiration time (ms timestamp)
"expireDelta": 360000000, // Task validity duration, max 432000000 (ms)
"minDevSellPercent": 0.5, // Trigger ratio (0-1), sell your tokens when Dev sells over this ratio
"gasFeeDelta": 0, // Extra added gas (Gwei), valid for EVM
"maxFeePerGas": 100, // When base gas exceeds this value, no transaction (Gwei), valid for EVM chains
"priorityFee": "", // Priority Fee (SOL), valid for Solana, empty string means auto priority fee
"maxSlippage": 0.1, // Max slippage tolerance (0.00-1.00), for buy: difference between actual and expected price; for sell: expected and actual, multiplier = 1/(1-slippage)
"retries": 1, // Number of retries after failure (0-10)
"concurrentNodes": 2, // Number of concurrent nodes (1-3)
"jitoEnabled": true, // "true" enables anti-MEV mode (Solana & Ethereum & Bsc)
"jitoTip": 0.001, // Bribery tip for Anti-MEV (Solana), required when jitoEnabled or customFeeAndTip is true (null for auto)
"customFeeAndTip": false, // "true" means both priorityFee and jitoTip valid; "false" means turbo: only priorityFee, anti-MEV: only jitoTip, auto allocation
"state": "init", // Order status: init (initial), processing, done (completed), fail, expired
"lastStateUpdateAt": 1761269581425,
"createAt": 1761269581425, // Creation time (ms timestamp)
"updateAt": 1761269581425
}
}
}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": "createDevOrder",
"params": {
"chain": "solana",
"pairType": "pump",
"pair": "AgBPkSqL64uQ58kka9LqcxyuNk4erExTfM779YYJpump",
"walletId": "mglqkeq5009dol",
"tradeType": "sell",
"minDevSellPercent": 0.5,
"amountOrPercent": 1,
"customFeeAndTip": false,
"priorityFee": "",
"jitoEnabled": true,
"jitoTip": 0.001,
"expireDelta": 360000000,
"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": "createDevOrder",
"params": {
"chain": "solana",
"pairType": "pump",
"pair": "AgBPkSqL64uQ58kka9LqcxyuNk4erExTfM779YYJpump",
"walletId": "mglqkeq5009dol",
"tradeType": "sell",
"minDevSellPercent": 0.5,
"amountOrPercent": 1,
"customFeeAndTip": False,
"priorityFee": "",
"jitoEnabled": True,
"jitoTip": 0.001,
"expireDelta": 360000000,
"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

