{"uid":"cap_ktHokngui-Z53USo1fQs6","slug":"base-launch-guard-exit-liquidity-check-ea6b22cc","name":"Base Launch Guard – Exit Liquidity Check","description":"Use when an agent holds a Base token or memecoin and needs to know if it can still sell: simulates selling your size on the deepest pool and returns net received, price impact/slippage, the largest size that exits under 3% impact, measured sell tax and an EXIT_TRAP flag (>15% impact). Priced for repeated checks. $0.02 USDC on Base; invalid input is a 400 before payment; charged only on 2xx.","url":"https://guard.facts402.com/v1/guard/exit?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"token":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Base mainnet (chain id 8453) ERC-20 token contract address"},"position_usd":{"type":"number","maximum":10000000,"minimum":1,"description":"Position size in USD for the exit-liquidity simulation (default 500)"},"amount_tokens":{"type":"string","pattern":"^[1-9][0-9]{0,77}$","description":"Token amount in RAW units (the token's smallest unit, i.e. amount * 10^decimals) as a decimal string"}}},"responseSchema":{"type":"json","example":{"exit":{"data":{"pool":{"fee":3000,"kind":"uniswap_v3","stable":null,"address":"0xc9034c3e7f58003e6ae0c8438e7c8f4598d5acaa","quote_token":"0x4200000000000000000000000000000000000006","quote_reserve_usd":119650.42},"untaxed":false,"exit_trap":false,"sims_used":4,"position_usd":2500,"amount_tokens":"574780000000000000000000","net_received_usd":2434.92,"price_impact_pct":2.31,"net_received_quote":"216250000000000000","trade_simulation_reverted":false,"max_position_usd_for_3pct_impact":3620},"detail":null,"reason":null,"status":"ok"},"block":53330000,"chain":"base","token":"0x4ed4e862860bed51a9570b96d89af5e1b0efefed","chain_id":8453,"disclaimer":"Automated on-chain facts and rules-based flags. Not investment advice.","simulation":{"data":{"pool":{"fee":3000,"kind":"uniswap_v3","stable":null,"address":"0xc9034c3e7f58003e6ae0c8438e7c8f4598d5acaa","quote_token":"0x4200000000000000000000000000000000000006","quote_reserve_usd":119650.42},"buy_ok":true,"gas_buy":118402,"sell_ok":true,"gas_sell":126930,"honeypot":false,"approve_ok":true,"buy_tax_pct":0,"transfer_ok":true,"gas_transfer":34811,"sell_tax_pct":0,"content_origin":"third_party_untrusted","transfer_tax_pct":0,"revert_reason_untrusted":null},"detail":null,"reason":null,"status":"ok"},"data_sources":["Base mainnet JSON-RPC (block-pinned eth_call / eth_getCode / eth_getStorageAt, state-override trade simulation)"],"generated_at":"2026-10-31T12:00:00+00:00","position_usd":2500,"amount_tokens":null}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_gvSxR9lT-lKWkK71C3AeG","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Simulates selling a Base token position and returns net USD received, price impact, sell tax, max safe exit size, and an EXIT_TRAP flag for honeypot/illiquid tokens.","exampleAgentPrompt":"Before I sell, simulate exiting my $2,500 position in the Base token at 0x4ed4e862860bed51a9570b96d89af5e1b0efefed and tell me the price impact, net received, sell tax, and whether it's flagged as an exit trap.","exampleUseCases":[{"title":"Memecoin exit safety check","prompt":"I'm holding about $1,000 worth of this Base memecoin at 0xabc1234567890abcdef1234567890abcdef123456 — can you simulate selling the whole position and tell me the price impact, net USD I'd get, and whether it's an exit trap?"},{"title":"Pre-sell slippage monitoring for trading bot","prompt":"Every 5 minutes, check if I can exit my $5,000 position in Base token 0xdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef with less than 3% price impact and alert me when the max safe exit size drops below my position size."},{"title":"Sell tax and liquidity scan before entry","prompt":"I'm thinking of buying into this Base token at 0x1234abcd1234abcd1234abcd1234abcd1234abcd but first simulate a $500 sell and tell me the sell tax percentage and whether the liquidity is deep enough to exit without getting trapped."}],"resultDescription":"Returns a JSON object with: net USD received after simulating the sale, price impact percentage, sell tax percentage, the largest USD position that can exit under 3% impact, whether the trade simulation reverted, the deepest pool address and reserve size in USD, an EXIT_TRAP boolean flag (true if impact > 15%), and the block number the simulation was pinned to.","failureModes":["Invalid token address (not a valid Base ERC-20 contract) — returns error detail","Trade simulation reverted — trade_simulation_reverted flag set to true, net values may be null","Token has no liquidity pool on Base — pool data absent, cannot simulate","Position size too large or too small (outside 1–10,000,000 USD range) — validation error","Network or RPC failure — 500 error with no simulation data","Both position_usd and amount_tokens provided — ambiguous input may cause error"],"whenToPreferThis":"Use this endpoint when you need a fast, cheap ($0.02) on-chain simulation of selling a specific Base token position before executing a trade, especially for memecoins and new launches where EXIT_TRAP risk is high. Prefer this over generic DEX aggregator quotes when you specifically need sell tax measurement, the EXIT_TRAP flag, and the max-safe-exit-size calculation all in one call. Best for polling in trading agents that monitor open positions.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-01T06:30:24.644Z","isFirstParty":false,"canonicalSlug":"base-launch-guard-exit-liquidity-check-ea6b22cc"}