{"openapi":"3.1.0","info":{"title":"ExitCheck","version":"1.0.0","description":"Honeypot check for any ERC-20 token: can I sell this token after I buy it? Runs a real buy then sell simulation straight against the token's DEX pools (Uniswap v2/v3/v4 hooks, Aerodrome, PancakeSwap, Camelot) and returns SELLABLE, TRAP, HIGH_TAX or CANNOT_BUY with the exact round-trip loss % (buy tax, sell tax, fees) per pool. Token safety check on Base, Ethereum, Arbitrum, Unichain, Ink, HyperEVM and Robinhood Chain. Use when an agent is about to buy an unfamiliar token. Paid per call with x402: $0.01 USDC on Base.","x-guidance":"Use GET /v1/exit-check with query parameters chain and token before buying an unfamiliar token. Read verdict and safe_to_buy: only SELLABLE means a plain buyer can buy and sell back at a fair price. TRAP, CANNOT_BUY and HIGH_TAX mean do not buy. GET /v1/demo is free for a fixed list of tokens."},"servers":[{"url":"https://exitcheck-x402.vercel.app"}],"paths":{"/v1/exit-check":{"get":{"operationId":"exitCheck","summary":"Honeypot check: real buy and sell-back simulation of a token","description":"Honeypot check for any ERC-20 token: can I sell this token after I buy it? Runs a real buy then sell simulation straight against the token's DEX pools (Uniswap v2/v3/v4 hooks, Aerodrome, PancakeSwap, Camelot) and returns SELLABLE, TRAP, HIGH_TAX or CANNOT_BUY with the exact round-trip loss % (buy tax, sell tax, fees) per pool. Token safety check on Base, Ethereum, Arbitrum, Unichain, Ink, HyperEVM and Robinhood Chain. Use when an agent is about to buy an unfamiliar token.","tags":["Token safety"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.010000"},"protocols":[{"x402":{}}]},"parameters":[{"name":"chain","in":"query","required":false,"description":"Chain the token lives on.","schema":{"type":"string","enum":["base","ethereum","arbitrum","unichain","ink","hyperevm","robinhood"],"default":"base"},"example":"base"},{"name":"token","in":"query","required":true,"description":"ERC-20 contract address to test.","schema":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"example":"0x4ed4E862860beD51a9570b96d89aF5E1B0Efefed"},{"name":"amount_usd","in":"query","required":false,"description":"Size of the simulated round trip in USD.","schema":{"type":"number","minimum":1,"maximum":1000,"default":20},"example":20}],"responses":{"200":{"description":"Verdict and per-pool evidence","content":{"application/json":{"schema":{"type":"object","properties":{"chain":{"type":"string"},"chain_id":{"type":"integer"},"token":{"type":"string"},"symbol":{"type":"string"},"price_usd":{"type":["number","null"]},"market_cap_usd":{"type":["number","null"]},"verdict":{"type":"string","enum":["SELLABLE","CAUTION","HIGH_TAX","TRAP","CANNOT_BUY","THIN_LIQUIDITY","NO_POOL","UNTESTABLE"]},"safe_to_buy":{"type":"boolean","description":"True only when the verdict is SELLABLE."},"reason":{"type":"string"},"main_pool":{"type":["string","null"]},"round_trip_loss_pct":{"type":["number","null"]},"best_exit":{"type":["object","null"]},"tested_liquidity_share":{"type":["number","null"]},"pools_found":{"type":"integer"},"pools":{"type":"array","items":{"type":"object","properties":{"pool":{"type":"string","description":"Pool address, or pool id for Uniswap v4."},"dex":{"type":"string"},"version":{"type":["string","null"],"enum":["v2","v3","v4",null]},"liquidity_usd":{"type":"number"},"quote_symbol":{"type":"string"},"status":{"type":"string","enum":["ok","same-block-sell-restricted","sell-blocked","buy-returns-zero","buy-failed","untestable"]},"round_trip_loss_pct":{"type":"number","description":"Percent of the quote asset lost buying then selling back."},"lp_fee_pct":{"type":["number","null"]},"hooks":{"type":"string","description":"Uniswap v4 hook contract, when present."},"buy_ok":{"type":["boolean","null"]},"sell_ok":{"type":["boolean","null"]},"detail":{"type":"string"}},"required":["pool","dex","status"]}},"simulated_at":{"type":"string"},"elapsed_ms":{"type":"integer"}},"required":["chain","token","verdict","safe_to_buy","reason","pools"]},"example":{"chain":"base","chain_id":8453,"token":"0x4ed4e862860bed51a9570b96d89af5e1b0efefed","trade_size_usd":20,"symbol":"DEGEN","price_usd":0.0031,"market_cap_usd":114000000,"verdict":"SELLABLE","safe_to_buy":true,"reason":"round trip loses 0.6%","main_pool":"0xc9034c3e7f58003e6ae0c8438e7c8f4598d5acaa","round_trip_loss_pct":0.6,"best_exit":{"pool":"0x2c4909355b0c036840819484c3a882a95659abf3","dex":"aerodrome","version":"v3","round_trip_loss_pct":0.48},"tested_liquidity_share":1,"pools_found":9,"pools":[{"pool":"0xc9034c3e7f58003e6ae0c8438e7c8f4598d5acaa","dex":"uniswap","version":"v3","liquidity_usd":209783,"quote_symbol":"WETH","status":"ok","lp_fee_pct":0.3,"buy_ok":true,"sell_ok":true,"round_trip_loss_pct":0.6,"tokens_bought_raw":"6412900000000000000000"}],"simulated_at":"2026-11-14T13:40:00.000Z","elapsed_ms":966,"method":"buy then sell executed against the pool contracts inside eth_call with state override; no router, no allowlist, nothing deployed","cached":false}}}},"400":{"description":"Invalid parameters. Not charged."},"402":{"description":"Payment Required"},"502":{"description":"RPC or price source unavailable. Not charged."}}}},"/v1/demo":{"get":{"operationId":"exitCheckDemo","summary":"Free verdict for a fixed list of demo tokens","tags":["Token safety"],"security":[],"parameters":[{"name":"chain","in":"query","required":false,"description":"Chain the token lives on.","schema":{"type":"string","enum":["base","ethereum","arbitrum","unichain","ink","hyperevm","robinhood"],"default":"base"},"example":"base"},{"name":"token","in":"query","required":true,"description":"ERC-20 contract address to test.","schema":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"example":"0x4ed4E862860beD51a9570b96d89aF5E1B0Efefed"}],"responses":{"200":{"description":"Same shape as /v1/exit-check","content":{"application/json":{"schema":{"type":"object","properties":{"chain":{"type":"string"},"chain_id":{"type":"integer"},"token":{"type":"string"},"symbol":{"type":"string"},"price_usd":{"type":["number","null"]},"market_cap_usd":{"type":["number","null"]},"verdict":{"type":"string","enum":["SELLABLE","CAUTION","HIGH_TAX","TRAP","CANNOT_BUY","THIN_LIQUIDITY","NO_POOL","UNTESTABLE"]},"safe_to_buy":{"type":"boolean","description":"True only when the verdict is SELLABLE."},"reason":{"type":"string"},"main_pool":{"type":["string","null"]},"round_trip_loss_pct":{"type":["number","null"]},"best_exit":{"type":["object","null"]},"tested_liquidity_share":{"type":["number","null"]},"pools_found":{"type":"integer"},"pools":{"type":"array","items":{"type":"object","properties":{"pool":{"type":"string","description":"Pool address, or pool id for Uniswap v4."},"dex":{"type":"string"},"version":{"type":["string","null"],"enum":["v2","v3","v4",null]},"liquidity_usd":{"type":"number"},"quote_symbol":{"type":"string"},"status":{"type":"string","enum":["ok","same-block-sell-restricted","sell-blocked","buy-returns-zero","buy-failed","untestable"]},"round_trip_loss_pct":{"type":"number","description":"Percent of the quote asset lost buying then selling back."},"lp_fee_pct":{"type":["number","null"]},"hooks":{"type":"string","description":"Uniswap v4 hook contract, when present."},"buy_ok":{"type":["boolean","null"]},"sell_ok":{"type":["boolean","null"]},"detail":{"type":"string"}},"required":["pool","dex","status"]}},"simulated_at":{"type":"string"},"elapsed_ms":{"type":"integer"}},"required":["chain","token","verdict","safe_to_buy","reason","pools"]}}}}}}},"/v1/chains":{"get":{"operationId":"listChains","summary":"Supported chains","security":[],"responses":{"200":{"description":"Chain list"}}}},"/health":{"get":{"operationId":"health","summary":"Health check","security":[],"responses":{"200":{"description":"Service status"}}}}}}