{"openapi":"3.1.0","info":{"title":"ChainK9","version":"1.0.0","description":"ChainK9: token risk checks on BNB Smart Chain, Ethereum, Base and Arc, for AI agents and trading bots. ChainK9 forks the chain and really buys and sells a token in a sandbox before you do. Paid per request in USDC on Base, Polygon, Arbitrum, Avalanche, BNB Smart Chain (USDT) or Solana over x402. No signup, no API key. ChainK9 reports what happened when it traded the token on a private copy of its blockchain at the block shown. That is evidence, not a guarantee: a token's owner can change its rules after the scan, and traps no check tests can be missed. Nothing here is financial advice; you trade at your own risk.","x-guidance":"Each tool is one HTTP endpoint. Call POST /<tool> with a JSON body whose fields are in the operation's schema (the same fields also work as GET /<tool>?field=value query parameters). An unpaid call returns HTTP 402 with the payment requirements; pay with any x402 client and retry. Calls that fail with 4xx or 5xx are never charged, except that Solana payments for the scans and the longer tools settle before the run, so a run that then fails is not refunded. GET / lists every tool with its price and an example.","contact":{"email":"hello@chaink9.com"}},"servers":[{"url":"https://api.chaink9.com"}],"paths":{"/simulate-trade":{"post":{"operationId":"simulateTrade","summary":"Test one buy or one sell of a chosen size for a specific wallet.","description":"Test one buy or one sell of a chosen size for a specific wallet. To find how much of an existing position a holder can actually sell, try several sizes at once with exit-check; for any transaction that isn't a swap of this token, use transaction-preview. Execute a requested-wallet buy or sell on a disposable fork of BNB Smart Chain, Ethereum, Base or Arc. Trades the token's market as a scan finds it: its deepest funded V2 pair or V3 pool, else its recorded Uniswap V4 pool (hook included), against BNB/WBNB or ETH/WETH; actual wallet balances, EOA wallets only. Returns receipt status, received amount, the market traded (pool_version, pool, fee_tier, hooks), router quote shortfall and gas. A V4 quote already includes the hook's cut. A quote shortfall is not a pure tax or price-impact measurement. Sell approval is simulated when needed; no live transaction is sent.","tags":["Security"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.020000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"chain":{"type":"string","enum":["bsc","eth","base","arc"],"description":"bsc (BNB Smart Chain, the default), eth (Ethereum), base (Base) or arc (Arc)"},"token":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Token"},"wallet":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Wallet being tested; may differ from payer"},"direction":{"type":"string","enum":["buy","sell"]},"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"},"minimum_out":{"type":"string","pattern":"^[0-9]{1,78}$","description":"Optional minimum received in output base units; defaults to zero"}},"required":["token","wallet","direction","amount"],"additionalProperties":false},"example":{"token":"0x0E09FaBB73Bd3Ade0a17ECC321fD13a19e81cE82","wallet":"0xF977814e90dA44bFA03b6295A0616a897441aceC","direction":"buy","amount":"10000000000000000"}}}},"responses":{"200":{"description":"Result","content":{"application/json":{"schema":{"type":"object","properties":{"chain_id":{"type":"integer"},"block":{"type":"integer"},"block_hash":{"type":"string"},"observed_at":{"type":"string"},"tool":{"type":"string"},"data":{"type":"object","properties":{"status":{"type":"string"},"amount_out":{"type":"string"},"quote_out":{"type":"string"},"quote_shortfall_bps":{"type":"string"},"approval_executed":{"type":"boolean"}}},"cost":{"type":"object","properties":{"fork_transactions":{"type":"integer"},"local_rpc_calls":{"type":"integer"},"elapsed_ms":{"type":"integer"}}},"limits":{"type":"array","items":{"type":"string"}}}},"example":{"chain_id":56,"block":1,"block_hash":"0x…","observed_at":"2026-10-18T00:00:00Z","tool":"simulate-trade","data":{"status":"succeeded","amount_out":"100","quote_out":"100","quote_shortfall_bps":"0","approval_executed":false},"cost":{"fork_transactions":1,"local_rpc_calls":15,"elapsed_ms":1000},"limits":["Recorded fork evidence, not a future execution guarantee."]}}}},"400":{"description":"Invalid input (not charged)"},"402":{"description":"Payment Required"},"502":{"description":"A data source failed (not charged)"}}}},"/exit-check":{"post":{"operationId":"exitCheck","summary":"For a wallet that already holds the token: how much of it can it really sell? Tests up to four independent sell sizes fr","description":"For a wallet that already holds the token: how much of it can it really sell? Tests up to four independent sell sizes from the EOA's existing token balance; for a single buy or sell of any size, use simulate-trade. Each size starts from the same fork snapshot; approvals are included when needed. Sells through the token's V2, V3 or V4 market (as simulate-trade finds it) with the wallet's real BNB or ETH for gas. Returns observed sell outcomes, not a guarantee of future exit.","tags":["Security"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.040000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"chain":{"type":"string","enum":["bsc","eth","base","arc"],"description":"bsc (BNB Smart Chain, the default), eth (Ethereum), base (Base) or arc (Arc)"},"token":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Token"},"wallet":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Existing holder"},"amounts":{"type":"string","description":"One to four comma-separated token base-unit integers"}},"required":["token","wallet","amounts"],"additionalProperties":false},"example":{"token":"0x0E09FaBB73Bd3Ade0a17ECC321fD13a19e81cE82","wallet":"0xF977814e90dA44bFA03b6295A0616a897441aceC","amounts":"1000000000000000000,2000000000000000000"}}}},"responses":{"200":{"description":"Result","content":{"application/json":{"schema":{"type":"object","properties":{"chain_id":{"type":"integer"},"block":{"type":"integer"},"block_hash":{"type":"string"},"observed_at":{"type":"string"},"tool":{"type":"string"},"data":{"type":"object","properties":{"independent_sizes":{"type":"boolean"},"balance":{"type":"string"},"trades":{"type":"array","items":{"type":"object","properties":{"status":{"type":"string"},"amount_in":{"type":"string"},"amount_out":{"type":"string"}}}}}},"cost":{"type":"object","properties":{"fork_transactions":{"type":"integer"},"local_rpc_calls":{"type":"integer"},"elapsed_ms":{"type":"integer"}}},"limits":{"type":"array","items":{"type":"string"}}}},"example":{"chain_id":56,"block":1,"block_hash":"0x…","observed_at":"2026-10-18T00:00:00Z","tool":"exit-check","data":{"independent_sizes":true,"balance":"100","trades":[{"status":"succeeded","amount_in":"10","amount_out":"1"}]},"cost":{"fork_transactions":4,"local_rpc_calls":40,"elapsed_ms":2000},"limits":["Only requested sizes and route are tested."]}}}},"400":{"description":"Invalid input (not charged)"},"402":{"description":"Payment Required"},"502":{"description":"A data source failed (not charged)"}}}},"/risk-changes":{"post":{"operationId":"riskChanges","summary":"Compare the latest two stored ChainK9 scans.","description":"Compare the latest two stored ChainK9 scans. Returns changed, added and removed module results plus report timestamps. Does not run a new scan or independently verify implementation changes. Requires two saved scans; 404 is not charged.","tags":["Security"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.002000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"chain":{"type":"string","enum":["bsc","eth","base","arc"],"description":"bsc (BNB Smart Chain, the default), eth (Ethereum), base (Base) or arc (Arc)"},"token":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Token with at least two stored scans on that chain"}},"required":["token"],"additionalProperties":false},"example":{"token":"0x0E09FaBB73Bd3Ade0a17ECC321fD13a19e81cE82"}}}},"responses":{"200":{"description":"Result","content":{"application/json":{"schema":{"type":"object","properties":{"token":{"type":"string"},"before":{"type":"object","properties":{"block":{"type":"integer"},"scanned_at":{"type":"string"},"verdict":{"type":"string"}}},"after":{"type":"object","properties":{"block":{"type":"integer"},"scanned_at":{"type":"string"},"verdict":{"type":"string"}}},"changes":{"type":"array","items":{"type":"object","properties":{"module":{"type":"string"},"kind":{"type":"string"},"before":{"type":"object","properties":{"status":{"type":"string"}}},"after":{"type":"object","properties":{"status":{"type":"string"}}}}}},"pair_changed":{"type":"boolean"},"proxy_changed":{"type":"boolean"},"coverage":{"type":"string"}}},"example":{"token":"0x0E09FaBB73Bd3Ade0a17ECC321fD13a19e81cE82","before":{"block":1,"scanned_at":"2026-10-18T00:00:00Z","verdict":"ok"},"after":{"block":2,"scanned_at":"2026-10-18T00:10:00Z","verdict":"caution"},"changes":[{"module":"sell_tax","kind":"changed","before":{"status":"pass"},"after":{"status":"warn"}}],"pair_changed":false,"proxy_changed":false,"coverage":"Stored reports only."}}}},"400":{"description":"Invalid input (not charged)"},"402":{"description":"Payment Required"},"502":{"description":"A data source failed (not charged)"}}}},"/deployer-report":{"post":{"operationId":"deployerReport","summary":"Verify a token's successful finalized top-level creation transaction and return known verified deployments by that sende","description":"Verify a token's successful finalized top-level creation transaction and return known verified deployments by that sender with stored scans. Coverage grows as creation proofs are submitted. Does not discover every deployment, trace launchpad/internal CREATE, attribute a team, or label a deployer a scammer.","tags":["Security"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.005000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"chain":{"type":"string","enum":["bsc","eth","base","arc"],"description":"bsc (BNB Smart Chain, the default), eth (Ethereum), base (Base) or arc (Arc)"},"token":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Created token"},"creation_tx":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$","description":"Actual top-level contract creation transaction, not pair creation"}},"required":["token","creation_tx"],"additionalProperties":false},"example":{"token":"0x0E09FaBB73Bd3Ade0a17ECC321fD13a19e81cE82","creation_tx":"0x7dd36f3b6d38f8a6b2f2fb0c850a75d57114a1b2fdcd350eaeee609cf3d827ae"}}}},"responses":{"200":{"description":"Result","content":{"application/json":{"schema":{"type":"object","properties":{"verified_creation":{"type":"object","properties":{"token":{"type":"string"},"deployer":{"type":"string"},"creation_transaction":{"type":"string"},"creation_block":{"type":"integer"}}},"known_deployments":{"type":"array","items":{"type":"object","properties":{"creation":{"type":"object","properties":{"token":{"type":"string"},"deployer":{"type":"string"}}},"latest_scan":{}}}},"truncated":{"type":"boolean"},"coverage":{"type":"string"}}},"example":{"verified_creation":{"token":"0x0E09FaBB73Bd3Ade0a17ECC321fD13a19e81cE82","deployer":"0x00000000000000000000000000000000000caFe1","creation_transaction":"0x…","creation_block":1},"known_deployments":[{"creation":{"token":"0x0E09FaBB73Bd3Ade0a17ECC321fD13a19e81cE82","deployer":"0x00000000000000000000000000000000000caFe1"},"latest_scan":null}],"truncated":false,"coverage":"Previously submitted verified creations only."}}}},"400":{"description":"Invalid input (not charged)"},"402":{"description":"Payment Required"},"502":{"description":"A data source failed (not charged)"}}}},"/liquidity-report":{"post":{"operationId":"liquidityReport","summary":"Inspect the pool itself, not the token: reserves, LP supply, burned LP and (on BSC) PinkLock locks, at one finalized blo","description":"Inspect the pool itself, not the token: reserves, LP supply, burned LP and (on BSC) PinkLock locks, at one finalized block. It gives no verdict; for one that includes who holds the LP, use scan-ultra. Read the token's market at one finalized block. A V3 or V4 pool returns pool_version, fee, hook, active liquidity, price and (V3) the coins the pool holds; its positions are NFTs, so holders and lock IDs are refused. A V2 pair returns canonical reserves against WBNB/WETH (PancakeSwap on BSC, Uniswap on Ethereum and Base), LP supply, burned LP and up to ten supplied holders. On BSC, optionally verify up to ten PinkLock V2 simple lock IDs against the pinned BSC contract, exact runtime hash and aggregate LP custody. Reports future, elapsed, withdrawn and unsupported vesting records. No holder/lock discovery or withdrawal simulation; other contract-held LP remains unknown. Lock and holder amounts overlap.","tags":["Security"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.003000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"chain":{"type":"string","enum":["bsc","eth","base","arc"],"description":"bsc (BNB Smart Chain, the default), eth (Ethereum), base (Base) or arc (Arc)"},"token":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Token"},"holders":{"type":"string","description":"Optional comma-separated LP holder addresses, maximum ten"},"pinklock_ids":{"type":"string","description":"Optional, BSC only: comma-separated PinkLock V2 lock IDs, maximum ten unique decimal IDs; only simple time locks counted"}},"required":["token"],"additionalProperties":false},"example":{"token":"0x0E09FaBB73Bd3Ade0a17ECC321fD13a19e81cE82"}}}},"responses":{"200":{"description":"Result","content":{"application/json":{"schema":{"type":"object","properties":{"chain_id":{"type":"integer"},"block":{"type":"integer"},"block_hash":{"type":"string"},"observed_at":{"type":"string"},"token":{"type":"string"},"pair":{"type":"string"},"reserve_token":{"type":"string"},"reserve_wrapped":{"type":"string"},"lp_supply":{"type":"string"},"burned_lp":{"type":"string"},"requested_holders":{"type":"array","items":{"type":"object","properties":{"address":{"type":"string"},"lp_balance":{"type":"string"},"share_bps":{"type":"string"},"account_kind":{"type":"string"},"withdrawal_authority":{"type":"string"}}}},"unattributed_lp":{"type":"string"},"lock_evidence":{},"coverage":{"type":"string"}}},"example":{"chain_id":56,"block":1,"block_hash":"0x…","observed_at":"2026-10-18T00:00:00Z","token":"0x0E09FaBB73Bd3Ade0a17ECC321fD13a19e81cE82","pair":"0x00000000000000000000000000000000000caFe1","reserve_token":"100","reserve_wrapped":"100","lp_supply":"100","burned_lp":"1","requested_holders":[{"address":"0x00000000000000000000000000000000000caFe1","lp_balance":"50","share_bps":"5000","account_kind":"EOA","withdrawal_authority":"Redemption not simulated"}],"unattributed_lp":"49","lock_evidence":null,"coverage":"Requested holders; optional supported simple lock evidence overlaps ownership balances."}}}},"400":{"description":"Invalid input (not charged)"},"402":{"description":"Payment Required"},"502":{"description":"A data source failed (not charged)"}}}},"/launch-feed":{"post":{"operationId":"launchFeed","summary":"Find launches that are funded right now: reads each candidate pool on chain (at most twenty).","description":"Find launches that are funded right now: reads each candidate pool on chain (at most twenty). For a plain, cheaper list of the newest markets with stored verdicts, use feed instead. Filters the latest collector candidates on one chain for currently funded markets: canonical V2 and V3 pools against the wrapped coin with at least the minimum wrapped-coin reserve, and Uniswap V4 pools against the native or wrapped coin with active liquidity (V4 only when min_wrapped is zero, since a V4 pool's own coins can't be read); optional stored verdict. Checks at most twenty candidates at one finalized block. Ordered by pair creation, not first liquidity time; most funded markets are scanned in the background within minutes and re-scanned an hour later; unscanned markets are unknown and stored verdicts may be old.","tags":["Security"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.003000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"chain":{"type":"string","enum":["bsc","eth","base","arc"],"description":"bsc (BNB Smart Chain, the default), eth (Ethereum), base (Base) or arc (Arc)"},"limit":{"type":"string","pattern":"^([1-9]|1[0-9]|20)$","description":"Candidate markets to examine, default ten"},"min_wrapped":{"type":"string","pattern":"^[0-9]{1,78}$","description":"Minimum WBNB/WETH reserve in wei, default zero"},"min_wbnb":{"type":"string","pattern":"^[0-9]{1,78}$","description":"Older name of min_wrapped"},"verdict":{"type":"string","enum":["ok","caution","danger","unknown"]}},"required":[],"additionalProperties":false},"example":{"chain":"bsc","limit":"10","min_wrapped":"1000000000000000000"}}}},"responses":{"200":{"description":"Result","content":{"application/json":{"schema":{"type":"object","properties":{"evidence":{"type":"object","properties":{"chain_id":{"type":"integer"},"block":{"type":"integer"}}},"candidates_checked":{"type":"integer"},"markets":{"type":"array","items":{"type":"object","properties":{"market":{"type":"object","properties":{"token":{"type":"string"},"verdict":{"type":"string"}}},"pool":{"type":"object","properties":{"reserve_wbnb":{"type":"string"}}}}}},"coverage":{"type":"string"}}},"example":{"evidence":{"chain_id":56,"block":1},"candidates_checked":10,"markets":[{"market":{"token":"0x0E09FaBB73Bd3Ade0a17ECC321fD13a19e81cE82","verdict":"unknown"},"pool":{"reserve_wbnb":"1000000000000000000"}}],"coverage":"Bounded candidates; no new scans."}}}},"400":{"description":"Invalid input (not charged)"},"402":{"description":"Payment Required"},"502":{"description":"A data source failed (not charged)"}}}},"/transaction-preview":{"post":{"operationId":"transactionPreview","summary":"Preview any transaction that isn't a plain buy or sell of a token (a claim, an approval, a contract call) before signing","description":"Preview any transaction that isn't a plain buy or sell of a token (a claim, an approval, a contract call) before signing it; for token swaps use simulate-trade. Execute an EOA transaction on a disposable fork of BNB Smart Chain, Ethereum, Base or Arc. Supply target, calldata, optional native-coin value and up to ten ERC-20 assets to track. Returns receipt status, native-coin balance delta including gas, requested token deltas and direct approve allowance reads when available. Other assets, internal approvals and signatures are not inventoried; nothing is broadcast live.","tags":["Security"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.020000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"chain":{"type":"string","enum":["bsc","eth","base","arc"],"description":"bsc (BNB Smart Chain, the default), eth (Ethereum), base (Base) or arc (Arc)"},"wallet":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Sending EOA"},"to":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Transaction target"},"data":{"type":"string","pattern":"^0x([0-9a-fA-F]{2}){0,16384}$","description":"Transaction calldata, 0x for native transfer"},"value":{"type":"string","pattern":"^[0-9]{1,78}$","description":"Native coin wei (BNB or ETH), default zero"},"tokens":{"type":"string","description":"Optional comma-separated ERC-20 assets to track, maximum ten"},"gas":{"type":"string","pattern":"^[0-9]{1,78}$","description":"Optional gas limit, 21000 to 3000000"}},"required":["wallet","to","data"],"additionalProperties":false},"example":{"wallet":"0xF977814e90dA44bFA03b6295A0616a897441aceC","to":"0x0E09FaBB73Bd3Ade0a17ECC321fD13a19e81cE82","data":"0xa9059cbb000000000000000000000000000000000000000000000000000000000000dead0000000000000000000000000000000000000000000000000de0b6b3a7640000","value":"0","tokens":"0x0E09FaBB73Bd3Ade0a17ECC321fD13a19e81cE82"}}}},"responses":{"200":{"description":"Result","content":{"application/json":{"schema":{"type":"object","properties":{"chain_id":{"type":"integer"},"block":{"type":"integer"},"tool":{"type":"string"},"data":{"type":"object","properties":{"status":{"type":"string"},"gas_used":{"type":"integer"},"balance_changes":{"type":"array","items":{"type":"object","properties":{"asset":{"type":"string"},"before":{"type":"string"},"after":{"type":"string"},"delta":{"type":"string"}}}},"approval":{},"coverage":{"type":"string"}}},"cost":{"type":"object","properties":{"fork_transactions":{"type":"integer"},"local_rpc_calls":{"type":"integer"},"elapsed_ms":{"type":"integer"}}},"limits":{"type":"array","items":{"type":"string"}}}},"example":{"chain_id":56,"block":1,"tool":"transaction-preview","data":{"status":"succeeded","gas_used":21000,"balance_changes":[{"asset":"BNB","before":"100","after":"99","delta":"-1"}],"approval":null,"coverage":"Only supplied assets inspected."},"cost":{"fork_transactions":1,"local_rpc_calls":10,"elapsed_ms":1000},"limits":["Fork only."]}}}},"400":{"description":"Invalid input (not charged)"},"402":{"description":"Payment Required"},"502":{"description":"A data source failed (not charged)"}}}},"/portfolio-screen":{"post":{"operationId":"portfolioScreen","summary":"Triage a wallet's holdings in one call: read actual wallet balances for up to twenty supplied token addresses on one cha","description":"Triage a wallet's holdings in one call: read actual wallet balances for up to twenty supplied token addresses on one chain and prioritize their stored ChainK9 scan verdicts. Includes scan age/staleness and missing reports. Does not discover wallet assets, run fresh scans or establish wallet-specific sellability; use exit-check for that.","tags":["Security"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.005000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"chain":{"type":"string","enum":["bsc","eth","base","arc"],"description":"bsc (BNB Smart Chain, the default), eth (Ethereum), base (Base) or arc (Arc)"},"wallet":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Wallet whose balances to read"},"tokens":{"type":"string","description":"Comma-separated token addresses, one to twenty"}},"required":["wallet","tokens"],"additionalProperties":false},"example":{"wallet":"0xF977814e90dA44bFA03b6295A0616a897441aceC","tokens":"0x0E09FaBB73Bd3Ade0a17ECC321fD13a19e81cE82"}}}},"responses":{"200":{"description":"Result","content":{"application/json":{"schema":{"type":"object","properties":{"evidence":{"type":"object","properties":{"chain_id":{"type":"integer"},"block":{"type":"integer"}}},"wallet":{"type":"string"},"positions":{"type":"array","items":{"type":"object","properties":{"token":{"type":"string"},"balance":{"type":"string"},"stored_verdict":{"type":"string"},"latest_scan":{},"stale_or_missing":{"type":"boolean"}}}},"coverage":{"type":"string"}}},"example":{"evidence":{"chain_id":56,"block":1},"wallet":"0x00000000000000000000000000000000000caFe1","positions":[{"token":"0x0E09FaBB73Bd3Ade0a17ECC321fD13a19e81cE82","balance":"100","stored_verdict":"unknown","latest_scan":null,"stale_or_missing":true}],"coverage":"Supplied assets and stored scans only."}}}},"400":{"description":"Invalid input (not charged)"},"402":{"description":"Payment Required"},"502":{"description":"A data source failed (not charged)"}}}},"/scan":{"post":{"operationId":"scan","summary":"Check a token on BNB Smart Chain, Ethereum, Base or Arc for traps before buying it.","description":"Check a token on BNB Smart Chain, Ethereum, Base or Arc for traps before buying it. ChainK9 forks the chain and really buys and sells the token in a sandbox (its V2 or V3 pool: PancakeSwap on BSC, where a V2 or V3 pool against USDT or USDC is traded through BNB, Uniswap on Ethereum and Base; or its Uniswap V4 pool, hook included, against the native coin or, traded through it, USDT or USDC; on Arc, its V4 pool against USDC), then runs 70+ checks: honeypot, hidden and changing buy and sell taxes, owner pause, blacklist, mint and confiscation powers, transfer and sell limits, cooldowns, liquidity, upgrade authority. Returns a verdict (danger, caution, ok) and every check's result. Results are reused for 10 minutes. Not charged when the address isn't a token or has no liquidity yet (422).","tags":["Security"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.020000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"token":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Token address on the chosen chain"},"chain":{"type":"string","enum":["bsc","eth","base","arc"],"description":"bsc (BNB Smart Chain, the default), eth (Ethereum), base (Base) or arc (Arc)"},"fresh":{"type":"string","enum":["false","true"],"description":"Set true to request a new scan for a later risk comparison; default false reuses the cache"}},"required":["token"]},"example":{"token":"0x0E09FaBB73Bd3Ade0a17ECC321fD13a19e81cE82","chain":"bsc","fresh":"false"}}}},"responses":{"200":{"description":"Result","content":{"application/json":{"schema":{"type":"object","properties":{"token":{"type":"string"},"chain":{"type":"string"},"verdict":{"type":"string"},"block":{"type":"integer"},"block_time":{"type":"string"},"scanned_at":{"type":"string"},"elapsed_ms":{"type":"integer"},"proxy":{"type":"boolean"},"pair":{"type":"string"},"pool_version":{"type":"string"},"tier":{"type":"string"},"results":{"type":"array","items":{"type":"object","properties":{"module":{"type":"string"},"category":{"type":"string"},"severity":{"type":"string"},"status":{"type":"string"},"detail":{"type":"string"}}}},"cached":{"type":"boolean"},"report_url":{"type":"string"}}},"example":{"token":"0x0e09fabb73bd3ade0a17ecc321fd13a19e81ce82","chain":"bsc","verdict":"caution","block":128151663,"block_time":"2026-10-17T10:11:28Z","scanned_at":"2026-10-17T10:11:31Z","elapsed_ms":22555,"proxy":false,"pair":"0x0ed7e52944161450477ee417de9cd3a859b14fd0","pool_version":"v2","tier":"full","results":[{"module":"sellability","category":"Sellability","severity":"critical","status":"pass","detail":"sell succeeded — the position is exitable"},{"module":"sell_tax","category":"Taxation","severity":"critical","status":"pass","detail":"sell output shortfall versus pre-trade router quote: 0.00%"},{"module":"hidden_mint","category":"Owner control","severity":"high","status":"warn","detail":"impersonated owner mint(address,uint256) executed; the owner is a contract, so issuance follows its code, which was not audited"}],"cached":false,"report_url":"https://chaink9.com/token/bsc/0x0e09fabb73bd3ade0a17ecc321fd13a19e81ce82"}}}},"400":{"description":"Invalid input (not charged)"},"402":{"description":"Payment Required"},"502":{"description":"A data source failed (not charged)"}}}},"/scan-lite":{"post":{"operationId":"scanLite","summary":"A quicker, cheaper ChainK9 check for bots that need a fast yes or no before buying a token on BNB Smart Chain, Ethereum,","description":"A quicker, cheaper ChainK9 check for bots that need a fast yes or no before buying a token on BNB Smart Chain, Ethereum, Base or Arc. It really buys and sells the token once on a fork of the chain, then reads the contract: honeypot, buy and sell tax, trade gas, ownership, owner functions in the bytecode, blacklist, proxy, liquidity and source checks. It skips /scan's extra trades and time-travel probes (taxes that change over time or after several sells, owner powers tried for real, transfer limits and cooldowns), so a recent full /scan is returned instead when one exists. The report's tier field says which ran. Lite results are stored, so /report returns them later too. Not charged when the address isn't a token or has no liquidity yet (422).","tags":["Security"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.005000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"token":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Token address on the chosen chain"},"chain":{"type":"string","enum":["bsc","eth","base","arc"],"description":"bsc (BNB Smart Chain, the default), eth (Ethereum), base (Base) or arc (Arc)"}},"required":["token"]},"example":{"token":"0x0E09FaBB73Bd3Ade0a17ECC321fD13a19e81cE82","chain":"bsc"}}}},"responses":{"200":{"description":"Result","content":{"application/json":{"schema":{"type":"object","properties":{"token":{"type":"string"},"chain":{"type":"string"},"verdict":{"type":"string"},"block":{"type":"integer"},"block_time":{"type":"string"},"scanned_at":{"type":"string"},"elapsed_ms":{"type":"integer"},"proxy":{"type":"boolean"},"pair":{"type":"string"},"pool_version":{"type":"string"},"tier":{"type":"string"},"results":{"type":"array","items":{"type":"object","properties":{"module":{"type":"string"},"category":{"type":"string"},"severity":{"type":"string"},"status":{"type":"string"},"detail":{"type":"string"}}}},"cached":{"type":"boolean"},"report_url":{"type":"string"}}},"example":{"token":"0x0e09fabb73bd3ade0a17ecc321fd13a19e81ce82","chain":"bsc","verdict":"caution","block":128151663,"block_time":"2026-10-17T10:11:28Z","scanned_at":"2026-10-17T10:11:31Z","elapsed_ms":22555,"proxy":false,"pair":"0x0ed7e52944161450477ee417de9cd3a859b14fd0","pool_version":"v2","tier":"lite","results":[{"module":"sellability","category":"Sellability","severity":"critical","status":"pass","detail":"sell succeeded — the position is exitable"},{"module":"sell_tax","category":"Taxation","severity":"critical","status":"pass","detail":"sell output shortfall versus pre-trade router quote: 0.00%"}],"cached":false,"report_url":"https://chaink9.com/token/bsc/0x0e09fabb73bd3ade0a17ecc321fd13a19e81ce82"}}}},"400":{"description":"Invalid input (not charged)"},"402":{"description":"Payment Required"},"502":{"description":"A data source failed (not charged)"}}}},"/scan-ultra":{"post":{"operationId":"scanUltra","summary":"ChainK9's deepest token check on BNB Smart Chain, Ethereum, Base or Arc, for bigger buys and due diligence.","description":"ChainK9's deepest token check on BNB Smart Chain, Ethereum, Base or Arc, for bigger buys and due diligence. Everything /scan does (a real buy and sell on a fork of the chain plus 70+ checks: honeypot, changing taxes, owner powers tried for real, limits, cooldowns, liquidity, upgrade authority), plus who holds the token: the largest holder's and the top 10's share of supply, ranked from the token's whole transfer history with the largest balances read on chain, and whether a single wallet holds the pool's liquidity tokens and could pull the liquidity. Holder checks cover tokens with up to about 10,000 transfers (most new launches) and say so when a token has more. A stored ultra result also answers /scan and /report. For the pool's reserves and LP locks without a verdict, use liquidity-report. Not charged when the address isn't a token or has no liquidity yet (422).","tags":["Security"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.050000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"token":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Token address on the chosen chain"},"chain":{"type":"string","enum":["bsc","eth","base","arc"],"description":"bsc (BNB Smart Chain, the default), eth (Ethereum), base (Base) or arc (Arc)"},"fresh":{"type":"string","enum":["false","true"],"description":"Set true to scan anew; default false reuses an ultra scan from the last 10 minutes"}},"required":["token"]},"example":{"token":"0x0E09FaBB73Bd3Ade0a17ECC321fD13a19e81cE82","chain":"bsc","fresh":"false"}}}},"responses":{"200":{"description":"Result","content":{"application/json":{"schema":{"type":"object","properties":{"token":{"type":"string"},"chain":{"type":"string"},"verdict":{"type":"string"},"block":{"type":"integer"},"block_time":{"type":"string"},"scanned_at":{"type":"string"},"elapsed_ms":{"type":"integer"},"proxy":{"type":"boolean"},"pair":{"type":"string"},"pool_version":{"type":"string"},"tier":{"type":"string"},"results":{"type":"array","items":{"type":"object","properties":{"module":{"type":"string"},"category":{"type":"string"},"severity":{"type":"string"},"status":{"type":"string"},"detail":{"type":"string"}}}},"cached":{"type":"boolean"},"report_url":{"type":"string"}}},"example":{"token":"0x0e09fabb73bd3ade0a17ecc321fd13a19e81ce82","chain":"bsc","verdict":"caution","block":128151663,"block_time":"2026-10-17T10:11:28Z","scanned_at":"2026-10-17T10:11:31Z","elapsed_ms":22555,"proxy":false,"pair":"0x0ed7e52944161450477ee417de9cd3a859b14fd0","pool_version":"v2","tier":"ultra","results":[{"module":"sellability","category":"Sellability","severity":"critical","status":"pass","detail":"sell succeeded — the position is exitable"},{"module":"sell_tax","category":"Taxation","severity":"critical","status":"pass","detail":"sell output shortfall versus pre-trade router quote: 0.00%"},{"module":"hidden_mint","category":"Owner control","severity":"high","status":"warn","detail":"impersonated owner mint(address,uint256) executed; the owner is a contract, so issuance follows its code, which was not audited"},{"module":"holder_concentration","category":"Holder distribution","severity":"high","status":"info","detail":"at live block 129165185, the largest holder owns 3.43% and the 10 largest own 10.49% of total supply, excluding the pool; holders ranked from all 330 transfers, the largest 20 balances read on chain"}],"cached":false,"report_url":"https://chaink9.com/token/bsc/0x0e09fabb73bd3ade0a17ecc321fd13a19e81ce82"}}}},"400":{"description":"Invalid input (not charged)"},"402":{"description":"Payment Required"},"502":{"description":"A data source failed (not charged)"}}}},"/report":{"post":{"operationId":"report","summary":"The latest stored ChainK9 report for a token on BNB Smart Chain, Ethereum, Base or Arc, without running a new scan; its ","description":"The latest stored ChainK9 report for a token on BNB Smart Chain, Ethereum, Base or Arc, without running a new scan; its tier field says whether it was a lite, full or ultra scan. Most funded new launches are scanned in the background within minutes of their first liquidity and re-scanned an hour later, so this is usually the fastest answer for a new token. Not charged if the token was never scanned on that chain (404), or if its only scan is a free contract-checks-only one of a token with no pool ChainK9 can trade (422).","tags":["Security"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.002000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"token":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Token address on the chosen chain"},"chain":{"type":"string","enum":["bsc","eth","base","arc"],"description":"bsc (BNB Smart Chain, the default), eth (Ethereum), base (Base) or arc (Arc)"}},"required":["token"]},"example":{"token":"0x0E09FaBB73Bd3Ade0a17ECC321fD13a19e81cE82","chain":"bsc"}}}},"responses":{"200":{"description":"Result","content":{"application/json":{"schema":{"type":"object","properties":{"token":{"type":"string"},"chain":{"type":"string"},"verdict":{"type":"string"},"block":{"type":"integer"},"block_time":{"type":"string"},"scanned_at":{"type":"string"},"elapsed_ms":{"type":"integer"},"proxy":{"type":"boolean"},"pair":{"type":"string"},"pool_version":{"type":"string"},"tier":{"type":"string"},"results":{"type":"array","items":{"type":"object","properties":{"module":{"type":"string"},"category":{"type":"string"},"severity":{"type":"string"},"status":{"type":"string"},"detail":{"type":"string"}}}},"cached":{"type":"boolean"},"report_url":{"type":"string"}}},"example":{"token":"0x0e09fabb73bd3ade0a17ecc321fd13a19e81ce82","chain":"bsc","verdict":"caution","block":128151663,"block_time":"2026-10-17T10:11:28Z","scanned_at":"2026-10-17T10:11:31Z","elapsed_ms":22555,"proxy":false,"pair":"0x0ed7e52944161450477ee417de9cd3a859b14fd0","pool_version":"v2","tier":"full","results":[{"module":"sellability","category":"Sellability","severity":"critical","status":"pass","detail":"sell succeeded — the position is exitable"},{"module":"sell_tax","category":"Taxation","severity":"critical","status":"pass","detail":"sell output shortfall versus pre-trade router quote: 0.00%"},{"module":"hidden_mint","category":"Owner control","severity":"high","status":"warn","detail":"impersonated owner mint(address,uint256) executed; the owner is a contract, so issuance follows its code, which was not audited"}],"cached":true,"report_url":"https://chaink9.com/token/bsc/0x0e09fabb73bd3ade0a17ecc321fd13a19e81ce82"}}}},"400":{"description":"Invalid input (not charged)"},"402":{"description":"Payment Required"},"502":{"description":"A data source failed (not charged)"}}}},"/trace":{"post":{"operationId":"trace","summary":"Follow the money out of one transaction on BNB Smart Chain, Ethereum, Base or Arc, wallet to wallet: native coin anywher","description":"Follow the money out of one transaction on BNB Smart Chain, Ethereum, Base or Arc, wallet to wallet: native coin anywhere in its call tree (so a drainer contract's payouts count) and every token transfer it logged, then each receiving wallet's outgoing transfers that pass that amount on (first in, first out, wallets funded twice followed once for the sum), up to depth hops (1 to 5, default 3). A swap doesn't end the trail: it continues with what came back. Each trail ends at a mixer (Tornado Cash pools and routers on Ethereum and BSC, labeled with the pool), a contract (exchange, bridge, router, pool; known ones labeled), a busy exchange or service wallet, a wallet still holding the funds, a burn, or the depth limit; ends lists which, with the amount that reached it. Up to 80 hops. Not charged if the transaction isn't found (404) or moved nothing (422).","tags":["Security"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.010000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"hash":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$","description":"Transaction hash on the chosen chain"},"chain":{"type":"string","enum":["bsc","eth","base","arc"],"description":"bsc (BNB Smart Chain, the default), eth (Ethereum), base (Base) or arc (Arc)"},"depth":{"type":"string","pattern":"^[1-5]$","description":"How many hops to follow, 1 to 5 (default 3)"}},"required":["hash"]},"example":{"hash":"0x097706c6a8e7fa1b81d724e893061d0dd487f9ec73bc9d68e83f3e7159982ec3","chain":"bsc","depth":"3"}}}},"responses":{"200":{"description":"Result","content":{"application/json":{"schema":{"type":"object","properties":{"chain":{"type":"string"},"hash":{"type":"string"},"block":{"type":"integer"},"depth":{"type":"integer"},"hops":{"type":"array","items":{"type":"object","properties":{"from":{"type":"string"},"to":{"type":"string"},"value":{"type":"string"},"asset":{"type":"string"},"txHash":{"type":"string"},"block":{"type":"integer"},"depth":{"type":"integer"},"kind":{"type":"string"}}}},"ends":{"type":"array","items":{"type":"object","properties":{"address":{"type":"string"},"asset":{"type":"string"},"value":{"type":"string"},"reason":{"type":"string"},"label":{"type":"string"}}}},"truncated":{"type":"boolean"},"method":{"type":"string"}}},"example":{"chain":"bsc","hash":"0x097706c6a8e7fa1b81d724e893061d0dd487f9ec73bc9d68e83f3e7159982ec3","block":129519870,"depth":3,"hops":[{"from":"0xa6ee430f0a5b2e9b1c1f8bb4c0a35e6c0d6f9a11","to":"0x10ed43c718714eb63d5aa57b78b54704e256024e","value":"1.2","asset":"BNB","txHash":"0x097706c6a8e7fa1b81d724e893061d0dd487f9ec73bc9d68e83f3e7159982ec3","block":129519870,"depth":1,"kind":"transfer"}],"ends":[{"address":"0x10ed43c718714eb63d5aa57b78b54704e256024e","asset":"BNB","value":"1.2","reason":"contract","label":"DEX router (V2)"}],"truncated":false,"method":"Native coin and token transfers from the transaction, then each wallet's outgoing transfers of the same asset after it received, in order until they cover what reached it (first in, first out; under 1% is dust). Swaps continue with what came back. Trails stop at mixers (Tornado Cash), contracts, busy exchange or service wallets, holders and the depth limit. Mixed funds can't be told apart, so this is the likely path, not proof."}}}},"400":{"description":"Invalid input (not charged)"},"402":{"description":"Payment Required"},"502":{"description":"A data source failed (not charged)"}}}},"/feed":{"post":{"operationId":"feed","summary":"Browse the newest markets with their stored verdicts: a cheap list (up to 200) straight from ChainK9's records, no on-ch","description":"Browse the newest markets with their stored verdicts: a cheap list (up to 200) straight from ChainK9's records, no on-chain reads. To keep only markets with money in the pool right now, use launch-feed instead. The newest tokens that just got a market on BNB Smart Chain (PancakeSwap), Ethereum, Base or Arc (Uniswap), newest first, with ChainK9's verdict where the token was scanned on that chain. Funded launches are usually scanned in the background within minutes, so most of them already carry a verdict.","tags":["Security"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.002000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"type":"string","pattern":"^[0-9]{1,3}$","description":"How many markets, 1 to 200 (default 50)"},"chain":{"type":"string","enum":["bsc","eth","base","arc"],"description":"bsc (BNB Smart Chain, the default), eth (Ethereum), base (Base) or arc (Arc)"}}},"example":{"limit":"20","chain":"bsc"}}}},"responses":{"200":{"description":"Result","content":{"application/json":{"schema":{"type":"object","properties":{"markets":{"type":"array","items":{"type":"object","properties":{"token":{"type":"string"},"quote":{"type":"string"},"pair":{"type":"string"},"dex":{"type":"string"},"creator":{"type":"string"},"created_at":{"type":"string"},"verdict":{"type":"string"},"scanned_at":{"type":"string"}}}}}},"example":{"markets":[{"token":"0xdf84a8385fed1a41cea98ab1a29142a418d17777","quote":"0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c","pair":"0x84ccc7282611b7c231aa79b71cb1437d26d74252","dex":"pancake-v2","creator":"0xfe2cb6b8c284d632390268d8007873ac5865db0b","created_at":"2026-10-17T09:29:16Z","verdict":"ok","scanned_at":"2026-10-17T09:31:02Z"}]}}}},"400":{"description":"Invalid input (not charged)"},"402":{"description":"Payment Required"},"502":{"description":"A data source failed (not charged)"}}}}}}