{"uid":"cap_PD9_jiq5mlgAj1UAFFyXR","slug":"foundry-base-token-info-5b780f00","name":"Foundry Base Token Info","description":"ERC-20 token info on Base mainnet from the chain: name, symbol, decimals, total supply, and whether the address is a contract at all. Input: 0x token address. Deterministic, no LLM, cheapest token lookup.","url":"https://minty-sprout.onrender.com/v1/base-token-info?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"input":{"type":"string","maxLength":8000,"description":"ERC-20 token contract address on Base, 0x + 40 hex characters"}}},"responseSchema":{"type":"json","example":{"name":"Brett","erc20":true,"symbol":"BRETT","address":"0x532f27101965dd16442E59d40670FaF5eBB142E4","network":"eip155:8453","decimals":18,"is_contract":true,"total_supply":9999997544.34}},"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_pWxOcUEq9gyJIJV3ms6Jm","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":"Looks up ERC-20 token metadata on Base mainnet (name, symbol, decimals, total supply, contract status) from a given token address.","exampleAgentPrompt":"Can you look up the token info for the Base mainnet contract at 0x532f27101965dd16442E59d40670FaF5eBB142E4 — I need its name, symbol, decimals, and total supply?","exampleUseCases":[{"title":"DeFi portfolio token identification","prompt":"I have this Base token address 0x532f27101965dd16442E59d40670FaF5eBB142E4 and I need to know its name, symbol, and how many decimals it uses so I can display it correctly in my portfolio tracker."},{"title":"Verify contract before trading","prompt":"Before I swap into this token, can you check whether 0x4200000000000000000000000000000000000006 on Base is actually a real ERC-20 contract and tell me its total supply?"},{"title":"On-chain data enrichment for token list","prompt":"I'm building a token list and need the full metadata — name, symbol, decimals, and total supply — for the Base mainnet address 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913. Can you fetch that from the chain?"}],"resultDescription":"Returns a JSON object with: token name, symbol, decimals, total supply (as a float), the address itself, the network identifier (eip155:8453), a boolean indicating whether it is an ERC-20, and a boolean indicating whether the address is a contract at all. If the address is not a contract, relevant fields will reflect that.","failureModes":["Invalid or malformed 0x address returns an error","Address exists but is an EOA (not a contract) — is_contract will be false, erc20 will be false","Address is a contract but not ERC-20 compliant — erc20 may be false","Base mainnet RPC unavailable causing lookup failure","Network timeout if Render cold-start is triggered"],"whenToPreferThis":"Choose this endpoint when you need fast, deterministic, on-chain ERC-20 metadata for Base mainnet tokens without any LLM overhead or price oracle complexity. It is the cheapest and most direct way to resolve a token address to its name, symbol, decimals, and supply on Base. Prefer it over generalist blockchain APIs when you specifically need Base mainnet data and want a simple, low-cost per-call model.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-01T06:45:14.427Z","isFirstParty":false,"canonicalSlug":"foundry-base-token-info-5b780f00"}