{"uid":"cap_ZlbVNTla2dA8mch7OuSwK","slug":"allthebot-erc-20-info-eth-b6c59924","name":"AllTheBot ERC-20 Info (ETH)","description":"ERC-20 token info on Ethereum: name, symbol, decimals and total supply of any token contract on Ethereum mainnet, read live via eth_call.","url":"https://api.zkrobotics.fr/x402/eth/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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["token"],"properties":{"token":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"name":"USD Coin","token":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","symbol":"USDC","network":"ethereum","decimals":6,"total_supply":"48993471495.266895","total_supply_raw":"48993471495266895"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_o-vGqfzUNVPcUVJIJAVXB","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the name, symbol, decimals, and total supply of any ERC-20 token contract on Ethereum mainnet via live eth_call.","exampleAgentPrompt":"What are the name, symbol, decimals, and total supply of the ERC-20 token at Ethereum contract address 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48?","exampleUseCases":[{"title":"Identify unknown token contract","prompt":"I found this Ethereum contract address 0xdAC17F958D2ee523a2206206994597C13D831ec7 — can you tell me what token it is, its symbol, how many decimals it has, and what the current total supply is?"},{"title":"Verify token decimals before swap","prompt":"Before I do a swap, can you confirm how many decimals the token at 0x6B175474E89094C44Da98b954EedeAC495271d0F uses on Ethereum mainnet so I can format the amounts correctly?"},{"title":"Monitor total supply of stablecoin","prompt":"What is the current total supply of USDC on Ethereum — fetch it live from the contract at 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 and give me both the human-readable and raw values?"}],"resultDescription":"A JSON object containing the token's contract address, human-readable name, symbol, decimal precision, formatted total supply as a string, and raw total supply as an integer string — all read live from Ethereum mainnet via eth_call.","failureModes":["Invalid or malformed contract address (not matching 0x + 40 hex chars) returns a validation error","Address is a wallet or non-ERC-20 contract — eth_call may return zero/empty values or an error","Contract deployed on a non-Ethereum network will not be found on mainnet","Network congestion or RPC node unavailability may cause timeouts","Proxy or upgradeable contracts may return unexpected metadata"],"whenToPreferThis":"Use this endpoint when you need live, on-chain ERC-20 token metadata (name, symbol, decimals, total supply) for any token on Ethereum mainnet specifically. It reads directly via eth_call so data is always current, unlike indexed APIs that may lag. Prefer it over blockchain explorer scraping or general-purpose RPC calls when you want a structured, pay-per-call response without managing your own Ethereum node.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-12-03T12:48:50.191Z","isFirstParty":false,"canonicalSlug":"allthebot-erc-20-info-eth-b6c59924"}