{"uid":"cap_aZJk1R-_b0uhICIOgaurE","slug":"token-security-risk-analyzer-base-erc-20-b4322c41","name":"Token Security Risk Analyzer (Base ERC-20)","description":"Pay-per-call crypto microdata for trading/onchain AI agents via x402 (USDC on Base): Base gas, token risk, balances, multi-venue prices, Hyperliquid book/funding, kimchi premium. No API keys.","url":"https://kr-x402-mvp.kgy5612.workers.dev/v1/token-security?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":["address"],"properties":{"address":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","examples":["0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"],"description":"Base ERC-20 contract"}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"chain":"base","flags":["upgradeable_proxy"],"token":{"symbol":"USDC","decimals":6,"holder_count":11391096},"address":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","reasons":["upgradeable proxy (logic can change)"],"trading":{"buy_tax":0,"sell_tax":0,"honeypot_sim":{"is_honeypot":false},"top10_holder_pct":26.49},"verdict":"OK","can_sell":true,"contract":{"is_contract":true,"bytecode_bytes":1852,"verified_source":true},"risk_level":"low","risk_score":5,"should_buy":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_lOrm7IvMA6gQqi7rLT2D-","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a risk verdict, risk score, and detailed security flags for any ERC-20 token contract on Base, including honeypot simulation, tax rates, holder concentration, and contract verification status.","exampleAgentPrompt":"Before swapping, run a security check on the Base token at 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 — tell me if it's a honeypot, what the risk score is, and whether I can actually sell it after buying.","exampleUseCases":[{"title":"Pre-trade honeypot check for DeFi agent","prompt":"Before my agent buys this new Base token at 0x4200000000000000000000000000000000000006, check if it's a honeypot and what the sell tax is — I don't want to get stuck holding it."},{"title":"Portfolio risk screening for onchain holdings","prompt":"Scan the token contract 0x50c5725949A6F0c72E6C4a641F24049A917DB0Cb on Base and give me a risk verdict and score so I know if it's safe to keep in my portfolio."},{"title":"Whale concentration alert before entering position","prompt":"Check the token at 0x2Ae3F1Ec7F1F5012CFEab0185bfc7aa3cf0DEc22 on Base — specifically I want to know what percentage the top 10 holders control and whether the contract source is verified before I take a position."}],"resultDescription":"A JSON object with a verdict (e.g. 'OK', 'WARN', 'BLOCK'), numeric risk_score (0–100), risk_level string, can_sell and should_buy booleans, an array of flag strings (e.g. 'upgradeable_proxy'), an array of human-readable reason strings, token metadata (symbol, decimals, holder_count), trading data (buy_tax, sell_tax, honeypot simulation result, top10_holder_pct), and contract metadata (is_contract, bytecode_bytes, verified_source). Payment is $0.01 USDC via x402 on Base.","failureModes":["Invalid or malformed address (not a 0x + 40 hex char format) returns a 400 error","Contract address not deployed on Base returns an error or empty result","x402 payment failure (insufficient USDC balance or wrong chain) blocks the request","Network latency from Cloudflare Worker or Base RPC timeouts may cause 5xx errors","Newly deployed contracts with no on-chain history may have incomplete holder or tax data"],"whenToPreferThis":"Choose this endpoint when your agent needs a rapid, low-cost ($0.01) security assessment of an ERC-20 token on Base before executing a swap, investment, or onchain action — especially when you need honeypot detection, tax rates, holder concentration, and contract verification in a single call without requiring an API key. Prefer it over full audit services when speed and micropayment pricing matter. It is Base-specific; use alternative endpoints for Ethereum mainnet or other chains.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:41:56.998Z","isFirstParty":false,"canonicalSlug":"token-security-risk-analyzer-base-erc-20-b4322c41"}