{"uid":"cap_c_Ev8p3W2Z8a9k5eioLIQ","slug":"dex-liquidity-depth-oracle-0332f4f4","name":"DEX Liquidity Depth Oracle","description":"Deterministic B2A/A2A/MCP/x402/MPP/L402 execution and intelligence node at https://mcp-gateway.agentdiet.dev settling in USDC on Base.","url":"https://mcp-gateway.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_LnQOEiqk0Z3CixPedVPql","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 on-chain DEX liquidity depth data for a specified token, delivered via a micropayment-gated x402 API settling in USDC on Base.","exampleAgentPrompt":"What's the current DEX liquidity depth for USDC? I want to know how deep the on-chain order book is before making a large swap.","exampleUseCases":[{"title":"Pre-trade liquidity check for large swap","prompt":"Before I swap 500,000 USDC worth of ETH on a DEX, can you check the current liquidity depth for ETH so I know if there's enough to avoid major slippage?"},{"title":"DeFi dashboard token liquidity monitoring","prompt":"I'm building a DeFi dashboard — can you pull the liquidity depth oracle data for WBTC so I can display how deep the on-chain market is for that token?"},{"title":"Arbitrage opportunity assessment","prompt":"I'm looking at a potential arbitrage trade on a DEX — can you fetch the liquidity depth for ARB token so I can figure out how much volume I can run through without moving the price too much?"}],"resultDescription":"Returns a JSON object with a 'data' field containing liquidity depth information for the queried token, a 'status' field ('ok' on success), and an 'roi_proof' object containing a compression_ratio_pct metric indicating data efficiency.","failureModes":["Missing or invalid token parameter returns empty or error data object","Payment failure (x402) if USDC payment on Base is not settled, blocking the response","Unknown token symbol returns empty data with status ok but no meaningful depth figures","Network or gateway timeout from the upstream MCP broker layer","Malformed input schema (missing required 'type' or 'method' fields) returns a validation error"],"whenToPreferThis":"Use this endpoint when you need on-chain DEX liquidity depth data for a specific token and are operating in an x402/micropayment-native agent environment settling on Base in USDC. Prefer this over CEX order book APIs when you need decentralized, on-chain market depth. Prefer over generic DeFi data aggregators when you need a single deterministic oracle call within an agent workflow at low per-call cost ($0.01 USDC).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:43:37.312Z","isFirstParty":false,"canonicalSlug":"dex-liquidity-depth-oracle-0332f4f4"}