Complete documentation for all DexFlow API endpoints
All API requests require an API key passed in the X-API-Key header.
curl https://dexflow.dev/api/v1/quote?from=ETH&to=USDC&amount=1000000000000000000 \
-H "X-API-Key: sk_live_your_api_key_here"/api/v1/quotefromrequiredSource token symbol (e.g., ETH, USDC, WBTC)
torequiredDestination token symbol
amountrequiredAmount in wei (e.g., 1000000000000000000 for 1 ETH)
curl "https://dexflow.dev/api/v1/quote?from=ETH&to=USDC&amount=1000000000000000000" \
-H "X-API-Key: sk_live_your_key"1 { 2 "success": true, 3 "data": { 4 "bestRoute": { 5 "dex": "Uniswap V3", 6 "amountOut": "3245678900", 7 "price": "3245.67", 8 "priceImpact": "0.12%", 9 "estimatedGas": "180000" 10 }, 11 "allRoutes": [...], 12 "mevProtection": { 13 "riskLevel": "low", 14 "priceImpact": 0.12, 15 "recommendations": [...] 16 }, 17 "cached": false 18 } 19 }
/api/v1/batch-quote1 { 2 "quotes": [ 3 { "from": "ETH", "to": "USDC", "amount": "1000000000000000000" }, 4 { "from": "ETH", "to": "DAI", "amount": "1000000000000000000" }, 5 { "from": "WBTC", "to": "USDC", "amount": "100000000" } 6 ] 7 }
Tier Limits: Free: 5, Pro: 10, Bot: 20, Enterprise: 50 quotes per request
/api/v1/flash-loansBot/Enterprise1 { 2 "success": true, 3 "data": { 4 "arbitrage": { 5 "profitable": true, 6 "buyDex": "Uniswap V2", 7 "sellDex": "SushiSwap", 8 "buyPrice": "3200.50", 9 "sellPrice": "3250.75", 10 "netProfit": 125.50, 11 "executable": true 12 } 13 } 14 }
/api/v1/gas-price1 { 2 "success": true, 3 "data": { 4 "gasPrice": "25000000000", 5 "gasPriceGwei": "25", 6 "estimatedCosts": { 7 "transfer": "$1.25", 8 "swap": "$8.50", 9 "approve": "$2.10" 10 } 11 } 12 }
400Invalid parameters or missing required fields
401Invalid or missing API key
429Too many requests, check X-RateLimit-Reset header
500Something went wrong on our end