{"uid":"cap_KSeQong2Cb2BUb_D3vyxM","slug":"httpay-price-impact-estimator-55fbd604","name":"HTTPay Price Impact Estimator","description":"Estimate price impact before executing a swap. Params: ?tokenIn=0x...&tokenOut=0x...&amountUsd=1000. Checks pool depth on UniV3 + Aerodrome. Returns estimated slippage %, recommended max trade size, pool stats.","url":"https://httpay.xyz/api/price-impact","method":"POST","headers":{},"bodySchema":null,"responseSchema":{"type":"json","example":{"description":"Estimate price impact before executing a swap. Params: ?tokenIn=0x...&tokenOut=0x...&amountUsd=1000. Checks pool depth on UniV3 + Aerodrome. Returns estimated slippage %, recommended max trade size, pool stats."}},"example":{"request":{"tokenIn":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","tokenOut":"0x4200000000000000000000000000000000000006","amountUsd":5000},"response":{"meta":{"x402":true,"poweredBy":"Alfred Zhang 🫡"},"chain":"Base","summary":{"verdict":"NEGLIGIBLE","multihopNote":null,"verdictEmoji":"✅","safeTradeSize":"$979,175 or less for <0.5% slippage","priceImpactPct":0.0026,"recommendation":"Excellent — price impact is negligible"},"tokenIn":{"symbol":"USDC","address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6},"allPools":[{"dex":"Uniswap V3","pairUrl":"https://dexscreener.com/base/0x6c561b446416e1a00e8e93e221854d6ea4171372","verdict":"NEGLIGIBLE","pairLabel":"WETH/USDC","volume24h":70437306,"liquidityUsd":97917482,"priceImpactPct":0.0026,"liquidityFormatted":"$97,917,482","recommendedMaxTradeUsd":979175},{"dex":"Uniswap V3","pairUrl":"https://dexscreener.com/base/0xd0b53d9277642d899df5c87a3966a349a798f224","verdict":"NEGLIGIBLE","pairLabel":"WETH/USDC","volume24h":20180465,"liquidityUsd":9710766,"priceImpactPct":0.0257,"liquidityFormatted":"$9,710,766","recommendedMaxTradeUsd":97108},{"dex":"Aerodrome","pairUrl":"https://dexscreener.com/base/0xb2cc224c1c9fee385f8ad6a55b4d94e92359dc59","verdict":"NEGLIGIBLE","pairLabel":"WETH/USDC","volume24h":91715688,"liquidityUsd":8385305,"priceImpactPct":0.0298,"liquidityFormatted":"$8,385,305","recommendedMaxTradeUsd":83853},{"dex":"Aerodrome","pairUrl":"https://dexscreener.com/base/0xcdac0d6c6c59727a65f871236188350531885c43","verdict":"NEGLIGIBLE","pairLabel":"WETH/USDC","volume24h":543041,"liquidityUsd":6051246,"priceImpactPct":0.0413,"liquidityFormatted":"$6,051,246","recommendedMaxTradeUsd":60512},{"dex":"pancakeswap","pairUrl":"https://dexscreener.com/base/0x72ab388e2e2f6facef59e3c3fa2c4e29011c2d38","verdict":"NEGLIGIBLE","pairLabel":"WETH/USDC","volume24h":45058672,"liquidityUsd":3837237,"priceImpactPct":0.0652,"liquidityFormatted":"$3,837,237","recommendedMaxTradeUsd":38372}],"bestPool":{"dex":"Uniswap V3","verdict":"NEGLIGIBLE","volume24h":70437306,"liquidityUsd":97917482,"verdictEmoji":"✅","priceImpactPct":0.0026,"recommendation":"Excellent — price impact is negligible","liquidityFormatted":"$97,917,482","recommendedMaxTradeUsd":979175,"recommendedMaxFormatted":"$979,175"},"tokenOut":{"symbol":"WETH","address":"0x4200000000000000000000000000000000000006","decimals":18},"warnings":[],"dataSource":"DexScreener (live pool data)","directPools":19,"estimatedAt":"2026-06-12T04:47:01.865Z","tradeAmountUsd":5000}},"exampleRequest":{"tokenIn":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","tokenOut":"0x4200000000000000000000000000000000000006","amountUsd":5000},"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_9vjtwFm0eO7GjbJn6aGsw","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Estimates price impact and slippage for a token swap on Base by checking pool depth across UniswapV3 and Aerodrome DEXes","exampleAgentPrompt":"Before I swap $5000 worth of USDC (0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913) to WETH (0x4200000000000000000000000000000000000006) on Base, can you check the price impact and tell me the estimated slippage and the max trade size I should use?","exampleUseCases":null,"resultDescription":"Returns the estimated slippage percentage for the proposed swap, the recommended maximum trade size to minimize price impact, and pool statistics from UniswapV3 and Aerodrome liquidity pools on Base","failureModes":["Invalid tokenIn or tokenOut address returns an error","No liquidity pool found for the token pair returns empty or error","amountUsd too large or too small may produce unreliable estimates","Network or RPC issues may cause timeouts","Payment not settled via x402/USDC returns 402"],"whenToPreferThis":"Use this endpoint when you need a pre-trade price impact estimate on Base DEXes (UniswapV3 and Aerodrome) without needing an API key or subscription — ideal for agents managing DeFi trades that want to avoid excessive slippage on large swaps","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:43:09.776Z","isFirstParty":false}