O

OnchainPulse · Exit Depth

by OnchainPulse

GETBaseSolanaArbitrumPolygonFraxtalWorld ChainMonadX LayerHyperEVMAlgorandXRP LedgerBNB Chain

$0.02

per call · USD Coin on Base

Exit-depth / sell-impact estimator for Uniswap-v3-compatible AND v2-style (x·y=k) pools on 11 chains (Ethereum, Base, Arbitrum, Optimism, Polygon, BSC, Avalanche, Monad, World Chain, HyperEVM, Robinhood Chain): live pool state read from the contract (v3 sqrtPrice + in-range liquidity, or v2 reserves); tokens sellable at 1/2/5/10/25% price impact in tokens, quote and USD, %-of-supply framing, manipulated-liquidity cross-check vs DexScreener. Deterministic pool math, no LLM — the "can I actually g

Endpoint

GET https://onchainpulse.theaslangroupllc.com/api/exit-depth

1

Calls / 30d

1

Unique payers / 30d

Aug 20

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://onchainpulse.theaslangroupllc.com/api/exit-depth", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://onchainpulse.theaslangroupllc.com/api/exit-depth?chain=base&pool=0x76Bf0abD20f1e0155Ce40A62615a90A709a6C3D8&token=0x532f27101965dd16442E59d40670FaF5eBB142E4" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "chain": "base",
  "cross_check": {
    "consistent": true,
    "dexscreener_liquidity_usd": 4200000
  },
  "depth": [
    {
      "impact_pct": 1,
      "pct_of_supply": 0.0126,
      "proceeds_in_quote": 28.1,
      "proceeds_usd": 104300,
      "tokens_to_sell": 1250000
    },
    {
      "impact_pct": 5,
      "pct_of_supply": 0.064,
      "proceeds_in_quote": 141.9,
      "proceeds_usd": 527000,
      "tokens_to_sell": 6360000
    },
    {
      "impact_pct": 25,
      "pct_of_supply": 0.344,
      "proceeds_in_quote": 703.2,
      "proceeds_usd": 2610000,
      "tokens_to_sell": 34100000
    }
  ],
  "dex": "uniswap",
  "disclaimer": "Deterministic AMM pool math (v3 concentrated-liquidity or v2 constant-product) from live on-chain state at a point in time. v3 depth estimates assume current in-range liquidity persists through the move (real depth at larger impacts is usually lower); v2 tiers exclude the swap fee. Analytics, not financial advice, not an execution quote.",
  "fee_tier_pct": 0.3,
  "flags": [],
  "method": "Live eth_call reads of slot0 + liquidity() on the pool; constant-L approximation.",
  "pool": "0x76Bf…C3D8",
  "pool_type": "v3",
  "quote_token": {
    "price_usd": 3712.4,
    "symbol": "WETH"
  },
  "target_token": {
    "address": "0x532f…42E4",
    "price_usd": 0.0842,
    "side": "token0",
    "symbol": "BRETT",
    "total_supply": 9910236538
  }
}

Payment details

Pay to0x50ab2018c06c6e4eaa9ba52057eb55ed284912fc
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase, Solana, Arbitrum, Polygon, Fraxtal, World Chain, Monad, X Layer, HyperEVM, Algorand, XRP Ledger, BNB Chain
Schemesexact

Is this your API?

Pin it to the top of DeFi and the homepage with a featured placement.

Get featured →

More from OnchainPulse & similar services