{"uid":"cap_si4OKoFL5kSGyBH-W5a1S","slug":"dex-token-price-via-defillama-erc20-usd-price-feed-a1c6755f","name":"DEX Token Price via DefiLlama (ERC20 USD Price Feed)","description":"Current USD price for any ERC20 token aggregated across DEXs and price sources via DefiLlama, with confidence score, on EVM chains. token price, dex price, erc20 usd price, defi token value, onchain price feed, swap rate, token quote, coingecko alternative Accepts payment on Base or Solana — either network works.","url":"https://api.x402node.dev/chain/dex-price","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":["address"],"properties":{"chain":{"type":"string","description":"ethereum, base (default), arbitrum, optimism, polygon"},"token":{"type":"string","description":"ERC20 contract address (optional)"},"address":{"type":"string","description":"Token contract address (required)"}}}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_MyNKMAcZxHGpMRANKWKk0","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the current USD price for any ERC20 token aggregated across DEXs and price sources via DefiLlama, with a confidence score, on EVM-compatible chains.","exampleAgentPrompt":"What's the current USD price of USDC on Ethereum — and how confident is the price feed? Pull it from DEX sources via DefiLlama.","exampleUseCases":null,"resultDescription":"Returns the current USD price of the specified ERC20 token aggregated across DEXs and on-chain price sources via DefiLlama, along with a confidence score indicating the reliability of the aggregated price on the requested EVM chain.","failureModes":["Token address not found or not indexed by DefiLlama — returns null or error","Unsupported EVM chain — endpoint may return an error or empty result","Low liquidity token with no reliable DEX price — low confidence score or no result","Invalid token contract address format — validation error","Network timeout or upstream DefiLlama API unavailability"],"whenToPreferThis":"Use this endpoint when you need a reliable, aggregated USD price for any ERC20 token on EVM chains, especially when you want cross-DEX price aggregation with a confidence score. Prefer this over single-DEX price feeds when accuracy and breadth of price sources matter. Ideal for DeFi analytics, portfolio valuation, and on-chain token value lookups.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T13:04:35.320Z","isFirstParty":false}