{"uid":"cap_IvzuQ1EE36vgWCrE4QEtj","slug":"base-erc-20-token-supply-lookup-9b4b9716","name":"Base ERC-20 Token Supply Lookup","description":"Pay-per-call utility APIs in USDC on Base: Hebrew calendar and text tools, Shabbat times, Base token control-risk screen and address summary, plus finance arithmetic tools. General information and arithmetic only; not investment, tax or legal advice and not a recommendation to buy, sell or hold anything.","url":"https://heb-utils-x402.hebutils-api.workers.dev/base-erc20-supply?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","properties":{"token":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"decimals":6,"total_supply":"1000"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_IbdF3D2vMYpvvEp_nRukS","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the total supply and decimal precision of an ERC-20 token contract on the Base blockchain.","exampleAgentPrompt":"What's the total supply and decimal places for the ERC-20 token at address 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 on Base?","exampleUseCases":[{"title":"Token supply due diligence check","prompt":"I'm looking at a new token on Base — can you pull the total supply and decimals for contract address 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 so I can see how many tokens exist?"},{"title":"DeFi protocol token audit","prompt":"For our internal report, fetch the on-chain total supply and decimal precision for the Base ERC-20 token at 0x4200000000000000000000000000000000000006."},{"title":"Portfolio app token metadata fetch","prompt":"I need the total supply and number of decimal places for the token deployed at 0x50c5725949A6F0c72E6C4a641F24049A917DB0Cb on Base to display it correctly in our app."}],"resultDescription":"A JSON object with two fields: 'decimals' (integer indicating how many decimal places the token uses, e.g. 6 for USDC) and 'total_supply' (string representing the raw total supply of the token, in its smallest unit).","failureModes":["Invalid or missing token address returns an error response","Non-existent contract address on Base yields no data or an error","Network or RPC timeout causes call failure","Payment failure (insufficient USDC balance) blocks the request via x402 protocol"],"whenToPreferThis":"Use this endpoint when you need quick, pay-per-call on-chain lookup of ERC-20 total supply and decimals specifically on the Base L2 network, without setting up your own RPC infrastructure. Particularly useful for agents that need sporadic, low-cost token metadata lookups rather than bulk data pipelines.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T12:45:28.231Z","isFirstParty":false,"canonicalSlug":"base-erc-20-token-supply-lookup-9b4b9716"}