{"uid":"cap_tgVNgAczB4_EUkMqxIBr4","slug":"dex-vs-cex-arbitrage-spread-32748ca9","name":"DEX vs CEX Arbitrage Spread","description":"DEX vs CEX arbitrage spread — the price difference between DEX and CEX with the fee-adjusted NET spread and execution direction, not two raw prices. Compares the most liquid DEX pair (DexScreener) to CEX spot (Binance/Bybit), subtracts taker+swap fees, and flags any profitable arbitrage opportunity. For arbitrage agents.","url":"https://x402-endpoints.onrender.com/crypto/dex-cex-spread?utm_source=zero.xyz","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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":[],"properties":{"symbol":{"type":"string","description":"Coin ticker, e.g. 'ETH', 'WBTC', 'ARB'"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"cex":{"venue":"binance","price_usd":2400},"dex":{"dex":"uniswap","chain":"base","price_usd":2405,"liquidity_usd":12000000},"query":{"symbol":"ETH"},"cached":false,"source":"DexScreener (DEX) + Binance/Bybit spot (CEX)","spread":{"direction":null,"profitable":false,"net_spread_pct":-0.1917,"assumed_fees_pct":{"total":0.4,"dex_swap":0.3,"cex_taker":0.1},"gross_spread_pct":0.2083,"abs_gross_spread_pct":0.2083},"timestamp":"2026-06-26T16:00:00Z","disclaimer":"Net spread uses assumed taker/swap fees and ignores gas, slippage and withdrawal time. Not advice.","sources_ok":{"bybit":true,"binance":true,"dexscreener":true}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_2v01on8nrzj6e9jZJ3XXm","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the fee-adjusted net arbitrage spread between the most liquid DEX pair and CEX spot price (Binance/Bybit) for a given crypto token, with execution direction and profitability flag.","exampleAgentPrompt":"Is there a profitable arbitrage opportunity for ETH right now between DEX and Binance — give me the fee-adjusted net spread and which direction to execute.","exampleUseCases":null,"resultDescription":"Returns the fee-adjusted net spread between the most liquid DEX pair (via DexScreener) and CEX spot price (Binance/Bybit), subtracting taker and swap fees, along with the execution direction (buy DEX/sell CEX or vice versa) and a flag indicating whether the opportunity is profitable.","failureModes":["Unknown or unsupported ticker symbol returns an error","Token has no liquid DEX pair on DexScreener — no data returned","Token not listed on Binance or Bybit CEX — comparison unavailable","Spread is negative after fees — no profitable opportunity flagged","Service temporarily unavailable on Render cold start — latency spike or timeout","Payment not accepted — x402 payment required before data is returned"],"whenToPreferThis":"Use this endpoint when an AI agent needs a single, pre-computed, fee-adjusted arbitrage signal rather than having to manually fetch DEX and CEX prices separately and calculate spread and fees itself. Ideal for arbitrage bots or agents that need an actionable buy/sell direction rather than two raw prices.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T06:44:27.791Z","isFirstParty":false,"canonicalSlug":"dex-vs-cex-arbitrage-spread-32748ca9"}