{"uid":"cap_75UrnlCKGo6YODKfSFHmH","slug":"halowerk-marktwerk-order-book-imbalance-cfe172ae","name":"HALOWERK marktwerk — Order Book Imbalance","description":"HALOWERK marktwerk — bezahlte Endpunkte nach x402. Preise in USDC auf Base Mainnet.","url":"https://markt.netzhandwerker.de/orderbook/imbalance","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"venue":{"enum":["binance","coinbase","kraken","okx","bybit"],"type":"string","default":"binance","description":"Exchange to read the book from."},"levels":{"type":"integer","default":200,"maximum":1000,"minimum":50,"description":"Levels per side to request. Exchanges cap this differently."},"symbol":{"type":"string","pattern":"^[A-Za-z0-9]{2,15}/[A-Za-z0-9]{2,15}$","description":"Trading pair as BASE/QUOTE, for example ETH/USDC."},"depth_pct":{"type":"number","default":1,"maximum":5,"minimum":0.1,"description":"Half width of the window around the mid, in percent."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_nmRYIpN6HrFLtVmfoM2nO","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes bid/ask imbalance metrics from a live order book for a given trading pair on a specified exchange, within a configurable price window around the mid price.","exampleAgentPrompt":"What's the order book imbalance for ETH/USDC on Binance right now? Use 200 levels per side and a 1% depth window around the mid price.","exampleUseCases":[{"title":"Pre-trade directional bias check","prompt":"Before I place a large ETH/USDC buy on Binance, can you check the order book imbalance with 500 levels and a 2% depth window to see if there's more sell pressure than buy pressure right now?"},{"title":"Cross-exchange imbalance comparison","prompt":"Compare the order book imbalance for BTC/USDT on Kraken versus Bybit — use 200 levels and a 1% price window on both — I want to see where the book is more skewed toward buyers."},{"title":"Algorithmic trading entry signal","prompt":"I'm running a mean-reversion strategy on SOL/USDC on OKX. Can you pull the order book imbalance with 300 levels and a 0.5% depth window so I can decide whether to enter a long or short position?"}],"resultDescription":"Returns computed order book imbalance metrics for the specified trading pair and venue, including the volume of bids and asks within the configured price window around the mid, and a quantified imbalance ratio or score indicating directional skew.","failureModes":["Invalid or unsupported trading pair symbol (pattern mismatch) returns a validation error","Exchange venue not available or experiencing downtime returns an error","Depth levels outside the allowed range (50–1000) returns a validation error","depth_pct outside allowed range (0.1–5.0) returns a validation error","Payment not completed or USDC balance insufficient returns HTTP 402","Network timeout if the upstream exchange API is slow"],"whenToPreferThis":"Choose this endpoint when you need real-time order book imbalance specifically computed from live exchange data across major venues (Binance, Coinbase, Kraken, OKX, Bybit), with configurable depth and price window. Prefer it over generic market data APIs when you specifically need the bid/ask imbalance metric as a trading signal or for market microstructure analysis, especially in an x402 micropayment-enabled agent workflow where per-call billing is acceptable.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:36:52.519Z","isFirstParty":false}