81trust / 100

Pool Depth

by Aayat AI in Onchain & crypto

x402 APIPassing, checked 3 h ago

Liquidity-pool depth and slippage for a trade size on any token (8 chains incl. Base, Solana, Ethereum): each major pool's liquidity, fee tier and estimated price impact for your amount, the largest trade for 0.5/1/2/5% impact, and whether splitting across pools helps (with the split). ?address=...&chain=base&amountUsd=5000

GET https://aayatai.com/pool/depth

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
47 ms typical, 47 ms slowest 5%
Last check
3 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://aayatai.com/pool/depth?address=0x4ed4E862860beD51a9570b96d89aF5E1B0Efefed&amountUsd=5000&chain=base"
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.03:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Faayatai.com%2Fpool%2Fdepth
const res = await pay("https://aayatai.com/pool/depth?address=0x4ed4E862860beD51a9570b96d89aF5E1B0Efefed&amountUsd=5000&chain=base");
console.log(await res.json());

Example input

{
  "address": "0x4ed4E862860beD51a9570b96d89aF5E1B0Efefed",
  "amountUsd": 5000,
  "chain": "base"
}

Example output

{
  "address": "0x1234…abcd",
  "amountUsd": 5000,
  "bestPool": {
    "dex": "uniswap",
    "feePercent": 1,
    "impactPercent": 1.126,
    "liquidityUsd": 877827,
    "maxTradeUsd": {
      "0.5%": 2206,
      "1%": 4433,
      "2%": 8957,
      "5%": 23100
    },
    "pairAddress": "0x0ca6...",
    "quote": "WETH",
    "url": null,
    "volume24hUsd": 11631
  },
  "chain": "base",
  "checkedAt": "2026-09-28T12:00:00.000Z",
  "impactPercent": {
    "bestPool": 1.126,
    "splitAcrossPools": 0.266
  },
  "marketSource": "GeckoTerminal",
  "maxTradeUsd": {
    "1%": {
      "bestPool": 4433,
      "splitAcrossPools": 18942
    }
  },
  "note": "",
  "pools": [],
  "rating": "ok",
  "split": {
    "legs": [
      {
        "amountUsd": 1170,
        "dex": "uniswap",
        "pairAddress": "0x0ca6..."
      }
    ],
    "savesPercentPoints": 0.86,
    "worthIt": true
  },
  "symbol": "EXAMPLE",
  "totalLiquidityUsd": 3750447
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
3 h agoPassed40247 ms$0.005