{"uid":"cap_wzEpelJZNLUqnHlwdbLK0","slug":"pyfile-toolkit-dex-token-price-liquidity-019fb558","name":"Pyfile Toolkit: DEX Token Price & Liquidity","description":"DEX token price and liquidity across chains. ?q=WETH or ?q=<token address>","url":"https://pyfile-agent.taile3ff35.ts.net:10000/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_ZF-ZbY2DyYdgNJZjx8g4b","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":"Fetches real-time DEX token price and liquidity data across multiple chains by token symbol or contract address","exampleAgentPrompt":"What's the current DEX price and liquidity for WETH across chains?","exampleUseCases":[{"title":"Real-time DeFi token price check","prompt":"What's the current on-chain price and liquidity for the token at address 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2 across DEXes?"},{"title":"Token symbol price lookup","prompt":"Look up the current DEX price and available liquidity for WETH right now."},{"title":"Arbitrage opportunity monitoring","prompt":"Get me the current DEX price and liquidity depth for USDC so I can compare it against centralized exchange rates."}],"resultDescription":"Returns real-time DEX price and liquidity information for the queried token, including current price, liquidity pool depth, and relevant chain data, sourced from decentralized exchanges across multiple chains.","failureModes":["Unknown or unrecognized token symbol returns empty or error response","Invalid contract address format causes a bad request error","Token with no DEX liquidity returns zero or null liquidity data","Network or upstream DEX data provider outage causes timeout or 503","Misspelled token symbol returns no results"],"whenToPreferThis":"Use this endpoint when you need real-time DEX-sourced token prices and liquidity data across multiple chains, particularly for DeFi workflows, arbitrage detection, portfolio valuation, or on-chain analytics. Prefer this over centralized exchange APIs when you need decentralized, on-chain pricing data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:36:26.738Z","isFirstParty":false}