{"uid":"cap_mZBxiP5QlXdAtvRJSalnR","slug":"x402-base-tools-erc-20-token-info-5f76186a","name":"x402 Base Tools – ERC-20 Token Info","description":"Base mainnet data for agents, read live from the chain and paid per call in USDC: gas prices and costs, token prices from Uniswap and Aerodrome pools, balances, token info, transaction decoding, x402 payment checks, EIP-3009 authorization status, Basenames and address profiles. Lookups of things that do not exist are not charged.","url":"https://wt7tysfcmjm8fpzl.68r.lambda-web.us-east-1.on.aws/v1/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"],"type":"string"},"queryParams":{"type":"object","required":["token"],"properties":{"token":{"type":"string","description":"token address or symbol"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"name":{},"symbol":{},"address":{},"decimals":{},"total_supply":{}}}}}}},"responseSchema":{"type":"json","example":{"name":"USD Coin","symbol":"USDC","address":"0x8335...","decimals":6,"total_supply":"4000000000.000000"}},"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_3YCacailbyzbz4RuRxnk5","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 name, symbol, decimals, and total supply of any ERC-20 token on the Base blockchain, plus a Basescan link, given a token address or well-known symbol.","exampleAgentPrompt":"What are the name, symbol, decimals, and total supply of the USDC token on Base — and can you give me its Basescan link?","exampleUseCases":[{"title":"Verify unknown token contract","prompt":"I just got sent some tokens on Base to my wallet from address 0xd9aAEc86B65D86f6A7B5B1b0c42FFA531710b6CA — can you look up what token that actually is, its symbol, decimals, and total supply?"},{"title":"Build token metadata display","prompt":"I'm building a token info card for my DeFi dashboard — can you pull the full metadata for WETH on Base, including its contract address, decimals, total supply, and a link to Basescan?"},{"title":"Confirm total supply before trade","prompt":"Before I put in a big order, can you check the total supply and decimals for the cbBTC token on Base so I can calculate market cap?"}],"resultDescription":"A JSON object containing the token's canonical name, symbol, checksummed contract address on Base, number of decimal places, formatted total supply string, and a Basescan URL for the contract.","failureModes":["Unknown or unrecognized token symbol returns an error or empty result","Invalid Ethereum address format causes a bad request error","Token not deployed on Base (e.g. Ethereum mainnet token) returns no result","Network or Lambda timeout if Base RPC is slow","Payment not settled (x402) causes a 402 response before data is returned"],"whenToPreferThis":"Use this endpoint when you need canonical ERC-20 token metadata (name, symbol, decimals, total supply) specifically on the Base blockchain, and you have either a contract address or a well-known symbol. Prefer this over general Ethereum token APIs when the target chain is Base, and over price endpoints when you need supply/decimals rather than USD value.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T12:30:51.020Z","isFirstParty":false,"canonicalSlug":"x402-base-tools-erc-20-token-info-5f76186a"}