← Back to directory

CEX-DEX arbitrage spread calculator - compares a global reference price (Coinbas...

https://alphapipeline-eu.onrender.com/v1/arb/spread-matrix

Overview

CEX-DEX arbitrage spread calculator - compares a global reference price (Coinbase spot, CoinGecko fallback) against a DEX pool price and returns gross/net spread and an is_profitable flag after an assumed gas cost. Paid in USDC on Base.

Protocol x402
Price $0.02
Payment Asset USD Coin
Payment Network eip155:8453
Category uncategorized
Provider AlphaPipeline Arb Spread
Source bazaar
Indexed 2026-10-01 15:23:01

Health

Status healthy
Latency (p50) 313ms
Uptime (30d) 100.0%
Reliability Score 95/100
Last Checked 2026-10-31 07:09:57
Last Healthy 2026-10-31 07:09:57
Consecutive Failures 0

x402 Payment Validation

Payment Requirements Valid
Asset Verified Known USDC
Facilitator —

Input Schema

{ "method": "GET", "queryParams": { "network": "base", "symbol": "SUI", "token_address": "0x0000000000000000000000000000000000000000", "trade_size_usd": 1000 }, "type": "http" }

Output Schema

{ "example": { "assumed_gas_cost_usd": 0.05, "cex_price_usd": 3.521, "data_source": "coinbase+geckoterminal", "dex_price_usd": 3.503, "direction": "DEX_TO_CEX", "generated_at": { "kst": "2026-09-07 21:00:00 KST", "utc": "2026-09-07T12:00:00Z" }, "gross_spread_pct": 0.52, "is_profitable": false, "min_spread_threshold_pct": 0.8, "net_spread_pct": 0.45, "network": "base", "notice": "CEX-side price is Coinbase spot (CoinGecko fallback), not a specific exchange orderbook - it does not reflect actual tradable depth on any single exchange. DEX-side price is read from GeckoTerminal's pool price fields. net_spread_pct only subtracts an assumed flat gas cost - it does NOT subtract the DEX pool's own swap fee (see pool_fee_pct), CEX trading fees, CEX deposit/withdrawal availability, or slippage beyond trade_size_usd. A spread that looks profitable before the pool fee may not be after it - re-verify with live quotes before executing a real trade.", "pool_address": "0x4a3636608d7bc5776cb19eb72caa36ebb9bd9e5b", "pool_fee_pct": 0.3, "status_message": "Spread is 0.45%, below 0.8% threshold (Unprofitable).", "symbol": "SUI", "trade_size_usd": 1000 }, "type": "json" }