Estimated output, price impact and minimum output for a swap in one DEX pair, us
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.
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
GET https://api.fadeandco.workers.dev/api/agent-intel/dex-depth-slippage-calculator
| Category | Commerce and shopping |
|---|---|
| Provider host | api.fadeandco.workers.dev |
| Networks | eip155:10, eip155:137, eip155:143, eip155:42161, eip155:42220, eip155:43114, eip155:480, eip155:5042, eip155:8453, solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp, xrpl:0 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 2 from 2 payers (the provider's figure, not ours) |
Our checks, last 30 days
We never call tools that send, buy, move money or file anything, not even without paying.
Example input (from the provider)
{
"method": "GET",
"queryParams": {
"amount": "1000",
"chain": "base",
"feePct": "0.3",
"pair": "0x6cdcb1c4a4d1c3c6d054b27ac5b77e89eafb971d",
"side": "sell",
"slippagePct": "0.5"
},
"type": "http"
}
Promised output schema (from the provider)
{
"$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"
}