{"uid":"cap_A6BcADTpe7fmylg9ucpvk","slug":"x402-gateway-production-up-railway-app-e80fef09","name":"Token/Asset Metadata Lookup","description":"Token/asset metadata — name, symbol, decimals, chain info","url":"https://x402-gateway-production.up.railway.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":{"request":{"chain":"ethereum","address":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"},"response":{"_truncated":true,"_originalSize":37812}},"exampleRequest":{"chain":"ethereum","address":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"},"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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_zNW2hDBJ5sdDR8MRtG3B3","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":"Returns metadata for a crypto token or asset — including name, symbol, decimals, and chain info — given an identifier.","exampleAgentPrompt":"Can you look up the metadata for the token at contract address 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 on Ethereum — I need its name, symbol, and how many decimals it uses.","exampleUseCases":null,"resultDescription":"Returns structured metadata for the specified token including its human-readable name (e.g. 'USD Coin'), ticker symbol (e.g. 'USDC'), number of decimals (e.g. 6), and chain/network information.","failureModes":["Unknown or invalid contract address returns 404 or empty result","Unsupported chain ID returns an error","Malformed address format causes a 400 bad request","Token not indexed on the gateway returns no metadata","Network timeout or gateway downtime returns 5xx"],"whenToPreferThis":"Use this endpoint when you need to resolve human-readable token metadata (name, symbol, decimals) from a contract address or token identifier, especially within agentic workflows that need to display or process token info before executing a DeFi operation or payment.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:34:28.325Z","isFirstParty":false}