{"uid":"cap_U8NiCHbQiWuS-ZrkKQhS3","slug":"tanod-chainpeek-uniswap-v3-pre-trade-size-impact-check-f454e5e0","name":"Tanod chainpeek – Uniswap V3 Pre-Trade Size & Impact Check","description":"chainpeek (Tanod) Uniswap V3 swap quoted at up to five sizes: price impact per size, best fee tier and pool, and the gap to the latest DEX candle close, on Ethereum or Base. Use when an agent is about to swap and needs the price impact at several sizes before choosing one.","url":"https://tanod.dev/v1/chain/pre-trade-check?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"chain":{"enum":["ethereum","base"],"type":"string","description":"Chain to quote on (Uniswap V3): ethereum or base."},"sizes":{"type":"array","items":{"type":"string","pattern":"^(0|[1-9][0-9]{0,77})(\\.[0-9]{1,77})?$","maxLength":160},"maxItems":5,"minItems":1,"description":"1 to 5 amounts of token_in as positive decimal strings in token_in units, e.g. [\"1\", \"10\", \"100\"]. Distinct; answered smallest first."},"token_in":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Token sold (0x + 40 hex)."},"fee_tiers":{"anyOf":[{"type":"array","items":{"enum":[100,500,3000,10000],"type":"integer"},"maxItems":4,"minItems":1},{"type":"null"}],"default":null,"description":"Uniswap V3 fee tiers to consider (100, 500, 3000, 10000). Default: all four."},"token_out":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Token bought (0x + 40 hex)."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Y1y38PzsY2gWiiYnE1kzn","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Quotes a Uniswap V3 swap at up to five trade sizes, returning price impact per size, the best fee tier and pool, and the gap to the latest DEX candle close on Ethereum or Base.","exampleAgentPrompt":"Before I swap, check the price impact on Uniswap V3 for trading WETH (0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2) to USDC (0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48) on Ethereum at three sizes — 1, 10, and 50 WETH — and tell me which fee tier and pool gives me the best deal.","exampleUseCases":[{"title":"Pre-swap slippage check for large ETH trade","prompt":"I'm about to swap a big chunk of WETH for USDC on Ethereum — can you quote the price impact at 5, 25, and 100 WETH on Uniswap V3 and tell me which fee tier to use?"},{"title":"Optimal pool selection for Base token swap","prompt":"Which Uniswap V3 pool and fee tier gives the best rate if I'm swapping 500 or 1000 USDC for cbETH on Base? Show me the price impact for both sizes."},{"title":"Order sizing decision before DeFi execution","prompt":"Compare the price impact for swapping 10, 50, and 200 UNI for WETH on Ethereum via Uniswap V3, and tell me how far off the latest candle close each quote is so I can decide how much to trade at once."}],"resultDescription":"Returns per-size quotes including the output amount, price impact, the recommended fee tier and pool address, and the spread versus the latest DEX candle close — ordered from smallest to largest trade size. Covers up to 5 sizes in a single call on Ethereum or Base.","failureModes":["Invalid token address (not a valid 0x + 40 hex ERC-20 address) returns a validation error","Unsupported chain value (not 'ethereum' or 'base') returns a 400 error","No liquidity in any requested fee tier returns an error or null quotes for that size","More than 5 sizes supplied returns a validation error","Uniswap V3 subgraph or RPC unavailability returns a 503 or timeout","Duplicate sizes in the array may return an error"],"whenToPreferThis":"Choose this endpoint when an agent needs to compare price impact across multiple swap sizes before committing to a Uniswap V3 trade on Ethereum or Base — especially for larger trades where slippage matters. It is purpose-built for pre-trade decision-making, combining multi-size quoting, fee-tier selection, and candle-gap analysis in a single call, avoiding the need to query Uniswap's SDK or subgraph directly.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-18T06:45:44.786Z","isFirstParty":false,"canonicalSlug":"tanod-chainpeek-uniswap-v3-pre-trade-size-impact-check-f454e5e0"}