{"uid":"cap_jQf4uHNCvgUf1O7qwCQCk","slug":"avalanche-c-chain-dex-best-execution-router-31b01032","name":"Avalanche C-Chain DEX Best Execution Router","description":"Cheapest venue to buy and richest to sell ONE pair on Avalanche C-Chain across Trader Joe, Pangolin and Uniswap v3. Returns buyAt and sellAt (venue, price, tvlUsd), midSpreadBps, grossSpreadBps, optimalInput, venuesConsidered. Requires ?pair=SYM/SYM (e.g. WAVAX/USDC). Errors: 400 bad_pair, 404 not_routable, 502 upstream_read_failed. Ranks venues for one pair; to rank EVERY pair use /scan. Execution at a size is /slippage. Chain-pinned; bare /route = BSC.","url":"https://x402.donnyautomation.com/avalanche/route","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["pair"],"properties":{"pair":{"type":"string","description":"Token pair as SYM/SYM on Avalanche C-Chain (e.g. WAVAX/USDC)."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"ts":"2026-07-31T00:00:00.000Z","chainId":43114,"network":"avalanche"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_PUcUP6eazDzINWUpRYwIq","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the cheapest buy venue and highest-paying sell venue across Trader Joe, Pangolin, and Uniswap v3 on Avalanche C-Chain, along with spread in bps, fee-adjusted arbitrage spread, and optimal trade size.","exampleAgentPrompt":"Compare live DEX prices for WAVAX/USDC across Trader Joe, Pangolin, and Uniswap v3 on Avalanche — tell me which venue is cheapest to buy on, which pays the most to sell into, and what the fee-adjusted arbitrage spread is right now.","exampleUseCases":[{"title":"Pre-trade best execution check","prompt":"Before I swap 10,000 USDC for WAVAX on Avalanche, check all the DEXs and tell me which one gives me the best buy price right now — Trader Joe, Pangolin, or Uniswap v3."},{"title":"Live arbitrage opportunity scan","prompt":"Is there a profitable arbitrage spread on WAVAX/USDC between DEXs on Avalanche right now? Give me the fee-adjusted spread in bps and the optimal trade size to capture it."},{"title":"Automated routing for trading bot","prompt":"My trading agent needs to route a WAVAX/JOE sell order on Avalanche — which DEX currently pays the most, and what's the cross-exchange spread versus the cheapest venue?"}],"resultDescription":"Returns the recommended buy venue (e.g. Trader Joe), the recommended sell venue (e.g. Pangolin), the raw cross-exchange spread in basis points, the fee-adjusted gross arbitrage spread, and the optimal trade size to exploit the spread — all based on live on-chain prices across the three supported Avalanche C-Chain DEXs.","failureModes":["Invalid or unsupported token pair symbol returns an error (pair not found on Avalanche C-Chain DEXs)","Insufficient liquidity on one or more venues may result in unreliable spread calculations","Payment not received (x402 protocol failure) blocks response","Network congestion on Avalanche may cause stale price data","Tokens without pools on all three venues may return partial comparisons"],"whenToPreferThis":"Choose this endpoint when you need live best-execution routing or cross-DEX arbitrage data specifically on Avalanche C-Chain across Trader Joe, Pangolin, and Uniswap v3. Prefer it over generic price feeds when you need venue comparison, spread in bps, fee-adjusted arbitrage metrics, and optimal trade sizing in a single call. Use sibling endpoints for Arbitrum, BSC, or Polygon chains.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-16T06:42:44.145Z","isFirstParty":false}