{"uid":"cap_AT8GHWrrwnG2lQrxdD5Fz","slug":"base-dex-liquidity-depth-risk-check-3d536c99","name":"Base DEX Liquidity Depth Risk Check","description":"Pre-trade depth verdict for a pair on Base: is this market thin enough to hurt you. Returns depthClass DEEP|MODERATE|SHALLOW|VERY_THIN, totalTvlUsd, venueCount, topVenueShare, midSpreadBps, flags. Requires ?pair=SYM/SYM (e.g. WETH/USDC). Errors: 400 bad_pair, 404 no_pools, 502 upstream_read_failed. Depth only - NOT a contract audit or honeypot check. Per-venue detail is /liquidity. Chain-pinned; bare /risk = BSC.","url":"https://x402.donnyautomation.com/base/risk","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["pair"],"properties":{"pair":{"type":"string","description":"Token pair as SYM/SYM on Base (e.g. WETH/USDC)."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"ts":"2026-07-31T00:00:00.000Z","chainId":8453,"network":"base"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_jzfgNJ7P-PE8qkKAHvD9-","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Classifies liquidity depth (DEEP/MODERATE/SHALLOW/VERY_THIN) for a Base trading pair across BaseSwap, SushiSwap, and Uniswap v3, flagging thin markets before you trade.","exampleAgentPrompt":"Before I swap a large amount, check the liquidity depth for WETH/USDC on Base — I need to know if the market is deep enough or if it's dangerously thin across BaseSwap, SushiSwap, and Uniswap v3.","exampleUseCases":[{"title":"Pre-trade slippage risk for large swap","prompt":"I'm about to buy $50k worth of cbETH/USDC on Base — can you check the liquidity depth first and tell me if the market is DEEP, MODERATE, SHALLOW, or VERY_THIN so I know if I'll get wrecked on slippage?"},{"title":"Single-venue concentration warning","prompt":"Is the DEGEN/WETH pair on Base spread across multiple DEXs or is it all concentrated in one venue? I need to know if it's a single-venue market before I trade."},{"title":"Bot pre-execution liquidity gate","prompt":"Before my trading bot executes the USDC/DAI swap on Base, run a depth check and only proceed if the classification comes back as DEEP or MODERATE — flag it if the spread is wide or if it's a thin market."}],"resultDescription":"Returns a liquidity depth classification (DEEP, MODERATE, SHALLOW, or VERY_THIN) based on live pool TVL aggregated across BaseSwap, SushiSwap, and Uniswap v3. Also includes the number of venues that can route the trade, concentration ratio of the largest venue, single-venue market flag, and wide-spread warning indicator.","failureModes":["Unknown or unsupported token pair symbol returns an error or empty result","Pair exists on Base but has no liquidity pools indexed — may return VERY_THIN or no data","Malformed pair format (missing slash, wrong symbols) causes a 400-level validation error","RPC or indexer downtime may cause stale or missing TVL data","Pairs only listed on venues not covered (BaseSwap/SushiSwap/Uniswap v3) may be under-reported"],"whenToPreferThis":"Use this endpoint when you need a pre-trade liquidity risk signal specifically on the Base blockchain and want a human-readable depth classification (not raw numbers) aggregated across the three major Base DEXs. Prefer it over raw pool reserve endpoints when you need a go/no-go signal rather than raw TVL figures, and over generic price APIs when slippage risk — not price — is your concern. Not a substitute for contract audits or honeypot detection.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:40:59.494Z","isFirstParty":false}