{"uid":"cap_y_9BTMisZpg5T3ujhaDz3","slug":"desk-lead-x402-token-metadata-lookup-1de70199","name":"DESK LEAD x402 – Token Metadata Lookup","description":"Micropay research APIs (x402 v2 + bazaar). Free catalog at /.well-known/x402.json. Primary v2 accepts: Base eip155:8453 only. Legacy X-PAYMENT-TX still supports bsc|base via acceptsV1. Headers: X-PAYMENT-TX, X-PAYMENT-NETWORK, PAYMENT-SIGNATURE. No financial advice.","url":"https://desk-x402.desk-x402-gh.workers.dev/v1/token-meta","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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["token","network"],"properties":{"token":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$"},"network":{"enum":["bsc","base"],"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"ok":true,"meta":{"symbol":"USDC","decimals":18},"product":"token_meta"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_DxNIwESrvRu1TQtNV_xnu","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns ERC-20 token metadata (symbol, decimals) for a given token contract address on BSC or Base networks","exampleAgentPrompt":"What's the symbol and decimal precision for the token at 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 on Base?","exampleUseCases":[{"title":"Validate token before DeFi swap","prompt":"Before I execute this swap, can you confirm the symbol and decimals for the token at 0xdAC17F958D2ee523a2206206994597C13D831ec7 on BSC so I know I'm working with the right asset?"},{"title":"Enrich transaction history display","prompt":"I have a list of token contract addresses on Base — can you fetch the symbol and decimals for 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 so I can label it properly in my portfolio dashboard?"},{"title":"Decode raw on-chain transfer amount","prompt":"I see a raw token transfer of 1000000 units from a contract at 0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174 on BSC — what are its decimals so I can convert that to a human-readable amount?"}],"resultDescription":"A JSON object with an 'ok' boolean, a 'meta' object containing the token's symbol (e.g. 'USDC') and decimals (e.g. 18), and a 'product' field identifying the endpoint type as 'token_meta'.","failureModes":["Invalid or malformed contract address (not a valid 0x hex address) — likely returns an error or empty meta","Unsupported network (only 'bsc' and 'base' are accepted) — request will be rejected","Contract address exists but is not an ERC-20 token — metadata may be missing or incomplete","Payment not provided or invalid x402 payment headers — returns HTTP 402 Payment Required","Rate limiting or worker unavailability — returns 5xx error"],"whenToPreferThis":"Use this endpoint when you need fast, on-chain ERC-20 token metadata (symbol and decimals) for a specific contract address on BSC or Base, especially in micropayment-native agent workflows using x402. Prefer it over manual RPC calls when you want a simple REST interface without setting up a full blockchain node client.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:41:25.287Z","isFirstParty":false}