{"uid":"cap_DmYYF4r1cIAZFafLzGuym","slug":"tali-agent-tools-token-exit-check-ba41628f","name":"Tali Agent Tools – Token Exit Check","description":"x402 v2 paid agent tools on Base mainnet USDC via PayAI facilitator.","url":"https://tali-agent-tools.talibot.workers.dev/v1/token-exit-check?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"],"type":"string"},"queryParams":{"type":"object","required":["token"],"properties":{"token":{"type":"string","description":"Base ERC-20 token address (0x...)"},"amount_eth":{"type":"string","description":"Optional simulated buy size in ETH (0.0001-1, default 0.001)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"chain":"base","token":"0xFF0C532FDB8Cd566Ae169C1CB157ff2Bdc83E105","market":{"pools":2,"symbol":"Fren Pet","price_usd":0.012,"pair_age_days":900,"volume_24h_usd":51000,"total_liquidity_usd":757282},"reasons":["round trip of 0.001 ETH lost 8.392% (pool fees + taxes + price impact)"],"verdict":"exit_ok","checked_at":"2026-10-19T13:00:00.000Z","simulation":{"dex":"uniswap","pool":"0x...","stage":"ok","pool_kind":"v2","buy_tax_pct":4,"sell_tax_pct":3.999,"amount_in_eth":0.001,"revert_reason":null,"transfer_tax_pct":3.999,"round_trip_loss_pct":8.392}}},"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_azfaU_-985BZzrT1ZXE2o","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":"Simulates a round-trip buy/sell of a Base ERC-20 token to detect taxes, pool fees, price impact, and whether it's safe to exit a position.","exampleAgentPrompt":"Check if I can safely exit my position in the Base token at 0xFF0C532FDB8Cd566Ae169C1CB157ff2Bdc83E105 — simulate a round-trip with 0.001 ETH and tell me the buy and sell taxes, total loss, and whether it's safe to sell.","exampleUseCases":[{"title":"Pre-sale honeypot detection","prompt":"Before I buy this Base memecoin at 0xFF0C532FDB8Cd566Ae169C1CB157ff2Bdc83E105, can you simulate a buy and sell with 0.001 ETH and tell me if there's a sell tax or if I'd be stuck holding it?"},{"title":"Portfolio exit safety check","prompt":"I'm holding the token 0xFF0C532FDB8Cd566Ae169C1CB157ff2Bdc83E105 on Base and want to sell — run an exit check with 0.01 ETH and tell me how much I'd lose to fees and taxes and whether it's safe to exit."},{"title":"Token tax audit before listing","prompt":"We're about to list this Base ERC-20 at 0xFF0C532FDB8Cd566Ae169C1CB157ff2Bdc83E105 on our platform — can you simulate a 0.001 ETH round-trip to check for hidden transfer taxes, buy/sell taxes, and any revert issues?"}],"resultDescription":"Returns a JSON object with an exit verdict ('exit_ok' or similar), market data (symbol, price, liquidity, volume, pair age), and a detailed simulation result including buy tax %, sell tax %, transfer tax %, round-trip loss %, the DEX and pool used, pool kind (v2/v3), and any revert reason if the simulation failed.","failureModes":["Token address not found on Base – no liquidity pools available","Invalid token address format – must be a checksummed 0x address","Simulation reverts – token may be a honeypot or have blocked sells","Amount outside supported range (0.0001–1 ETH) returns validation error","Payment failure via x402/PayAI – USDC balance insufficient or facilitator error"],"whenToPreferThis":"Use this endpoint when you need to programmatically verify whether a specific Base ERC-20 token can be sold without excessive tax or price impact, especially before executing a trade or listing a token. Prefer it over manual DEX checks when you need structured machine-readable output (tax %, loss %, verdict) that can drive downstream automation. It is specifically designed for Base mainnet tokens and uses actual on-chain simulation rather than static contract analysis.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T12:30:30.920Z","isFirstParty":false,"canonicalSlug":"tali-agent-tools-token-exit-check-ba41628f"}