{"uid":"cap_bdmHQzHUHTmqzgwQ_wWOG","slug":"erc-20-token-metadata-lookup-bc5d1fae","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://payai.agentstools.dev/token/meta?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","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":{"p10Cents":"0.5000","medianCents":"0.5000","p90Cents":"0.5000","minCents":"0.5000","maxCents":"0.5000","p95Cents":"0.5000","sampleCount":1,"varies":false,"failureChargeRate":1},"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_j_xU7d2pt_TmE8F_plsD2","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":"Fetches on-chain ERC-20 token metadata (name, symbol, decimals, raw and human-readable totalSupply) for a given contract address on Base, Ethereum, Arbitrum, Optimism, Polygon, or BNB.","exampleAgentPrompt":"What's the name, symbol, decimals, and total supply of the ERC-20 token at 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 on Ethereum?","exampleUseCases":null,"resultDescription":"Returns the token's name, symbol, number of decimals, and totalSupply in both raw on-chain units and human-readable (decimal-adjusted) form, read live from the contract state on the specified EVM network.","failureModes":["Invalid or non-ERC-20 contract address returns an error (contract may not implement name/symbol/decimals/totalSupply)","Unsupported network value returns a validation error","Contract address exists but is not an ERC-20 token (e.g. EOA or non-standard contract) causes a read failure","Network RPC unavailable causes a timeout or service error","Missing required 'token' query parameter returns a 400-level error"],"whenToPreferThis":"Use this endpoint when you need verified, live on-chain ERC-20 token metadata (name, symbol, decimals, totalSupply) for a specific contract address. Prefer this over cached or off-chain token registries when accuracy and freshness matter, or when the token is obscure and not listed on standard token lists. Ideal for DeFi agents that need to validate a token contract before executing swaps or transfers.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T00:41:51.209Z","isFirstParty":false,"canonicalSlug":"erc-20-token-metadata-lookup-bc5d1fae"}