{"uid":"cap_MIX-EWKp9TATPNq50Jc7x","slug":"token-price-by-contract-address-defillama-batch-77379437","name":"Token Price by Contract Address (DefiLlama, Batch)","description":"Token price by contract address on any chain (DefiLlama coins), batch up to 20. 0.01 USDC/call on Base.","url":"https://task-radar-x402.vercel.app/api/token-price?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":{"const":"http"},"method":{"const":"GET"},"queryParams":{"type":"object","properties":{"tokens":{"type":"string","description":"Comma-separated chain:address, e.g. base:0x8335...,ethereum:0xA0b8..."}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_HbIk6JGuAOcmKfiMbs8Di","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns current token prices for up to 20 tokens identified by chain:address pairs, sourced from DefiLlama coins data.","exampleAgentPrompt":"What's the current USD price of WETH on Ethereum (0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2) and USDC on Base (0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913)?","exampleUseCases":[{"title":"Portfolio token valuation","prompt":"Can you get me the current USD prices for these tokens: WETH on Ethereum at 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2, USDC on Base at 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913, and ARB on Arbitrum at 0x912CE59144191C1204E64559FE8253a0e49E6548?"},{"title":"Arbitrage price comparison across chains","prompt":"Look up the current price of USDT on both Ethereum (0xdAC17F958D2ee523a2206206994597C13D831ec7) and Optimism (0x94b008aA00579c1307B0EF2c499aD98a8ce58e58) so I can compare them."},{"title":"DeFi bot token price feed","prompt":"Fetch the latest prices for these five DeFi tokens by their contract addresses on Base and Ethereum — I need them all in one shot: base:0x8335..., ethereum:0xA0b8..., ethereum:0x6B17..., base:0x4200..., ethereum:0xdAC1..."}],"resultDescription":"Returns a mapping of each chain:address token to its current USD price as sourced from DefiLlama's coins dataset, supporting up to 20 tokens per request.","failureModes":["Invalid or unrecognized contract address returns no price for that token","Unsupported chain identifier results in lookup failure for that token","Exceeding 20 tokens per batch may result in an error or partial response","Payment failure (insufficient USDC balance on Base) blocks the request","Network or DefiLlama upstream outage may result in stale or unavailable prices"],"whenToPreferThis":"Use this endpoint when you need current USD prices for one or more tokens identified by contract address across any EVM-compatible (or supported) chain, especially when you need to batch up to 20 lookups in a single paid API call. Prefer this over CoinGecko-based or symbol-based lookups when you have exact contract addresses and need reliable DeFi-native pricing from DefiLlama.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:38:54.306Z","isFirstParty":false,"canonicalSlug":"token-price-by-contract-address-defillama-batch-77379437"}