{"uid":"cap_83ot78UAuKpo_cWHT31Ky","slug":"erc-20-token-metadata-lookup-5fa7d3e9","name":"ERC-20 Token Metadata Lookup","description":"ERC-20 token metadata on Base, Ethereum, Arbitrum, Optimism, Polygon or BNB (default Base): name, symbol, decimals and totalSupply (raw + human), read live from contract state by address.","url":"https://api.agentstools.dev/token/meta","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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["token"],"properties":{"token":{"type":"string","description":"ERC-20 contract address (0x..)"},"network":{"enum":["base","ethereum","arbitrum","optimism","polygon","bnb"],"type":"string","description":"EVM network to read from (default base)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"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_eXGkX4HyetYTOrq2uEllx","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":"Returns live on-chain metadata for an ERC-20 token (name, symbol, decimals, raw and human-readable totalSupply) from a contract address on Base, Ethereum, Arbitrum, Optimism, Polygon, or BNB Chain.","exampleAgentPrompt":"What's the name, symbol, decimals, and total supply of the ERC-20 token at 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 on Ethereum?","exampleUseCases":[{"title":"Verify token supply before listing","prompt":"Before we list this new token on our platform, can you pull the live on-chain metadata for the contract at 0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174 on Polygon? I want to confirm the name, symbol, decimals, and total supply straight from the contract."},{"title":"Cross-chain token identity check","prompt":"I've got a contract address 0xFF970A61A04b1cA14834A43f5dE4533eBDDB5CC8 that someone claims is USDC on Arbitrum — can you fetch the on-chain metadata and confirm the name and symbol match what they're saying?"},{"title":"Calculate circulating supply for report","prompt":"I'm writing a report on a BNB Chain token at 0x8AC76a51cc950d9822D68b83fE1Ad97B32Cd580d and need the human-readable total supply directly from the contract so my numbers are accurate and up to date."}],"resultDescription":"Returns a JSON object with the token's name (e.g. 'USD Coin'), symbol (e.g. 'USDC'), decimals (e.g. 6), raw totalSupply (big integer string), and human-readable totalSupply (adjusted for decimals), all read live from the on-chain contract state.","failureModes":["Invalid or non-ERC-20 contract address returns an error or empty metadata","Unsupported network name returns a validation error","Contract address with no deployed code returns an error","Network congestion or RPC issues may cause timeouts","Missing required 'token' query parameter returns a 400-level error"],"whenToPreferThis":"Use this endpoint when you need live, on-chain ERC-20 token metadata — name, symbol, decimals, and total supply — directly from contract state on Base, Ethereum, Arbitrum, Optimism, Polygon, or BNB Chain. Prefer this over off-chain token registries or price APIs when you need authoritative, real-time contract data rather than cached or aggregated information.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:56:47.494Z","isFirstParty":false}