{"uid":"cap_YNZT571eTEkQn6MnMsiwU","slug":"erc-20-token-risk-analyzer-x402-4898f5dc","name":"ERC-20 Token Risk Analyzer (x402)","description":"Invoice-to-JSON, on-chain tools (transaction explainer + payment check, wallet profile, contract ABI, ERC-20 token risk), company contacts and web-to-RAG for AI agents. Pay per call with x402 (USDC on Base). No signup, no API key.","url":"https://freetier-agent-api.pages.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":["address"],"properties":{"chain":{"enum":["base","ethereum"],"type":"string"},"address":{"type":"string","description":"token contract address 0x..."}}}}},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"rpc":{"type":["string","null"]},"name":{"type":["string","null"]},"chain":{"type":["string","null"]},"flags":{"type":"array","items":{"type":["object","null"]}},"owner":{"type":["string","null"]},"proxy":{},"method":{"type":["string","null"]},"symbol":{"type":["string","null"]},"address":{"type":["string","null"]},"sources":{"type":"array","items":{"type":["object","null"]}},"verdict":{"type":["string","null"]},"decimals":{"type":["number","null"]},"liquidity":{"type":"object","properties":{"pools":{"type":["array","null"]},"ethUsd":{"type":["number","null"]},"burnedPct":{"type":["number","null"]},"poolSharePct":{"type":["number","null"]},"ownerSharePct":{"type":["number","null"]},"approxLiquidityUsd":{"type":["number","null"]}}},"riskScore":{"type":["number","null"]},"disclaimer":{"type":["string","null"]},"isContract":{"type":["boolean","null"]},"notChecked":{"type":"array","items":{"type":["string","null"]}},"totalSupply":{"type":["number","null"]},"scoreMeaning":{"type":["string","null"]},"checkedAtBlock":{"type":["number","null"]},"ownerRenounced":{"type":["boolean","null"]}}}}}}},"responseSchema":{"type":"json","example":{"rpc":"https://base-rpc.publicnode.com","name":"Degen","chain":"base","flags":[{"key":"pause","label":"Transfers can be paused","evidence":{"selectors":["0x8456cb59"]},"severity":"medium"}],"owner":"0x704ec5c12ca20a293c2c0b72b22619a4231f3c0d","method":"Deterministic heuristics over public on-chain data via JSON-RPC (bytecode selector scan, EIP-1967/1167 proxy slots, owner(), DEX factory lookups, Chainlink E...","symbol":"DEGEN","address":"0x4ed4e862860bed51a9570b96d89af5e1b0efefed","sources":[{"url":"https://www.publicnode.com/","name":"Public JSON-RPC endpoints (publicnode, Tenderly, Blast, base.org, with failover; batched): eth_call, eth_getCode, eth_getStorageAt; Uniswap v2/v3, Aerodrome ..."}],"verdict":"no_major_red_flags_found","decimals":18,"liquidity":{"pools":[{"dex":"uniswap-v2","pool":"0x7c327d692b72f60b28aecedbcc1ba784712fe7b2","quote":"WETH","quoteBalance":0.0208,"quoteSideUsd":48,"tokenBalance":53144.7496}],"ethUsd":2323.21697782,"burnedPct":0,"poolSharePct":0.78,"ownerSharePct":0.52,"approxLiquidityUsd":489006},"riskScore":16,"disclaimer":"Automated heuristic check of public on-chain data. Not financial advice; a clean result does not mean a token is safe.","isContract":true,"notChecked":["honeypot sell simulation"],"totalSupply":35957026406.6835,"scoreMeaning":"Sum of flag weights (high 30, medium 12, low 4), capped at 100. Measures what an owner/admin can do to holders and how thin liquidity is; it is not a scam pr...","checkedAtBlock":53038058,"ownerRenounced":false}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_CR7APSojeOfnN7D5-W4mh","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Analyzes an ERC-20 token contract address on Base or Ethereum and returns a risk score, flags, liquidity data, and a safety verdict using on-chain heuristics.","exampleAgentPrompt":"Can you run a risk check on this token — contract address 0x4ed4e862860bed51a9570b96d89af5e1b0efefed on Base — and tell me the risk score, any red flags like pausable transfers, and whether the owner has been renounced?","exampleUseCases":[{"title":"Pre-trade token safety check","prompt":"Before I buy this token, can you check the risk score and any flags for contract 0x4ed4e862860bed51a9570b96d89af5e1b0efefed on Base? I want to know if the owner is renounced and whether liquidity looks healthy."},{"title":"DeFi research bot token screening","prompt":"Scan the Ethereum token at 0xc18360217d8f7ab5e7c516566761ea12ce7f9d72 for rug pull signals — I need the verdict, risk score, and any flags about pausing or admin controls."},{"title":"Portfolio watchlist risk audit","prompt":"Run a risk assessment on these two Base tokens — 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913 and 0x4ed4e862860bed51a9570b96d89af5e1b0efefed — and summarize the risk scores and any high or medium severity flags for each."}],"resultDescription":"Returns a JSON object with the token's name, symbol, chain, contract address, a numeric risk score (0–100), a verdict string (e.g. 'no_major_red_flags_found'), an array of risk flags with severity levels and evidence, liquidity pool data (pools, approximate liquidity in USD, burned percentage, owner share), whether the contract is a proxy, whether the owner is renounced, total supply, decimals, and a disclaimer. Also includes the RPC used, the block at which it was checked, and a list of checks not performed (e.g. honeypot sell simulation).","failureModes":["Invalid or non-contract address returns isContract: false or an error","Unsupported chain value returns a validation error","Token with no on-chain liquidity may return null liquidity fields","Payment failure via x402 (insufficient USDC balance) results in 402 response","RPC node timeout or unavailability may cause partial or failed response","Contract with obfuscated bytecode may result in incomplete flag detection"],"whenToPreferThis":"Choose this endpoint when you need a fast, pay-per-call (no signup) on-chain token risk assessment for Base or Ethereum ERC-20 tokens. It is ideal for AI agents that need to programmatically screen tokens before trades, surface rug-pull signals, or audit token contracts without setting up API keys. Prefer this over manual block explorer inspection or expensive subscription risk APIs when operating in an autonomous, low-friction crypto research workflow.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T06:49:10.363Z","isFirstParty":false,"canonicalSlug":"erc-20-token-risk-analyzer-x402-4898f5dc"}