{"uid":"cap_57oGmfoIDUHfm5KrlZJBE","slug":"agentsvc-io-erc20-token-info-lookup-83c7c8c7","name":"agentsvc.io ERC20 Token Info Lookup","description":"Read an ERC20 token contract on Base, Ethereum or IOTA EVM mainnet: name, symbol, decimals, total supply, and optionally the balance of one holder address. Verifies that the address is a contract. Params: token (contract address, required), chain ('base' default, 'ethereum' or 'iota-evm'), holder (optional address).","url":"https://agentsvc.io/api/v1/proxy/erc20-info?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"chain":{"enum":["base","ethereum","iota-evm"],"type":"string","default":"base"},"token":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"ERC20 contract address"},"holder":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Optional address whose token balance to return"}}},"responseSchema":{"type":"json","example":{"data":{"name":"USD Coin","chain":"base","token":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","holder":{"address":"0x622efA6Ceb83a5b6EdBC931332f4db68B7f74F27","balance":"0.009","balance_raw":"9000"},"symbol":"USDC","chain_id":8453,"decimals":6,"explorer":"https://basescan.org/token/0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","checked_at":"2026-10-06T12:00:00.000Z","total_supply":"4422012871.202378","total_supply_raw":"4422012871202378"},"success":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0045","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.0045/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0045","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0045","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_KMUOddUMjOJGZWqgMbEyS","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0045","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches on-chain metadata and optional holder balance for any ERC20 token on Base or Ethereum by contract address.","exampleAgentPrompt":"What's the name, symbol, total supply, and decimals for the ERC20 token at contract address 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 on Base, and what's the balance for wallet 0x622efA6Ceb83a5b6EdBC931332f4db68B7f74F27?","exampleUseCases":[{"title":"Identify unknown token contract","prompt":"I found this contract address on Base — 0xd9aAEc86B65D86f6A7B5B1b0c42FFA531710b6CA — can you tell me what token it is, its symbol, and how many decimals it uses?"},{"title":"Check wallet ERC20 token balance","prompt":"How many tokens does wallet 0x622efA6Ceb83a5b6EdBC931332f4db68B7f74F27 hold for the USDC contract 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 on Base?"},{"title":"Verify token supply before DeFi interaction","prompt":"Before I interact with this protocol, can you pull the total supply and metadata for the token at 0x6B175474E89094C44Da98b954EedeAC495271d0F on Ethereum so I know it's a legit ERC20?"}],"resultDescription":"Returns a JSON object containing the token's name, symbol, decimals, chain, chain ID, total supply (human-readable and raw), a block explorer URL, and optionally the specified holder's balance (human-readable and raw) along with a timestamp of when the data was checked.","failureModes":["Invalid contract address format (must be 0x-prefixed 40-char hex) returns a validation error","Contract address exists but is not an ERC20 token may return incomplete or empty metadata","Unsupported chain value (not 'base' or 'ethereum') returns a schema validation error","Network RPC errors or chain congestion may cause timeouts","Holder address provided but holds zero tokens returns balance of 0 rather than an error"],"whenToPreferThis":"Use this endpoint when you need structured on-chain metadata about any ERC20 token — name, symbol, decimals, total supply — on Base or Ethereum, especially when you also want a specific wallet's token balance in the same call. Prefer this over block explorer scraping when you need machine-readable JSON without parsing HTML, and when you want pay-per-call pricing with no API key setup.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":1,"lastUsedAt":"2026-10-26T04:05:09.360Z","lastSuccessfullyRanAt":"2026-10-26T04:05:09.360Z","lastHealthCheckAt":"2026-12-03T12:47:50.915Z","isFirstParty":false,"canonicalSlug":"agentsvc-io-erc20-token-info-lookup-83c7c8c7"}