{"uid":"cap_zkQA0XzAjtGRmBXaVRVsv","slug":"token-risk-analyzer-base-erc-20-x402-f0e1f6be","name":"Token Risk Analyzer — Base ERC-20 (x402)","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-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":["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_VC0OfFZA7r8cKYtaVN2ou","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, honeypot detection, trading taxes, holder distribution, and contract metadata for any Base ERC-20 token address.","exampleAgentPrompt":"Before I swap into this Base token at 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913, run a risk check on it — is it a honeypot, what's the risk score, and can I sell after buying?","exampleUseCases":[{"title":"Pre-trade honeypot check for DeFi bot","prompt":"I'm about to buy into a new Base token at 0x4200000000000000000000000000000000000006 — can you check if it's a honeypot, whether there are any buy/sell taxes, and whether the contract is safe before I commit funds?"},{"title":"Token safety audit for portfolio tracker","prompt":"Pull the full risk profile for the Base ERC-20 at 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 — I need the risk score, verdict, holder count, top-10 concentration, and whether it's an upgradeable proxy."},{"title":"Rugpull screening for sniper agent","prompt":"Screen this token contract 0x50c5725949A6F0c72E6C4a641F24049A917DB0Cb on Base for me — is it verified, can I sell after buying, and what flags or reasons make it risky?"}],"resultDescription":"A JSON object containing: chain (always 'base'), token symbol and decimals, holder_count, risk_level (low/medium/high), risk_score (0–100), verdict (OK/WARN/FAIL), can_sell boolean, should_buy boolean, buy_tax and sell_tax percentages, honeypot simulation result (is_honeypot boolean), top10_holder_pct, contract flags (is_contract, bytecode_bytes, verified_source), and an array of human-readable reasons explaining any risk flags (e.g. 'upgradeable proxy (logic can change)').","failureModes":["Invalid or non-ERC-20 address returns an error or empty result","Non-Base chain addresses will not be recognized (endpoint is Base-only)","Unverified or very new contracts may have limited metadata","Payment failure via x402 (insufficient USDC balance) blocks the call","Rate limiting or Cloudflare Worker downtime may cause 5xx errors"],"whenToPreferThis":"Choose this endpoint when an AI trading or onchain agent needs a fast, structured safety verdict for a Base ERC-20 token before executing a swap or investment — especially when no API key is available and micropayment via x402/USDC is acceptable. It consolidates honeypot detection, tax analysis, holder concentration, and contract verification into a single call, making it ideal for automated pre-trade risk gates.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:42:01.527Z","isFirstParty":false,"canonicalSlug":"token-risk-analyzer-base-erc-20-x402-f0e1f6be"}