{"uid":"cap_4sTMrlCakZxVKWb_DnY7q","slug":"token-price-live-dex-price-for-any-token-contract-57c38226","name":"Token Price — Live DEX Price for Any Token Contract","description":"Live USD price for any ERC-20 token contract address (Base, Ethereum, BSC, Arbitrum, Polygon): price, 24h change, liquidity, 24h volume, FDV and the deepest trading pair, from Dexscreener. Also accepts a ticker symbol and resolves it via CoinGecko. Use before quoting, routing or sizing a swap.","url":"https://api.gadgethumans.com/token-price?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"input":{"type":"object","properties":{"queryParams":{"type":"object","required":["address"],"properties":{"address":{"type":"string","description":"ERC-20 contract address, or a ticker symbol"}}}}},"output":{"type":"object","properties":{"example":{"ok":true}}}}},"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_hSeWiSbsZPasU3ERxGq30","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 real-time USD price, 24h change, liquidity, volume, FDV, and deepest trading pair for any ERC-20 token contract address or ticker symbol, sourced from Dexscreener and CoinGecko.","exampleAgentPrompt":"What's the current USD price, 24h change, and liquidity for the token at contract address 0x4ed4E862860beD51a9570b96d89aF5E1B0Efefed on Base? I need it before I size a swap.","exampleUseCases":[{"title":"Pre-swap token price check","prompt":"Before I swap, what's the live USD price and 24h volume for the token at 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 on Base? I want to make sure there's enough liquidity."},{"title":"Ticker symbol price lookup","prompt":"What's the current price of PEPE right now — including its 24h change, liquidity, and FDV from the DEX?"},{"title":"Token routing price comparison","prompt":"I'm about to route a trade through Arbitrum — can you pull the live DEX price, deepest trading pair, and 24h volume for contract 0xFF970A61A04b1cA14834A43f5dE4533eBDDB5CC2?"}],"resultDescription":"A JSON object containing the live USD price, 24h percentage price change, available liquidity in USD, 24h trading volume, fully diluted valuation (FDV), and the identifier of the deepest trading pair for the queried token, sourced from Dexscreener. If a ticker symbol is provided, it is first resolved to a contract address via CoinGecko.","failureModes":["Unknown or unlisted contract address returns no price data","Ticker symbol not found on CoinGecko results in resolution failure","Token exists but has no DEX liquidity, returning null/zero values","Unsupported chain or non-ERC-20 address causes lookup failure","Rate limiting or upstream Dexscreener/CoinGecko outage returns error"],"whenToPreferThis":"Use this endpoint when you need real-time DEX-sourced token prices (not centralized exchange prices) for ERC-20 tokens across Base, Ethereum, BSC, Arbitrum, or Polygon — especially before quoting, routing, or sizing a swap. Prefer it over CoinGecko-only endpoints when you also need liquidity depth, trading pair info, and 24h DEX volume in a single call. Also ideal when you have a contract address rather than a ticker symbol.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-22T12:37:39.257Z","isFirstParty":false,"canonicalSlug":"token-price-live-dex-price-for-any-token-contract-57c38226"}