{"slug":"api-fadeandco-workers-dev-api-agent-intel-dex-depth-slippage-eee22a","title":"Estimated output, price impact and minimum output for a swap in one DEX pair, us","host":"api.fadeandco.workers.dev","method":"GET","resource":"https://api.fadeandco.workers.dev/api/agent-intel/dex-depth-slippage-calculator","category":"commerce","description":"Estimated output, price impact and minimum output for a swap in one DEX pair, using the pair's reserves from DexScreener and a constant-product (x*y=k) model with a fee. Exact for constant-product pools (for example Aerodrome volatile pools, Uniswap V2 style); for concentrated-liquidity pools (label","price_listed":0.002,"price_asked":null,"state":"effects","state_label":"Not tested: has real-world effects","checks_7d":0,"answered_7d":0,"latency_ms_median":null,"reported_calls_30d":2,"reported_payers_30d":2,"networks":["eip155:10","eip155:137","eip155:143","eip155:42161","eip155:42220","eip155:43114","eip155:480","eip155:5042","eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","xrpl:0"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","queryParams":{"amount":"1000","chain":"base","feePct":"0.3","pair":"0x6cdcb1c4a4d1c3c6d054b27ac5b77e89eafb971d","side":"sell","slippagePct":"0.5"},"type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET"],"type":"string"},"queryParams":{"properties":{"amount":{"description":"Amount you give, in that token's units (positive number)","type":"string"},"chain":{"description":"DexScreener chain name, e.g. base, ethereum, arbitrum (default base)","type":"string"},"feePct":{"description":"Pool fee in percent, 0 to 5 (default 0.3)","type":"string"},"pair":{"description":"Pair (pool) address","type":"string"},"side":{"description":"sell = you give the base token; buy = you give the quote token (default sell)","type":"string"},"slippagePct":{"description":"Your tolerance in percent, 0 to 50 (default 0.5)","type":"string"}},"required":["pair","amount"],"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method"],"type":"object"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[],"description_full":"Estimated output, price impact and minimum output for a swap in one DEX pair, using the pair's reserves from DexScreener and a constant-product (x*y=k) model with a fee. Exact for constant-product pools (for example Aerodrome volatile pools, Uniswap V2 style); for concentrated-liquidity pools (labelled v3 or v4) it is only an approximation. Raydium is not covered.","last_updated":"2026-10-23T20:00:18.37Z","schemes":["exact"]}