{"uid":"cap_8bMA3BSPEoTKijDa0mlTn","slug":"dripmetrics-ai-order-book-snapshot-5f2b6a84","name":"DripMetrics AI Order Book Snapshot","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. Snapshot bundles spread, micro-price, imbalance, depth-at-distance, concentration, and execution-impact from one shared book fetch, in a single call.","url":"https://api.dripmetrics.ai/orderbook/snapshot","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."},"side":{"enum":["buy","sell"],"type":"string","description":"Direction of the hypothetical order."},"sizeBtc":{"type":"number","maximum":50000,"minimum":0.001,"deprecated":true,"description":"Deprecated alias for sizeBase. Despite its name, it is interpreted as units of the selected pair's base asset."},"sizeBase":{"type":"number","maximum":50000,"minimum":0.001,"description":"Order size in units of the selected pair's base asset. Bounds: BTC 0.001-50, ETH 0.01-1000, SOL 0.1-50000. Provide exactly one of sizeBase, sizeBtc, or notionalUsd."},"bpsDistance":{"type":"number","default":50,"maximum":2000,"minimum":1,"description":"Distance from mid price, in basis points."},"depthLevels":{"type":"integer","default":10,"maximum":50,"minimum":1,"description":"Number of book levels per side to include."},"notionalUsd":{"type":"number","maximum":2000000,"minimum":10,"description":"Order size in USD notional. Provide exactly one of sizeBase, sizeBtc, or notionalUsd."}},"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.25","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.25/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.25","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.25","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_SQKQW5n-UtOlvlGVEs_oE","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.25","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches a fresh Binance order book snapshot and returns computed microstructure metrics including spread, micro-price, imbalance, depth-at-distance, concentration, and execution impact in a single call.","exampleAgentPrompt":"Pull a fresh order book snapshot for BTCUSDT and tell me the spread, imbalance, and how much slippage I'd face buying $50,000 worth — use 10 depth levels and look 50 bps from mid.","exampleUseCases":[{"title":"Pre-trade slippage check for large buy","prompt":"Before I place a buy order for 2 BTC, can you check the current Binance order book and estimate how much execution impact I'd face? Use 20 depth levels and check 100 bps out from mid."},{"title":"Real-time liquidity monitoring for ETH","prompt":"What does the ETH/USDT order book look like right now? I want the spread, micro-price, and imbalance — use the default 10 levels and 50 bps distance."},{"title":"Sell-side market impact for algorithmic trader","prompt":"I'm thinking of selling $200,000 of SOL — can you pull the current order book metrics for SOLUSDT on the sell side and tell me the concentration and depth at 100 bps from mid?"}],"resultDescription":"A structured JSON object containing the trading pair, a named metric string, a numeric value, a components breakdown (spread, micro-price, imbalance, depth-at-distance, concentration, execution-impact), sample size details, data source info, and an ISO 8601 computedAt timestamp — all derived from a single shared Binance depth snapshot fetch.","failureModes":["Unsupported trading pair returns a validation error — only BTCUSDT, ETHUSDT, and SOLUSDT are accepted","Providing both sizeBtc and notionalUsd simultaneously returns an error — exactly one must be provided","sizeBtc below 0.001 or above 50, or notionalUsd below $10 or above $2,000,000, fails schema validation","bpsDistance outside 1–2000 or depthLevels outside 1–50 returns parameter validation errors","x402 payment failure (insufficient USDC balance) results in 402 response with no data returned","Binance API unavailability may cause a downstream fetch failure"],"whenToPreferThis":"Choose this endpoint when you need a comprehensive snapshot of order book microstructure metrics for BTC, ETH, or SOL on Binance in a single call without managing subscriptions or API keys. It is ideal for pre-trade analysis, execution-impact estimation, and liquidity assessment because it bundles multiple computed metrics (spread, imbalance, depth, concentration, micro-price) from one shared book fetch. Prefer alternatives if you need tick-by-tick streaming data, historical order book data, or support for trading pairs beyond the three currently offered.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:47:26.297Z","isFirstParty":false}