{"uid":"cap_RgxkxJYX1l_Ghlyq_oWeg","slug":"basebuilder-defi-dex-price-impact-calculator-db6a871e","name":"BaseBuilder DeFi DEX Price Impact Calculator","description":"BaseBuilder Defi API hub - 22 paid endpoints","url":"https://bb-defi.vercel.app/api/dex/price-impact","method":"POST","headers":{},"bodySchema":null,"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.068717","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.068717/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.068717","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.068717","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_G7w6qVGc5t8pxLQCWtuia","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.068717","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Calculates the price impact of a trade on a decentralized exchange (DEX) given token pair and trade size","exampleAgentPrompt":"What's the price impact if I swap 50,000 USDC for WETH on the Base DEX right now — will it move the price significantly?","exampleUseCases":null,"resultDescription":"Returns the estimated price impact percentage, expected output token amount after slippage, and market depth signals for the specified token swap on the DEX","failureModes":["Invalid token address returns 400 error","Insufficient liquidity in pool returns high impact or error","Unsupported token pair returns not found error","Trade amount too large or too small returns validation error","Network or RPC timeout returns 503 error"],"whenToPreferThis":"Use this endpoint when you need to pre-calculate the market impact of a DEX trade on Base chain before execution, especially for larger trades where slippage matters. Prefer this over generic price feeds when you specifically need to know how much your trade size will move the price.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:44:26.708Z","isFirstParty":false}