{"uid":"cap_cDq68m2MUPO8QGGYwWHV-","slug":"baselens-token-info-368a0ae3","name":"BaseLens Token Info","description":"Base address, ERC-20 balance, token price, recent transfers, Basename/ENS resolve, contract verification, tx summaries and gas over x402 and MCP. $0.001–$0.004 USDC per call, no API key.","url":"https://baselens-api.vercel.app/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 contract on Base"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"name":"USD Coin","notes":["Upgradeable proxy…"],"token":"0x8335…2913","symbol":"USDC","decimals":6,"totalSupply":"4000000000","proxyImplementation":"0x…"}},"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_eTAM17E0yJNeTNcW4S44b","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":"Fetches ERC-20 token metadata on Base including name, symbol, decimals, total supply, and proxy implementation details for a given contract address.","exampleAgentPrompt":"Can you look up the on-chain token metadata for the contract 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 on Base — I need the name, symbol, decimals, total supply, and whether it's a proxy contract?","exampleUseCases":[{"title":"Identify unknown Base token contract","prompt":"I found this contract address on Base: 0xd9aAEc86B65D86f6A7B5B1b0c42FFA531710b6CA — can you tell me what token it is, its symbol, how many decimals it uses, and what the total supply is?"},{"title":"Verify proxy implementation of stablecoin","prompt":"Check the token metadata for USDC on Base (0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913) and confirm whether it's an upgradeable proxy — if so, what's the implementation address?"},{"title":"Enrich DeFi dashboard with token details","prompt":"For the token at contract address 0x4200000000000000000000000000000000000006 on Base, fetch its full on-chain metadata including name, symbol, decimals, and total supply so I can display it in my portfolio tracker."}],"resultDescription":"A JSON object containing the token's name, symbol, decimals, total supply (as a string), the contract address, any notable notes (e.g. upgradeable proxy warnings), and the proxy implementation address if applicable.","failureModes":["Invalid or non-ERC-20 contract address returns an error or empty result","Contract address not deployed on Base returns a 404 or error response","Malformed address string causes a validation error","Payment failure via x402 protocol results in a 402 response blocking data access","Rate limiting or network issues on Vercel hosting cause intermittent failures"],"whenToPreferThis":"Choose this endpoint when you need lightweight, pay-per-call ERC-20 token metadata lookups on the Base network without managing API keys or subscriptions. It is ideal for AI agents needing on-demand token info (name, symbol, decimals, supply, proxy details) at low cost ($0.003 USDC) via x402 micropayments. Prefer it over full blockchain node queries or heavier indexing APIs when you only need token metadata and want frictionless access.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-04T13:57:58.006Z","isFirstParty":false,"canonicalSlug":"baselens-token-info-368a0ae3"}