{"slug":"alphapipeline-eu-onrender-com-v1-arb-spread-matrix-cc5947","title":"CEX-DEX arbitrage spread calculator","host":"alphapipeline-eu.onrender.com","method":"GET","resource":"https://alphapipeline-eu.onrender.com/v1/arb/spread-matrix","category":"market","description":"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.","price_listed":0.02,"price_asked":0.02,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":320,"reported_calls_30d":0,"reported_payers_30d":0,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","queryParams":{"network":"base","symbol":"SUI","token_address":"0x0000000000000000000000000000000000000000","trade_size_usd":1000},"type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"properties":{"min_spread_threshold_pct":{"description":"Net spread threshold (%) above which is_profitable is true. Defaults to 0.8.","type":"number"},"network":{"description":"GeckoTerminal network id, e.g. base, eth. Defaults to base.","type":"string"},"pool_address":{"description":"Specific DEX pool contract address (optional if token_address is given).","type":"string"},"symbol":{"description":"Ticker symbol, e.g. SUI, BTC, ETH.","type":"string"},"token_address":{"description":"Token contract address - the most liquid pool is auto-selected (optional if pool_address is given).","type":"string"},"trade_size_usd":{"description":"Hypothetical trade size in USD. Defaults to 1000.","type":"number"}},"required":["symbol"],"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method"],"type":"object"},"output":{"properties":{"example":{"properties":{"assumed_gas_cost_usd":{"title":"Assumed Gas Cost Usd","type":"number"},"cex_price_usd":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Cex Price Usd"},"data_source":{"title":"Data Source","type":"string"},"dex_price_usd":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Dex Price Usd"},"direction":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Direction"},"generated_at":{"properties":{"kst":{"title":"Kst","type":"string"},"utc":{"title":"Utc","type":"string"}},"required":["utc","kst"],"title":"TimestampPair","type":"object"},"gross_spread_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Gross Spread Pct"},"is_profitable":{"title":"Is Profitable","type":"boolean"},"min_spread_threshold_pct":{"title":"Min Spread Threshold Pct","type":"number"},"net_spread_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Net Spread Pct"},"network":{"title":"Network","type":"string"},"notice":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Notice"},"pool_address":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Pool Address"},"pool_fee_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"description":"DEX pool's fee tier parsed from GeckoTerminal's pool name (e.g. 0.05 for a 0.05% pool). Informational only - net_spread_pct does NOT subtract it.","title":"Pool Fee Pct"},"status_message":{"title":"Status Message","type":"string"},"symbol":{"title":"Symbol","type":"string"},"trade_size_usd":{"title":"Trade Size Usd","type":"number"}},"required":["generated_at","symbol","network","status_message","is_profitable","trade_size_usd","assumed_gas_cost_usd","min_spread_threshold_pct","data_source"],"title":"ArbSpreadResponse","type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-10-01","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":320,"error":null}],"description_full":"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.","last_updated":"2026-10-01T14:31:16.174Z","schemes":["exact"]}