{"uid":"cap_-zA6guR6HyC9yqpiX0uHb","slug":"agentdiet-dex-liquidity-lookup-97cf361d","name":"AgentDiet DEX Liquidity Lookup","description":"Deterministic B2A/A2A/MCP/x402/MPP/L402 execution and intelligence node at https://rag-diet.agentdiet.dev settling in USDC on Base.","url":"https://rag-diet.agentdiet.dev/v1/dex-liquidity?utm_source=zero.xyz","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","POST"],"type":"string"},"queryParams":{"type":"object","properties":{"token":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"data":{},"status":"ok","roi_proof":{"compression_ratio_pct":91.4}}},"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_f-Ha5nyS91z31jisHQ_2b","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":"Fetches decentralized exchange liquidity data for a specified token, paid via x402 micropayment in USDC on Base.","exampleAgentPrompt":"Can you check the DEX liquidity for USDC on AgentDiet right now — I need to know how deep the on-chain liquidity pools are for that token?","exampleUseCases":[{"title":"Token liquidity check before trade","prompt":"Before I swap into this token, can you pull the current DEX liquidity data for ETH so I can see how deep the pools are and whether a large trade would cause significant slippage?"},{"title":"DeFi research on new token listing","prompt":"I'm researching a newly listed token with symbol ARB — can you fetch its DEX liquidity stats so I can see if there's enough on-chain liquidity for it to be worth trading?"},{"title":"Monitoring pool depth for arbitrage","prompt":"Pull the current DEX liquidity figures for WBTC so I can evaluate whether there's enough pool depth to run an arbitrage strategy across exchanges right now."}],"resultDescription":"Returns a JSON object with a 'data' field containing DEX liquidity metrics for the queried token, a 'status' field ('ok' on success), and an 'roi_proof' object showing a compression_ratio_pct (e.g. 91.4) indicating how much the context was compressed during processing.","failureModes":["Missing or invalid 'token' query parameter returns an error or empty data object","Payment failure via x402 protocol results in 402 Payment Required response","Unsupported token symbol or address returns empty or null liquidity data","Network or Base chain connectivity issues may cause delayed or failed responses","Rate limiting if too many requests are made in a short window"],"whenToPreferThis":"Choose this endpoint when you need on-chain DEX liquidity data for a specific token and are operating in an agent pipeline that supports x402 micropayments in USDC on Base. It is well-suited for DeFi agents that need quick, per-call liquidity lookups without a subscription, and for workflows where context compression (token diet) and deterministic B2A/A2A execution are valued.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:44:13.201Z","isFirstParty":false,"canonicalSlug":"agentdiet-dex-liquidity-lookup-97cf361d"}