{"uid":"cap_jHJfa3FSKNL9kHWiQOOYP","slug":"base-dex-arbitrage-spread-oracle-eda4bc27","name":"Base DEX Arbitrage & Spread Oracle","description":"🆕 Compares real-time liquidity and prices across Base's primary DEXes: Aerodrome (AMM / Slipstream) vs Uniswap v3. Calculates gross spread in bps, pool fee-adjusted net arbitrage profitability, optimal routing direction (BUY_AERODROME_SELL_UNISWAP or reverse), and estimated net profit per $1,000 USD. Essential for trading agents and market makers. Pass token= (token contract address).","url":"https://402.com.tr/api/x402/base-dex-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"],"type":"string"},"pathParams":{"type":"object"},"queryParams":{"type":"object","required":["token"],"properties":{"token":{"type":"string","description":"Token address"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_4Hox9r-17eEIjzZOXVCaG","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Compares real-time prices and liquidity across Aerodrome and Uniswap v3 on Base, calculating gross spread in bps, fee-adjusted net arbitrage profitability, and optimal routing direction for a given token.","exampleAgentPrompt":"Check the current arbitrage spread between Aerodrome and Uniswap v3 on Base for the token at address 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 — tell me the gross spread in bps, which direction to trade, and the estimated net profit per $1,000.","exampleUseCases":[{"title":"Pre-trade arbitrage check for trading bot","prompt":"Before my bot executes, check the DEX spread on Base for the token 0x4200000000000000000000000000000000000006 — is there a profitable arbitrage between Aerodrome and Uniswap v3 right now, and which direction should I trade?"},{"title":"Market maker spread monitoring","prompt":"I'm market making on Base and need to know the current fee-adjusted spread in basis points between Aerodrome and Uniswap v3 for the USDC token at 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 — how wide is the spread and what's my estimated net profit per $1,000?"},{"title":"Optimal DEX routing for large swap","prompt":"I'm about to swap a large amount of token 0xd9aAEc86B65D86f6A7B5B1b0c42FFA531710b6CA on Base — should I buy on Aerodrome and sell on Uniswap, or the other way around, and what's the gross spread after pool fees?"}],"resultDescription":"Returns gross spread in basis points between Aerodrome (AMM/Slipstream) and Uniswap v3 pools on Base, the pool fee-adjusted net arbitrage profitability, the optimal routing direction (BUY_AERODROME_SELL_UNISWAP or BUY_UNISWAP_SELL_AERODROME), and the estimated net profit per $1,000 USD trade.","failureModes":["Invalid or unrecognized token contract address returns an error","Token not listed on one or both DEXes results in incomplete comparison","Insufficient liquidity in a pool may yield unreliable spread estimates","Network or RPC latency on Base may cause stale or failed data fetch","Malformed token address format causes a validation error"],"whenToPreferThis":"Choose this endpoint when you need real-time, fee-adjusted arbitrage profitability between Aerodrome and Uniswap v3 specifically on the Base chain. It is ideal for autonomous trading agents, market makers, and routing engines that need to know not just the raw price difference but the direction and net profitability after pool fees, expressed per $1,000 USD. Prefer this over generic price feeds when you need actionable routing direction rather than just a spot price.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-17T06:42:20.822Z","isFirstParty":false,"canonicalSlug":"base-dex-arbitrage-spread-oracle-eda4bc27"}