{"uid":"cap_AzdjyZKzrUYzh3xI0lviu","slug":"erc-20-token-metadata-lookup-c530f2bf","name":"ERC-20 Token Metadata Lookup","description":"Use when you need name, symbol, decimals and total supply of an ERC-20 token on Base, Ethereum, Arbitrum, Optimism or Polygon in one call, with the supply formatted by decimals.","url":"https://biosfera.46-62-215-147.sslip.io/o/erc20-metadata?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","arbitrum","optimism","polygon"],"type":"string"},"token":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0015","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":"down","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.0015/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0015","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0015","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ij6btDK5lrZd1ZQbJiry9","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0015","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns name, symbol, decimals, and human-formatted total supply for any ERC-20 token on Base, Ethereum, Arbitrum, Optimism, or Polygon in a single call.","exampleAgentPrompt":"What's the name, symbol, decimals, and total supply of the token at 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 on Ethereum?","exampleUseCases":[{"title":"Identify unknown token by contract address","prompt":"I found this contract address 0x6B175474E89094C44Da98b954EedeAC495271d0F on Ethereum — can you tell me what token it is, its symbol, how many decimals it uses, and what the total supply looks like?"},{"title":"DeFi dashboard token info enrichment","prompt":"I'm building a dashboard and need the name, symbol, decimals, and formatted total supply for the token at 0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174 on Polygon."},{"title":"Compare token supplies across chains","prompt":"What are the full metadata details — name, symbol, decimals, and total supply — for the USDC token at 0xFF970A61A04b1cA14834A43f5dE4533eBDDB5CC8 on Arbitrum?"}],"resultDescription":"Returns a JSON object containing the token's human-readable name, ticker symbol, number of decimals, and total supply formatted as a human-readable number (already divided by the token's decimal precision), all retrieved in a single on-chain call.","failureModes":["Invalid or non-ERC-20 contract address returns an error or empty metadata","Unsupported chain value results in a validation error","Contract exists but doesn't implement ERC-20 standard methods, causing partial or failed response","Network congestion may increase latency or cause timeouts","Malformed address (not matching 0x + 40 hex chars) is rejected by input validation"],"whenToPreferThis":"Choose this endpoint when you need all four standard ERC-20 metadata fields (name, symbol, decimals, total supply) in a single call and want the total supply pre-formatted by decimals — avoiding multiple separate RPC calls. Prefer it over raw blockchain RPC queries when you need a simple REST interface across Base, Ethereum, Arbitrum, Optimism, or Polygon without managing provider connections yourself.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-03T03:28:40.609Z","isFirstParty":false,"canonicalSlug":"erc-20-token-metadata-lookup-c530f2bf"}