{"uid":"cap_MzO4BSbKTXdmJQjby34vf","slug":"perpetual-market-liquidity-risk-profiler-a5c1dee3","name":"Perpetual Market Liquidity-Risk Profiler","description":"Pay-per-call analytics on live perpetual-futures microstructure: what it costs to execute a size, what it costs to hold a position, and how much liquidity a market really has. USDC via x402 on Base, no account and no API key. Each response states the limit of its own instrument rather than implying none.","url":"https://x402.presenceoperations.com/services/liquidity-risk?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["market"],"properties":{"market":{"type":"string","pattern":"^[A-Z0-9]{1,16}-PERP$","description":"the perpetual market to profile, upper-cased before matching, for example BTC-PERP"}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object"}}},"responseSchema":{"type":"json","example":{"depth":[],"caveat":"","detail":"","market":"","midPrice":"","openInterest":"","levelsVisible":{},"bookObservedAt":"","dayNotionalVolume":"","spreadBasisPoints":0,"imbalanceBasisPoints":0,"topLevelConcentrationAskBasisPoints":0,"topLevelConcentrationBidBasisPoints":0}},"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_WsnUjh_8XwBNQhO8gixk1","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 a full liquidity-risk profile for a named perpetual market: absorbable notional at four slippage tolerances on both sides, bid-ask spread, book imbalance, top-of-book concentration, open interest, and day volume — with explicit book-depth limits on every response.","exampleAgentPrompt":"What's the current liquidity-risk profile for BTC-PERP — show me the spread, book imbalance, top-of-book concentration, and how much notional the visible book can absorb at each slippage level?","exampleUseCases":[{"title":"Pre-trade slippage check for large order","prompt":"Before I send a $500K buy on ETH-PERP, tell me how much the book can absorb at 5, 10, 25, and 50 bps slippage on the ask side, and what the current spread looks like."},{"title":"Automated liquidity monitoring for risk dashboard","prompt":"Pull the liquidity-risk profile for BTC-PERP right now — I need the spread, imbalance, open interest, and day volume to update my risk dashboard."},{"title":"Comparing market depth across perpetuals","prompt":"I want to compare how liquid SOL-PERP is versus AVAX-PERP — can you get the absorbable notional at each slippage tolerance and the top-of-book concentration for both?"}],"resultDescription":"A JSON object containing: depth array with absorbable notional at four slippage tolerances on both bid and ask sides; spread in basis points; book imbalance in basis points; top-of-book concentration on both bid and ask sides in basis points; mid price; open interest; day notional volume; book observation timestamp; levels visible (explicit limits of the visible book); and caveat/detail fields noting any limitations or caveats on the data.","failureModes":["Invalid market symbol format (must match ^[A-Z0-9]{1,16}-PERP$) returns a 400-level error","Market not found or not supported returns an error or empty depth response","Stale book data — timestamp in bookObservedAt may lag real market conditions","Thin book — levelsVisible may be low, limiting slippage profile accuracy; caveat field will note this","Payment failure (x402 protocol) — 402 response if payment not provided or insufficient"],"whenToPreferThis":"Use this endpoint when you need a structured, multi-dimensional liquidity-risk snapshot of a specific perpetual market — particularly when you need absorbable notional at multiple slippage tolerances simultaneously along with spread, imbalance, and concentration metrics in a single call. Prefer this over sibling endpoints when you need a broad risk profile rather than a point execution cost estimate (use the execution-cost sibling for that) or funding rate data. Ideal for pre-trade risk assessment, risk dashboards, and liquidity comparisons across markets.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T06:47:00.089Z","isFirstParty":false,"canonicalSlug":"perpetual-market-liquidity-risk-profiler-a5c1dee3"}