{"uid":"cap_0p4uqUCudtYcFce7sYgzP","slug":"agenticfi-swap-slippage-check-86ae0a6d","name":"AgenticFi Swap Slippage Check","description":"DeFi APIs for AI agents. 36 pay-per-call endpoints for token data, pricing, wallet analytics, swap routing, and on-chain workflows. Powered by x402 on Base.","url":"https://defi-api.agenticfi.wtf/api/swap/slippage-check","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"},"queryParams":{"type":"object","required":["fromToken","toToken","amount"],"properties":{"chain":{"type":"string","title":"chain (optional)","description":"Optional. Chain name Examples: base, ethereum, arbitrum"},"amount":{"type":"string","title":"amount (required)","description":"Required. Amount to swap"},"toToken":{"type":"string","title":"toToken (required)","description":"Required. Destination token address Examples: 0x833589fCD6EDB6E08f4c7C32D4f71b54bdA02913"},"fromToken":{"type":"string","title":"fromToken (required)","description":"Required. Source token address Examples: 0x4200000000000000000000000000000000000006"}}}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.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_zLFQiBIys23l_SVk6NqJb","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":"Checks whether a proposed token swap would exceed acceptable slippage thresholds before executing the trade on a given chain","exampleAgentPrompt":"Before I swap 1000 USDC for WETH on Base, can you check whether the slippage is acceptable? The source token is 0x833589fCD6EDB6E08f4c7C32D4f71b54bdA02913 and destination is 0x4200000000000000000000000000000000000006.","exampleUseCases":null,"resultDescription":"Returns a slippage assessment for the proposed token swap — indicating whether the trade would experience unacceptable price impact or slippage given current on-chain liquidity conditions for the specified token pair and amount.","failureModes":["Missing required parameters (fromToken, toToken, amount) returns a 400 or validation error","Invalid or unsupported token addresses return an error","Unsupported chain name may fall back to default or return an error","Insufficient on-chain liquidity data for exotic token pairs may result in incomplete assessment","Payment not provided or insufficient USDC results in 402 Payment Required"],"whenToPreferThis":"Use this endpoint before executing a token swap to validate that slippage is within acceptable bounds. Ideal when an agent needs to gate-check a swap for safety prior to submitting it on-chain. Prefer this over general token price endpoints when the specific concern is price impact and slippage risk for a given trade size.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T13:03:30.279Z","isFirstParty":false}