{"uid":"cap_efECYJ14cYcEgWR2xBopt","slug":"base-pre-trade-sellability-check-d96307af","name":"Base Pre-Trade Sellability Check","description":"Pre-trade sellability / honeypot check for Base tokens: simulates a buy, a wallet transfer and a sell of a Base ERC-20 on live Base state (Uniswap v2/v3 or Aerodrome; nothing is signed or spent). Returns buy/sell/transfer success, measured tax %, revert reason and a simulation-driven verdict (ok/caution/avoid/unknown); owner/holder flags go in risk_flags. $0.02 USDC. Invalid input is not charged. Informational, not financial advice.","url":"https://api.x402risk.com/v1/pretrade-check?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"token":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Base (chain 8453) ERC-20 token contract address"},"router":{"enum":["auto","uniswap_v2","uniswap_v3","aerodrome"],"type":"string","default":"auto","description":"Restrict the simulated pool type; auto = deepest supported WETH/USDC pool"},"amount_usd":{"type":"number","default":100,"maximum":10000,"minimum":1,"description":"Hypothetical trade size in USD (capped to 5% of the pool's quote reserve)"}}},"responseSchema":{"type":"json","example":{"gas":{"buy":150000,"sell":133537,"transfer":40000},"pool":"0xBA3F945812a83471d709BCe9C3CA699A19FB46f7","chain":"base","route":"uniswap_v3:fee_10000 WETH","token":"0x532f27101965dd16442E59d40670FaF5eBB142E4","buy_ok":true,"cached":false,"status":"ok","product":"pretrade-check","reasons":["buy, transfer and sell simulated successfully with < 1% tax"],"sell_ok":true,"verdict":"ok","chain_id":8453,"disclaimer":"Informational, not financial advice. Simulation of a hypothetical buy/transfer/sell against public Base state at the stated block; it is not a guarantee that a real trade will succeed or be taxed the same way (token owners can change rules at any time). Heuristic flags can be wrong; do your own research.","risk_flags":[{"flag":"HAS_ACTIVE_OWNER","note":"contract has an active (non-renounced) owner"}],"buy_tax_pct":0,"transfer_ok":true,"block_number":35000000,"sell_tax_pct":0,"revert_reason":null,"schema_version":"1.0","transfer_tax_pct":0,"token_check_risk_level":"low"}},"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__lfZQY8NgDxC43dKAm9ua","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 a buy, transfer, and sell of a Base ERC-20 token on live chain state to detect honeypots, hidden taxes, and sell restrictions before a real trade.","exampleAgentPrompt":"Before I buy this Base token at 0x532f27101965dd16442E59d40670FaF5eBB142E4, run a honeypot simulation with a $100 hypothetical trade on auto router and tell me the buy/sell tax, whether I can actually sell it afterward, and any risk flags.","exampleUseCases":[{"title":"Honeypot check before ape-buying meme coin","prompt":"I'm about to buy this Base meme coin at 0xBA3F945812a83471d709BCe9C3CA699A19FB46f7 — can you simulate a $500 buy and sell on auto router and tell me if it's a honeypot, what the taxes are, and whether there are any red flags I should know about?"},{"title":"DeFi bot pre-trade safety gate","prompt":"My trading bot is about to swap into 0x4ed4E862860beD51a9570b96d89aF5E1B0Efefed on Base — run a pre-trade sellability check with a $1000 trade size on Uniswap v3 and only proceed if the verdict comes back ok and sell tax is under 5%."},{"title":"Token launchpad due diligence screening","prompt":"We just listed a new token at 0x1234567890abcdef1234567890abcdef12345678 on Base — can you simulate a $100 buy, transfer, and sell using Aerodrome and give me the full verdict, tax percentages, and any owner or holder risk flags before we promote it?"}],"resultDescription":"Returns a JSON object with buy_ok, sell_ok, transfer_ok boolean flags, buy/sell/transfer tax percentages, a simulation verdict (ok/caution/avoid/unknown), revert_reason if any step failed, risk_flags array (e.g. active owner, blacklist function), pool address used, gas estimates for each step, block number of simulation, and a disclaimer. Also includes chain, router route, and schema version.","failureModes":["Invalid token address format returns 400 error with no charge","Token has no supported liquidity pool — verdict returns unknown","Simulation reverts with a revert_reason string explaining why sell failed","Token owner changes rules between simulation and real trade — results may not reflect live conditions","Unsupported router specified for the available pools returns error or falls back to auto","Token with extremely low liquidity may return inaccurate tax measurements"],"whenToPreferThis":"Use this endpoint when you need a fast, live-state simulation of whether a Base ERC-20 token can be bought and sold without restrictions, specifically to detect honeypots, hidden taxes, and sell locks before committing real funds. Prefer this over static contract analysis when you want dynamic execution-based evidence rather than bytecode heuristics. Choose this over generic token risk checks when the specific concern is trade executability and tax measurement on Uniswap v2/v3 or Aerodrome on Base chain.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T03:58:01.020Z","isFirstParty":false,"canonicalSlug":"base-pre-trade-sellability-check-d96307af"}