{"uid":"cap_Sn326PW3akei3OVVcOXrX","slug":"basedue-exit-liquidity-analyzer-aaf60446","name":"BaseDue Exit Liquidity Analyzer","description":"Pay-per-call HTTP APIs, paid with x402 in USDC on Base (eip155:8453): agentkit, api-change-check, basedue, basewatch, chainread, check-sanctions, chgwatch, company-facts, composite, edgar, feednews, pageaudit, solcheck, token-dd, txpreflight, walletcheck, webmd, webread, websearch, x402index. Each operation describes its service.","url":"https://api.firstmention.uk/s/basedue/exit?utm_source=zero.xyz","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","HEAD","DELETE"],"type":"string"},"headers":{"type":"object","additionalProperties":{"type":"string"}},"queryParams":{"type":"object","required":["token"],"properties":{"size":{"type":"number","description":"/exit only: USD position size"},"token":{"type":"string","description":"ERC-20 token address on Base (0x + 40 hex)"},"impact":{"type":"number","description":"/exit only: max acceptable price impact percent (default 1)"},"tokens":{"type":"string","description":"up to 3 comma-separated token addresses"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"ok":{"type":"boolean"},"chain":{"type":"string"},"summary":{"type":"object","properties":{"poolCount":{"type":"number"},"bestDepthUsd":{"type":"number"},"bestDepthGrade":{"type":"string"}}},"verdict":{"type":"string"}}}}}}},"responseSchema":{"type":"json","example":{"ok":true,"note":"Capacity is a LOWER BOUND: Uniswap V3 pools are excluded from the size model. Constant-product model; comparable in order of magnitude, not exact.","chain":"base","ethUsd":2343.51,"results":[{"ok":true,"best":{"pool":"0x2578365b3dfa7ffe60108e181efb79feddec2319","venue":"aerodrome","maxUsdOut":3230.39,"quoteAsset":"WETH","maxTokenSell":0.040595},"size":{"ok":false,"pool":"0x2578365b3dfa7ffe60108e181efb79feddec2319","venue":"aerodrome","usdOut":4923.79,"impactPct":1.5242,"slippagePct":1.524,"slippageUsd":76.21,"requestedUsd":5000},"token":"0xcbb7c0000ab88b473b1f5afd9ef808440eed33bf","symbol":"cbBTC","venues":[{"pool":"0x2578365b3dfa7ffe60108e181efb79feddec2319","venue":"aerodrome","maxUsdOut":3230.39,"quoteAsset":"WETH","maxTokenSell":0.040595,"spotPriceUsd":80380.2,"quoteDepthUsd":324023.6,"tokenReserveUi":4.029}],"impactLimitPct":1}],"endpoint":"exit"}},"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_nfz7as1EslHtXD-mdbCxT","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":"Estimates how much USD can be extracted by selling a specific ERC-20 token on Base DEXes, checking pool depth and price impact before exiting a position.","exampleAgentPrompt":"Before I sell my cbBTC position, can you check how much I can realistically exit with on Base — I want to sell about $5000 worth with no more than 1% price impact, the token address is 0xcbb7c0000ab88b473b1f5afd9ef808440eed33bf.","exampleUseCases":[{"title":"Pre-exit slippage check for large position","prompt":"I'm about to sell $10,000 worth of token 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 on Base — can you check if there's enough DEX liquidity and what my price impact would be if I limit it to 1.5%?"},{"title":"Best pool venue discovery before selling","prompt":"Which pool on Base gives me the best exit for selling token 0xcbb7c0000ab88b473b1f5afd9ef808440eed33bf, and what's the maximum USD I can get out without excessive slippage?"},{"title":"Risk check before bot liquidation","prompt":"My trading bot is about to liquidate a position in token 0x4200000000000000000000000000000000000006 on Base worth $3000 — can you verify the exit capacity and make sure price impact stays under 2%?"}],"resultDescription":"Returns a JSON object with: overall ok status, chain identifier, ETH/USD price, and per-token results including best pool address and venue (e.g. Aerodrome), maximum USD that can be extracted, spot price, quote asset depth, token reserves, and a size simulation showing expected USD out, impact percentage, slippage percent and USD amount for the requested position size. Includes a note that Uniswap V3 pools are excluded and the model is a constant-product lower-bound estimate.","failureModes":["Invalid or non-existent token address returns error","Token has no liquidity pools on Base — ok:false with empty venues","Payment not received — 402 response requiring x402 USDC payment on Base","Price impact exceeds limit — size.ok:false with actual impactPct reported","Network or RPC issues returning 5xx","Missing required token query parameter returns validation error"],"whenToPreferThis":"Use this endpoint when you need a quick, on-chain-grounded estimate of DEX exit capacity for a specific ERC-20 token on Base before executing a sell. Ideal for agents managing DeFi portfolios, liquidation bots, or risk systems that need to know whether a position can be exited within acceptable slippage bounds without actually submitting a transaction. Prefer this over general token price APIs when you need pool-level depth, venue comparison, and impact simulation rather than just a spot price.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T12:43:27.015Z","isFirstParty":false,"canonicalSlug":"basedue-exit-liquidity-analyzer-aaf60446"}