{"uid":"cap_bKK-T3jP6EmqOjjUnZSLG","slug":"token-risk-analyzer-for-evm-chains-5912b986","name":"Token Risk Analyzer for EVM Chains","description":"Generate an AI_POLICY.md and a pull request template with an AI-disclosure section for your open-source repo. Free, runs in your browser.","url":"https://ai-policy-kit.moneymaker-ai.workers.dev/api/token-risk?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":["chain","token"],"properties":{"chain":{"enum":["base","ethereum","bsc","arbitrum","optimism","polygon","gnosis","celo"],"type":"string"},"token":{"type":"string","description":"0x token contract address"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"block":52787572,"chain":"base","flags":[{"id":"upgradeable_proxy","why":"OpenZeppelin legacy (zos) slot proxy: the admin 0x4fc7850364958d97B4d3f5A08f79db2493f8cA44 can replace the code at any time.","severity":"high"},{"id":"blacklist","why":"blacklist/bot-list function present: specific holders can be blocked from transferring.","severity":"high"}],"owner":"0x3ABd6f64A422225E61E435baE41db12096106df7","token":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","symbol":"USDC","chainId":8453,"burned_pct":0.0006,"risk_level":"high","risk_score":87,"not_checked":["sell/honeypot simulation on a DEX"],"owner_renounced":false,"owner_balance_pct":0,"privileged_functions_found":{"mint":["mint(address,uint256)","configureMinter(address,uint256)"],"pause":["pause()","unpause()"],"blacklist":["blacklist(address)"]}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_mTcNTHP9mXzY8IDbPOEmq","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Analyzes a smart contract token address on a specified EVM chain and returns a detailed risk score, risk flags, ownership info, and privileged function inventory.","exampleAgentPrompt":"Can you check the risk level of the USDC token at contract address 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 on the Base chain — I want to know if it has any blacklist, mint, or upgrade risks before I interact with it?","exampleUseCases":[{"title":"Pre-trade token safety check","prompt":"Before I swap into this token at 0xd9aAEc86B65D86f6A7B5B1b0c42FFA531710b6CA on Base, can you run a risk analysis and tell me if there are any honeypot flags, blacklist functions, or owner control risks I should worry about?"},{"title":"DeFi protocol due diligence","prompt":"I'm evaluating a yield farm on Arbitrum that uses the token at 0xFF970A61A04b1cA14834A43f5dE4533eBDDB5CC8 — can you pull a full risk report including whether the contract is an upgradeable proxy and what privileged functions the owner has?"},{"title":"Rug pull risk detection","prompt":"Someone just sent me a token on Polygon at address 0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174 — can you check if the owner has renounced control, whether there's a mint function, and give me an overall risk score?"}],"resultDescription":"Returns a JSON object with the block number checked, chain ID and name, token symbol, owner address, owner balance percentage, whether the owner has renounced control, an integer risk score (0-100), a categorical risk level (e.g. 'high'), a list of risk flags with severity and explanation (e.g. upgradeable_proxy, blacklist), a map of privileged functions found (mint, pause, blacklist), burned token percentage, and a list of checks that could not be performed (e.g. honeypot simulation).","failureModes":["Invalid or non-existent token contract address returns an error or empty response","Unsupported chain name returns a validation error","Token with no on-chain data (e.g. undeployed address) may return incomplete flags","Honeypot simulation is explicitly listed as not checked, so sell-side risk may be incomplete","Rate limiting or payment failure may result in 402 response"],"whenToPreferThis":"Use this endpoint when you need a fast, structured risk breakdown of a specific EVM token contract — especially when you want actionable flags like blacklist functions, upgradeable proxies, mint permissions, and owner renouncement status. It is best suited for pre-trade safety checks, DeFi due diligence, and scam detection workflows on Base, Ethereum, BSC, Arbitrum, Optimism, Polygon, Gnosis, or Celo. Prefer this over a generic blockchain explorer when you need a machine-readable risk score rather than raw contract data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T12:35:18.557Z","isFirstParty":false,"canonicalSlug":"token-risk-analyzer-for-evm-chains-5912b986"}