{"uid":"cap_-j8FPelHQaUI95z_dOeHg","slug":"dripmetrics-ai-order-book-imbalance-6b1c8c8d","name":"DripMetrics AI Order Book Imbalance","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. Imbalance is (bid volume - ask volume) / (bid volume + ask volume) over the top depthLevels on each side.","url":"https://api.dripmetrics.ai/orderbook/imbalance","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.05","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_RO3GwoJMW_A4hQFQjCvSc","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes real-time BTC/USDT order book imbalance from Binance's live depth snapshot, returning a normalized metric of buy vs. sell pressure across configurable depth levels.","exampleAgentPrompt":"What's the current order book imbalance for BTCUSDT using the top 20 depth levels on each side — is there more buying or selling pressure right now?","exampleUseCases":[{"title":"Pre-trade directional bias check","prompt":"Before I place a BTC trade, can you pull the current order book imbalance for BTCUSDT across the top 15 levels and tell me whether buyers or sellers are dominating right now?"},{"title":"Algorithmic signal monitoring","prompt":"Every minute, grab the BTCUSDT order book imbalance from DripMetrics using 10 depth levels and alert me if the imbalance swings past 0.3 in either direction."},{"title":"Market microstructure research snapshot","prompt":"I'm studying BTC market microstructure — can you get me the order book imbalance metric for BTCUSDT at 50 depth levels and show me the raw components like bid volume, ask volume, and when it was computed?"}],"resultDescription":"A structured JSON object containing: the metric name ('orderbook_imbalance'), the trading pair (BTCUSDT), the normalized imbalance value between -1 and 1 (positive = bid-heavy, negative = ask-heavy), a components breakdown with bid and ask volumes, the number of depth levels sampled, the data source metadata, and a UTC timestamp of when the metric was computed.","failureModes":["Invalid depthLevels value outside 1-50 range returns a validation error","Only BTCUSDT is currently supported — other pairs return an error","Binance snapshot unavailable or stale may result in null value field","Payment not processed (x402 failure) returns 402 status before metric is computed","Network timeout from Binance upstream may delay or fail the response"],"whenToPreferThis":"Choose this endpoint when you need a single, normalized scalar metric summarizing BTC order book pressure without having to process raw depth data yourself. It is ideal for agents that want a quick directional signal (buy-side vs. sell-side dominance) computed fresh on-demand, without maintaining a WebSocket connection or subscription. Prefer this over raw exchange APIs when you want pay-per-use pricing with no API key management.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:42:54.454Z","isFirstParty":false}