{"slug":"markt-halowerk-com-orderbook-imbalance-dbe894","title":"Reads the visible order book of one exchange and measures how bid and ask volume","host":"markt.halowerk.com","method":"POST","resource":"https://markt.halowerk.com/orderbook/imbalance","category":"code","description":"Reads the visible order book of one exchange and measures how bid and ask volume sit inside a window of depth_pct around the mid. imbalance runs from -1 (only asks) to +1 (only bids) and is computed on quote turnover, not on level counts. pressure is the plain classification kauf, verkauf or ausgegl","price_listed":0.003,"price_asked":0.003,"state":"answering","state_label":"Answering","checks_7d":4,"answered_7d":4,"latency_ms_median":1199,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"symbol":"BTC/USDT"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"depth_pct":{"default":1,"description":"Half width of the window around the mid, in percent.","maximum":5,"minimum":0.1,"type":"number"},"levels":{"default":200,"description":"Levels per side to request. Exchanges cap this differently.","maximum":1000,"minimum":50,"type":"integer"},"symbol":{"description":"Trading pair as BASE/QUOTE, for example ETH/USDC.","pattern":"^[A-Za-z0-9]{2,15}/[A-Za-z0-9]{2,15}$","type":"string"},"venue":{"default":"binance","description":"Exchange to read the book from.","enum":["binance","coinbase","kraken","okx","bybit"],"type":"string"}},"required":["symbol"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-11-26","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1186,"error":null},{"day":"2026-11-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1193,"error":null},{"day":"2026-11-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1223,"error":null},{"day":"2026-11-23","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1206,"error":null}],"description_full":"Reads the visible order book of one exchange and measures how bid and ask volume sit inside a window of depth_pct around the mid. imbalance runs from -1 (only asks) to +1 (only bids) and is computed on quote turnover, not on level counts. pressure is the plain classification kauf, verkauf or ausgeglichen and the threshold behind it is returned in thresholds_used, never hidden in code. A wall is a level larger than five times the median level size in the same window; that median is part of the an","last_updated":"2026-11-23T10:32:48.173Z","schemes":["exact"]}