{"uid":"cap_RZXC2NVawRaHdUTblTqcI","slug":"chaink9-simulate-trade-token-honeypot-risk-check-9aaa927f","name":"ChainK9 Simulate Trade – Token Honeypot & Risk Check","description":"Token risk checks for BNB Smart Chain, Ethereum and Base, for AI agents and trading bots. ChainK9 forks the chain and really buys and sells a token in a sandbox before you do, so a honeypot is caught by what it does, not by what its code looks like.","url":"https://api.chaink9.com/simulate-trade?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","wallet","direction","amount"],"properties":{"chain":{"enum":["bsc","eth","base","arc"],"type":"string","description":"bsc (BNB Smart Chain, the default), eth (Ethereum) or base (Base)"},"token":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Token"},"amount":{"type":"string","pattern":"^[0-9]{1,78}$","description":"Input base units: native coin wei (BNB or ETH) for buys, token base units for sells"},"wallet":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Wallet being tested; may differ from payer"},"direction":{"enum":["buy","sell"],"type":"string"},"minimum_out":{"type":"string","pattern":"^[0-9]{1,78}$","description":"Optional minimum received in output base units; defaults to zero"}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"cost":{"type":"object","properties":{"elapsed_ms":{"type":"integer"},"local_rpc_calls":{"type":"integer"},"fork_transactions":{"type":"integer"}}},"data":{"type":"object","properties":{"status":{"type":"string"},"quote_out":{"type":"string"},"amount_out":{"type":"string"},"approval_executed":{"type":"boolean"},"quote_shortfall_bps":{"type":"string"}}},"tool":{"type":"string"},"block":{"type":"integer"},"limits":{"type":"array","items":{"type":"string"}},"chain_id":{"type":"integer"},"block_hash":{"type":"string"},"observed_at":{"type":"string"}}}}}}},"responseSchema":{"type":"json","example":{"cost":{"elapsed_ms":1000,"local_rpc_calls":15,"fork_transactions":1},"data":{"status":"succeeded","quote_out":"100","amount_out":"100","approval_executed":false,"quote_shortfall_bps":"0"},"tool":"simulate-trade","block":1,"limits":["Recorded fork evidence, not a future execution guarantee."],"chain_id":56,"block_hash":"0x…","observed_at":"2026-10-18T00:00:00Z"}},"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_JvOEedHXEhJy653MoC2qW","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":"Forks a blockchain and executes a real sandbox buy or sell of a token to detect honeypots and trading risks before you commit real funds","exampleAgentPrompt":"Before I buy, run a ChainK9 sandbox simulation on token 0xABC123...def on BSC — simulate a buy with 1000000000000000 wei from my wallet 0xMYWALLET...456 and tell me if I can also sell it back, so I know if it's a honeypot.","exampleUseCases":[{"title":"Honeypot check before aping in","prompt":"I'm about to buy this new token on BNB Smart Chain — contract is 0xdeadbeef...1234 — can you simulate a buy of 500000000000000 wei from my wallet 0xmywallet...5678 and check if I'd actually be able to sell it back? I don't want to get trapped."},{"title":"Trading bot pre-trade safety gate","prompt":"Before my bot executes, simulate a sell of 1000000000000 token units for contract 0xtoken...abcd on Ethereum from wallet 0xbot...9999 and tell me the amount I'd receive and whether there are any sell restrictions or honeypot traps."},{"title":"Vetting a new Base chain token","prompt":"There's a token on Base at 0xbase...5555 that looks interesting — can you do a sandbox buy simulation with 2000000000000000 wei from wallet 0xresearch...1111 and report back the quote, actual output, and whether approval went through cleanly?"}],"resultDescription":"A JSON object containing: trade status (succeeded or failed), quote_out (expected output), amount_out (actual simulated output), quote_shortfall_bps (slippage vs quote in basis points), approval_executed (whether token approval was needed), block number and hash of the fork, chain_id, timestamp, and cost metadata (elapsed ms, RPC calls, fork transactions). This lets the caller determine whether the token is tradeable and whether exit liquidity exists.","failureModes":["Invalid or non-contract token address returns error","Unsupported chain identifier returns validation error","Insufficient liquidity for the simulated trade causes failure status in result","Token has honeypot mechanics — trade simulation returns failed status, which is the intended detection signal","RPC or fork infrastructure timeout returns error after elapsed time","Amount specified as zero or malformed integer pattern rejected by schema","Wallet address format invalid (non-0x or wrong length) returns 400-level error"],"whenToPreferThis":"Choose this endpoint when you need behavioral honeypot detection — not static code analysis. Unlike tools that scan contract source code for known bad patterns, ChainK9 actually executes the trade in a forked sandbox, so it catches dynamic honeypots, blacklist-based sell blocks, and hidden tax traps that look clean on-chain. Prefer it for pre-trade safety gates in trading bots, DeFi agent workflows, or any situation where losing funds to a scam token is a real risk. Best used on BNB Smart Chain, Ethereum, or Base tokens just before executing a real trade.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T06:47:17.085Z","isFirstParty":false,"canonicalSlug":"chaink9-simulate-trade-token-honeypot-risk-check-9aaa927f"}