{"uid":"cap_uSk8be-0TXGdyjF4cHzqa","slug":"crypto-token-inspector-erc20-risk-metadata-x402-386a5a00","name":"Crypto Token Inspector – ERC20 Risk & Metadata (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?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","eth"],"type":"string","description":"base (default) or eth mainnet"},"address":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","examples":["0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"],"description":"Address to inspect"}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"kind":"ERC20","next":["/crypto/token-risk?address=0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","/crypto/allowance?owner=&spender="],"safe":null,"chain":"base","flags":["upgradeable_proxy","has_owner","admin_can_change_logic"],"owner":"0x...","proxy":{"type":"ZEPPELINOS_LEGACY","admin":"0x4fc7850364958d97b4d3f5a08f79db2493f8ca44","beacon":null,"is_proxy":true,"implementation":"0x2ce6311ddae708829bc0784c967b7d77d19fd779"},"token":{"name":"USD Coin","symbol":"USDC","decimals":6,"total_supply":4100000000},"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","summary":"ERC20 USDC behind ZEPPELINOS_LEGACY proxy, has owner","chain_id":8453,"checked_at":"2026-10-30T03:40:00Z","interfaces":{"erc165":false,"erc721":false,"erc1155":false},"is_contract":true,"native_balance":0,"code_size_bytes":1852,"owner_renounced":false}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm__cSZQXPtofHK-FeBHgj_g","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns detailed ERC20 token metadata, proxy structure, risk flags, ownership, and balances for a given contract address on Base or Ethereum mainnet, paid per-call via x402 USDC microtransaction.","exampleAgentPrompt":"Can you inspect the token contract at 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 on Base and tell me if it's upgradeable, who owns it, and what the risk flags are?","exampleUseCases":[{"title":"Pre-trade token risk check","prompt":"Before I swap into this token at 0xd9aAEc86B65D86f6A7B5B1b0c42FFA531710b6CA on Base, can you check if the contract is a proxy, whether ownership is renounced, and what risk flags exist?"},{"title":"DeFi due diligence on new token","prompt":"I'm researching a new DeFi token on Ethereum mainnet at address 0xae7ab96520DE3A18E5e111B5EaAb095312D7fE84 — can you pull its name, symbol, decimals, total supply, and whether any admin can upgrade the contract logic?"},{"title":"Agent safety gate before contract interaction","prompt":"My onchain agent is about to interact with token 0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599 on Ethereum — first check if it's upgradeable or has a non-renounced owner that could change behavior."}],"resultDescription":"A JSON object containing: token kind (ERC20), name, symbol, decimals, total supply, chain ID, proxy type and admin/implementation addresses, risk flags array (e.g. 'upgradeable_proxy', 'has_owner', 'admin_can_change_logic'), owner address, owner_renounced boolean, native balance, code size in bytes, supported interfaces (ERC165/721/1155), a 'safe' assessment field, a checked_at timestamp, and suggested next-call paths for deeper analysis (e.g. token-risk, allowance endpoints).","failureModes":["Invalid or non-checksummed address format returns a 400 validation error","Address is an EOA (not a contract) — is_contract will be false and most fields will be null","Unsupported chain value returns enum validation error","Contract exists but is not an ERC20 — kind field may differ and token fields may be absent","x402 payment failure if agent wallet has insufficient USDC on Base","Network timeout or RPC error on Base/Ethereum — upstream node unavailable","Address is a proxy but implementation cannot be resolved — proxy fields partially null"],"whenToPreferThis":"Choose this endpoint when an AI agent needs structured, machine-readable ERC20 contract metadata and security risk signals for a specific token address before executing a trade, approving a contract interaction, or assessing DeFi protocol risk — especially when no API key management is desired and pay-per-call micropayment via x402/USDC is acceptable. Prefer over generic block explorers when you need parsed proxy structure, risk flags, and interface detection in a single call rather than raw ABI data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:42:23.943Z","isFirstParty":false,"canonicalSlug":"crypto-token-inspector-erc20-risk-metadata-x402-386a5a00"}