{"uid":"cap_6eQCIQvnDlsABkY4r6vdP","slug":"x402engine-token-metadata-lookup-1974cee4","name":"x402engine Token Metadata Lookup","description":"Token/asset metadata — name, symbol, decimals, chain info","url":"https://x402engine.app/api/token/metadata","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":["chain","address"],"properties":{"chain":{"type":"string","example":"ethereum","description":"Chain name"},"address":{"type":"string","example":"0xdac17f958d2ee523a2206206994597c13d831ec7","description":"Token contract address"}},"additionalProperties":false}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_EwiYwMUI8KJ3qqH8xtyiu","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches on-chain token metadata (name, symbol, decimals, supply, etc.) for a given token contract address on a specified blockchain network.","exampleAgentPrompt":"Can you look up the token metadata for the contract at 0xdac17f958d2ee523a2206206994597c13d831ec7 on Ethereum — I need the name, symbol, and decimals?","exampleUseCases":[{"title":"Identify unknown token contract","prompt":"I found this contract address 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 on Ethereum — can you tell me what token it is, its symbol, and how many decimals it uses?"},{"title":"Validate token before DeFi swap","prompt":"Before I swap into this token, can you pull the on-chain metadata for 0x6B175474E89094C44Da98b954EedeAC495271d0F on Ethereum so I can confirm it's DAI and check its decimals?"},{"title":"Enrich token list with on-chain data","prompt":"I have a contract address on Base — 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 — can you fetch its token metadata so I know the name, symbol, and decimal precision?"}],"resultDescription":"Returns on-chain metadata for the specified token contract, typically including token name, symbol, decimal precision, total supply, and other contract-level details sourced directly from the blockchain.","failureModes":["Invalid or non-existent contract address returns an error or empty result","Unsupported chain name causes a validation error","Contract address is valid but not a token contract (e.g. a plain wallet or NFT contract) may return unexpected or empty metadata","Network timeouts or RPC node issues may cause intermittent failures","Payment failure (insufficient USDC balance) blocks the request"],"whenToPreferThis":"Use this endpoint when you need lightweight, pay-per-call on-chain token metadata without managing RPC infrastructure or API keys. Ideal for AI agents that need to resolve token contract addresses to human-readable metadata (name, symbol, decimals) across multiple chains, paid with USDC micropayments.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T12:59:48.783Z","isFirstParty":false}