{"uid":"cap_yuJv5Yc1JDPmxToaYLqQ8","slug":"erc20-token-usd-price-with-24h-change-via-dex-aware-indexer-6175a098","name":"ERC20 Token USD Price with 24h Change via DEX-Aware Indexer","description":"ERC20 token USD price with 24 hour percent change and the source exchange, by contract address and chain, from an indexed DEX-aware price source behind an API key. Live token price with change. token price, erc20 usd price, 24h change, dex price, token quote Accepts payment on Base or Solana — either network works.","url":"https://api.x402node.dev/token/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":"default ethereum"},"address":{"type":"string","description":"token contract 0x..."}}}},"additionalProperties":false}}},"responseSchema":null,"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_Cxj-Gz-6a99XoGn1GAVa8","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 the current USD price, 24-hour percent change, and source exchange for any ERC20 token identified by contract address and chain, sourced from an indexed DEX-aware price feed.","exampleAgentPrompt":"What's the current USD price and 24-hour percent change for the ERC20 token at contract address 0x6B175474E89094C44Da98b954EedeAC495271d0F on Ethereum mainnet, and which exchange is being used to price it?","exampleUseCases":null,"resultDescription":"Returns the current USD price of the ERC20 token, its 24-hour percentage price change, and the name of the source DEX or exchange used to derive the price.","failureModes":["Invalid or unrecognized contract address returns an error or empty result","Unsupported chain ID returns a 400 or 404 error","Token not indexed by the DEX price source returns no price data","Missing required parameters (contract address or chain) returns a validation error","API key absent or invalid returns a 401/402 authentication error","Very low liquidity tokens may have stale or unreliable price data"],"whenToPreferThis":"Use this endpoint when you need a fast, DEX-aware USD price for a specific ERC20 token identified by contract address and chain, especially when you also want the 24-hour price change and the source exchange in a single call. Prefer this over generic CeFi price APIs when the token is primarily traded on decentralized exchanges or when the contract address (not ticker symbol) is your primary identifier.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T13:04:50.360Z","isFirstParty":false}