{"uid":"cap_kF900e3U1o9G1N9HWuDYh","slug":"dex-token-price-liquidity-lookup-105211de","name":"DEX Token Price & Liquidity Lookup","description":"DEX token price and liquidity across chains. ?q=WETH or ?q=<token address>","url":"https://pyfile-agent.taile3ff35.ts.net/data/onchain/token","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","properties":{"q":{"type":"string"}}}}},"output":{"type":"object"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm__NQOF4aPqTxYsSWkiTI51","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns real-time DEX price and liquidity data for a token by symbol or contract address, across multiple chains","exampleAgentPrompt":"What's the current on-chain DEX price and liquidity for WETH right now?","exampleUseCases":[{"title":"Pre-trade token price check","prompt":"Before I swap, can you look up the current DEX price and liquidity for WETH so I know what to expect on-chain?"},{"title":"Unknown token contract research","prompt":"I have this token contract address 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 — can you pull its current DEX price and liquidity across chains?"},{"title":"DeFi arbitrage opportunity scan","prompt":"Check the on-chain DEX price and liquidity depth for UNI right now — I want to see if there's a spread worth acting on."}],"resultDescription":"Returns DEX market data for the queried token including current price, liquidity depth, trading volume, and relevant cross-chain data from decentralized exchange sources","failureModes":["Unknown or unrecognized token symbol returns empty or error result","Invalid contract address format causes a bad request response","Token exists on-chain but has no DEX liquidity, returning null or zero values","Network congestion or RPC issues may cause stale or delayed data","Missing required 'q' query parameter returns an error"],"whenToPreferThis":"Use this endpoint when you need real-time, on-chain DEX price and liquidity data for a token — especially when you have a contract address or symbol and need cross-chain DEX market data rather than centralized exchange prices. Prefer this over CEX price APIs when the token may not be listed on major centralized exchanges or when on-chain liquidity context is critical.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T13:06:50.056Z","isFirstParty":false}