{"uid":"cap_yxy_ZoWKA9Ke7PAFPyOf8","slug":"agentdiet-dex-liquidity-depth-oracle-f95f1bfa","name":"AgentDiet DEX Liquidity Depth Oracle","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-depth-oracle?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_t-DUVeZXjKplLesfoHs4H","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 DEX liquidity depth data for a specified token, returning market depth metrics via a pay-per-call oracle endpoint settling in USDC on Base.","exampleAgentPrompt":"Can you check the DEX liquidity depth for ETH using the AgentDiet liquidity oracle — I want to see how deep the market is on-chain right now?","exampleUseCases":[{"title":"Pre-trade liquidity check for DeFi swap","prompt":"Before I swap a large amount of USDC to WBTC, can you check the DEX liquidity depth for WBTC so I know if the market can absorb my order without too much slippage?"},{"title":"Token liquidity monitoring for a DeFi dashboard","prompt":"I'm building a DeFi monitoring tool — can you pull the current DEX liquidity depth for UNI token so I can display it on my dashboard?"},{"title":"Arbitrage opportunity analysis","prompt":"Can you fetch the liquidity depth data for LINK from the DEX liquidity oracle? I need to evaluate whether there's enough depth to run an arbitrage strategy profitably."}],"resultDescription":"Returns a JSON object with a 'data' field containing DEX liquidity depth metrics for the queried token, a 'status' field indicating success ('ok'), and an 'roi_proof' object with a compression_ratio_pct value (e.g. 91.4) indicating the data compression efficiency applied by the AgentDiet context distillation layer.","failureModes":["Missing or invalid 'token' query parameter returns empty or error data","Payment not settled in USDC on Base causes x402 payment-required rejection","Unsupported token symbol results in empty data object","Network or upstream DEX data unavailability causes non-ok status response","Malformed input schema (wrong type or method) results in validation error"],"whenToPreferThis":"Choose this endpoint when you need on-chain DEX liquidity depth data for a specific token in a pay-per-use model without a subscription, especially in agent-to-agent (A2A) or machine-to-machine (B2A) workflows that support x402 micropayment protocols settling in USDC on Base. Prefer it for lightweight, cost-efficient spot queries of token liquidity rather than bulk or streaming data needs.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:44:50.632Z","isFirstParty":false,"canonicalSlug":"agentdiet-dex-liquidity-depth-oracle-f95f1bfa"}