{"uid":"cap_8SIaskjBOMBbgYYTS_NOU","slug":"logicnodes-slippage-bounds-calculator-2948ea5e","name":"LogicNodes Slippage Bounds Calculator","description":"Exact answers for AI agents: 40+ tools for EVM chains and Aptos, gas on 14 chains, never a guess. Free tier; pay per call in USDC (x402) on 13 networks.","url":"https://logicnodes.io/paid/v1/tools/slippage_bounds?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"amount":{"type":"string"},"direction":{"enum":["min_out","max_in"],"type":"string"},"slippageBps":{"type":"integer","maximum":10000,"minimum":0}}},"responseSchema":{"type":"json","example":{"ok":true,"tool":"slippage_bounds"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_iU5cq2Hn-Xu484LIhZj6P","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes the minimum output or maximum input token amount for a DeFi swap given a trade amount and slippage tolerance in basis points","exampleAgentPrompt":"I'm about to swap 500 USDC on a DEX — can you calculate the minimum tokens I should accept as output using a slippage tolerance of 50 basis points?","exampleUseCases":[{"title":"DEX swap slippage guard for bot","prompt":"My trading bot is about to execute a swap for 1000 USDC worth of ETH — calculate the minimum ETH output I should accept using 30 basis points slippage so I can set a safe min_out limit."},{"title":"Max input enforcement for fixed output","prompt":"I need exactly 200 DAI from a swap — what's the maximum amount of USDC I should allow as input if I'm okay with up to 100 basis points of slippage? Use direction max_in."},{"title":"Slippage check before DeFi transaction","prompt":"Before I approve this on-chain transaction, verify the slippage bounds for a trade amount of 750 tokens with a 25 basis point tolerance in the min_out direction so I know what the floor is."}],"resultDescription":"Returns a JSON object with ok: true, the tool name 'slippage_bounds', and the computed bound amount (minimum output or maximum input) based on the provided trade amount, direction, and slippage tolerance in basis points.","failureModes":["Invalid slippageBps outside 0–10000 range returns validation error","Missing required fields (amount or direction) returns 400-style error","Non-numeric or malformed amount string causes parse error","Network or service unavailability returns 5xx error"],"whenToPreferThis":"Use this endpoint when an AI agent needs a precise, deterministic slippage bound calculation for a DeFi swap without guessing — ideal when building DeFi automation agents, swap bots, or pre-trade validation logic on EVM chains or Aptos. Prefer this over on-chain simulation when a fast, cheap, off-chain computation suffices and you pay per call in USDC via x402.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-28T06:39:35.944Z","isFirstParty":false,"canonicalSlug":"logicnodes-slippage-bounds-calculator-2948ea5e"}