{"uid":"cap_mAHi2aTNtozUsTye_SSZT","slug":"dripmetrics-ai-order-book-concentration-01653df2","name":"DripMetrics AI Order Book Concentration","description":"DripMetricsAI (https://dripmetrics.ai/) provides on-demand order-book microstructure metrics computed fresh per request from Binance's public depth snapshot. Agents can pay per request via x402 and receive structured JSON metrics without subscriptions or API keys. Concentration is a Herfindahl index of how concentrated volume is within the top depthLevels on each side; higher means a thinner, more fragile book.","url":"https://api.dripmetrics.ai/orderbook/concentration","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","required":[],"properties":{"pair":{"enum":["BTCUSDT","ETHUSDT","SOLUSDT"],"type":"string","default":"BTCUSDT","description":"Binance-native pair. BTCUSDT, ETHUSDT, and SOLUSDT are supported."},"depthLevels":{"type":"integer","default":10,"maximum":50,"minimum":1,"description":"Number of book levels per side to include."}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["metric","pair","value","components","sampleSize","source","computedAt"],"properties":{"pair":{"enum":["BTCUSDT","ETHUSDT","SOLUSDT"],"type":"string"},"value":{"type":["number","null"]},"metric":{"type":"string"},"source":{"type":"object"},"components":{"type":"object"},"computedAt":{"type":"string","format":"date-time"},"sampleSize":{"type":"object"}},"additionalProperties":false}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.1","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.1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_yjuC9zHVm90tbmCG99814","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.1","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes a Herfindahl-index concentration metric for a crypto pair's order book, measuring how fragile or thin the top bid/ask levels are on Binance.","exampleAgentPrompt":"What's the order book concentration for BTCUSDT right now, looking at the top 20 levels per side? I want to know if the book is fragile or well-distributed.","exampleUseCases":[{"title":"Pre-trade liquidity fragility check","prompt":"Before I place a large BTC order, can you check the order book concentration for BTCUSDT across the top 15 levels — I need to know if the book is dangerously thin right now."},{"title":"ETH market microstructure monitoring","prompt":"Give me the current Herfindahl concentration score for the ETHUSDT order book using the top 10 depth levels — I'm tracking whether liquidity is getting more concentrated over time."},{"title":"SOL order book thinness alert","prompt":"Check the order book concentration for SOLUSDT on Binance using 25 depth levels — I want to know if volume is clustered at just a few price points, which would signal a fragile market."}],"resultDescription":"A structured JSON object containing the metric name ('concentration'), the trading pair, a numeric Herfindahl index value (higher = more concentrated/fragile book), detailed components breaking down bid and ask side data, sample size info, the data source metadata, and an ISO 8601 timestamp of when the metric was computed.","failureModes":["Unsupported pair requested (only BTCUSDT, ETHUSDT, SOLUSDT supported) — likely returns 400 or validation error","depthLevels out of range (must be 1–50) — schema validation failure","Binance depth snapshot temporarily unavailable — upstream fetch error","Payment not processed or insufficient USDC balance — x402 payment failure, request blocked","Rate limiting or network timeout if Binance public API is slow"],"whenToPreferThis":"Choose this endpoint when you need a single, interpretable scalar metric (Herfindahl index) for order book concentration on a specific Binance pair without maintaining a data subscription or API key. It's ideal for on-demand, per-request checks before trades, during volatility events, or for agent-driven monitoring workflows. Prefer it over raw order book feeds when you need a pre-computed fragility signal rather than raw depth data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:34:15.634Z","isFirstParty":false}