78trust / 100

Dex Liquidity Slippage

by AlphaPipeline DEX Slippage in Onchain & crypto

x402 APIPassing, checked 1 h ago

GeckoTerminal-backed DEX pool liquidity and estimated trade slippage, plus fixed $1k/$5k/$10k slippage_tiers for at-a-glance depth checks - size a trade or compare pools before swapping, with a clearly-flagged constant-product approximation model. Paid in USDC on Base.

GET
https://alphapipeline-eu.onrender.com/v1/dex/liquidity-slippage
Price
$0.02
per call in USDC
Uptime
100%
last 30 days
Response time
106 ms
272 ms slowest 5%
Last check
Passed
1 h ago, next any minute now

Run a free test callHow to call it

Reliability

All checks passedSome failedAll failedNot checked

Status and outage history · Atom feed · Watch with other listings

How to call it

GET https://alphapipeline-eu.onrender.com/v1/dex/liquidity-slippage

Each call costs $0.02 in USDC on Base, paid with the request over x402.

Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.

Example request

From the listing.

GET https://alphapipeline-eu.onrender.com/v1/dex/liquidity-slippage?network=base&token_address=0x4200000000000000000000000000000000000006&trade_size_usd=10000

Parameters

ParameterTypeRequiredDescription
networkstringNoGeckoTerminal network id, e.g. base, eth. Defaults to base.
pool_addressstringNoSpecific DEX pool contract address (optional if token_address is given).
token_addressstringNoToken contract address - the most liquid pool is auto-selected (optional if pool_address is given).
trade_size_usdnumberYesHypothetical trade size in USD to estimate slippage for.

Example response

The provider's example. We can't check it without paying.

Example response, 38 lines
{
  "assumed_gas_cost_usd": 0.05,
  "data_source": "geckoterminal",
  "estimated_slippage_pct": 0.08,
  "generated_at": {
    "kst": "2026-09-04 21:00:00 KST",
    "utc": "2026-09-04T12:00:00Z"
  },
  "liquidity_usd": 25000000,
  "network": "base",
  "notice": "Slippage is an approximation computed only from the pool's aggregate USD liquidity as reported by GeckoTerminal - it assumes the pool is a standard constant-product (x*y=k) AMM with the two tokens in a 50:50 ratio. Actual slippage can differ significantly for Uniswap v3-style concentrated-liquidity pools or stableswap pools - always re-verify with an on-chain quote before trading. slippage_tiers uses the same approximation at three fixed sizes regardless of the trade_size_usd you passed in; warning_level thresholds (LOW <1%, MEDIUM 1-3%, HIGH >3%) are AlphaPipeline's own heuristic, not an industry standard. assumed_gas_cost_usd is a flat per-swap estimate, not a live gas quote. quote_token_is_stablecoin tells you whether this pool's quote side is a USD stablecoin - if false or null, converting to USD requires an additional hop this estimate does not account for.",
  "pool_address": "0xd0b53d9277642d899df5c87a3966a349a798f224",
  "pool_fee_pct": 0.05,
  "pool_name": "WETH / USDC 0.05%",
  "price_impact_model": "constant_product_50_50_approximation",
  "quote_token_is_stablecoin": true,
  "quote_token_symbol": "USDC",
  "slippage_tiers": [
    {
      "estimated_price_impact_pct": 0.008,
      "trade_size_usd": 1000,
      "warning_level": "LOW"
    },
    {
      "estimated_price_impact_pct": 0.04,
      "trade_size_usd": 5000,
      "warning_level": "LOW"
    },
    {
      "estimated_price_impact_pct": 0.08,
      "trade_size_usd": 10000,
      "warning_level": "LOW"
    }
  ],
  "token_address": null,
  "trade_size_usd": 10000,
  "volume_24h_usd": 8500000
}

Call it from code

The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.02.

curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i 'https://alphapipeline-eu.onrender.com/v1/dex/liquidity-slippage?network=base&token_address=0x4200000000000000000000000000000000000006&trade_size_usd=10000'

# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - 'https://alphapipeline-eu.onrender.com/v1/dex/liquidity-slippage?network=base&token_address=0x4200000000000000000000000000000000000006&trade_size_usd=10000' \
  | grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decode
JavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

// Pays at most $0.02 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.02" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.02 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Falphapipeline-eu.onrender.com%2Fv1%2Fdex%2Fliquidity-slippage
const res = await pay("https://alphapipeline-eu.onrender.com/v1/dex/liquidity-slippage?network=base&token_address=0x4200000000000000000000000000000000000006&trade_size_usd=10000");
console.log(res.status, await res.text());
Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client

# Pays at most $0.02 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.02"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))

with x402_requests(client) as session:
    res = session.get("https://alphapipeline-eu.onrender.com/v1/dex/liquidity-slippage?network=base&token_address=0x4200000000000000000000000000000000000006&trade_size_usd=10000")
    print(res.status_code, res.text)

Security scan

No findings

We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
1 h agoPassed402117 ms$0.02
6 h agoPassed40276 ms$0.02
11 h agoPassed402272 ms$0.02
16 h agoPassed402245 ms$0.02
20 h agoPassed402104 ms$0.02
Show 10 older checks
24 h agoPassed402209 ms$0.02
28 h agoPassed402266 ms$0.02
33 h agoPassed402122 ms$0.02
37 h agoPassed402106 ms$0.02
41 h agoPassed40269 ms$0.02
45 h agoPassed40296 ms$0.02
2 days agoPassed402201 ms$0.02
2 days agoPassed40283 ms$0.02
2 days agoPassed40295 ms$0.02
3 days agoPassed402106 ms$0.02