{"uid":"cap_rZd9hIjHf-PhJMrKRf3Xs","slug":"squeezeos-order-flow-imbalance-signal-5a64a2a3","name":"SqueezeOS Order Flow Imbalance Signal","description":"SCRIPTMASTERLABS SqueezeOS: agent-native APIs, MCP discovery, verifiable x402 payments, market intelligence, and machine-commerce infrastructure. Truth First. Proof Always. Pay Only for Accepted Delivery.","url":"https://squeezeos-api.onrender.com/v1/market/orderflow-imbalance","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"source":{"type":"string"},"buy_volume":{"type":"number"},"observed_at":{"type":"string"},"sell_volume":{"type":"number"}}},"responseSchema":{"type":"json","example":{"result":{"imbalance":0.111111},"status":"accepted_delivery"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_nnNXxawIavnib-5YK3N6B","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes and returns an order flow imbalance signal from buy and sell volume inputs for AI-driven crypto market intelligence.","exampleAgentPrompt":"Calculate the order flow imbalance right now using a buy volume of 84500 and a sell volume of 61200 observed at 2025-01-15T14:30:00Z from the Binance feed — I need to see whether buyers or sellers are dominating.","exampleUseCases":[{"title":"Pre-trade directional bias check","prompt":"Before I enter a BTC position, calculate the order flow imbalance using the last 5-minute candle data: buy volume is 120000 and sell volume is 95000 observed at 2025-07-10T09:15:00Z from the Coinbase feed — tell me if buyers are dominating."},{"title":"Algorithmic strategy signal input","prompt":"My algo needs an order flow imbalance score right now — buy volume is 47300 and sell volume is 68900 from the Kraken source observed at 2025-07-10T12:00:00Z. Feed that into SqueezeOS and return the imbalance signal."},{"title":"Market pressure monitoring for risk desk","prompt":"Run an order flow imbalance check on ETH using buy volume 230000 and sell volume 215000, observed at 2025-07-10T16:45:00Z from the Binance source, and tell me if there's significant selling pressure building up."}],"resultDescription":"Returns a JSON object containing the computed order flow imbalance metric derived from the provided buy and sell volumes, indicating the directional pressure or asymmetry in market order flow. The response schema is open-ended and may include additional AI-derived market intelligence fields.","failureModes":["Missing required buy_volume or sell_volume fields returns a 400 validation error","Non-numeric volume values cause schema rejection","Payment not included or invalid causes 402 Payment Required response","Service may be unavailable or cold-starting on Render free tier, causing timeout or 503","Invalid observed_at timestamp format may cause processing errors","Extremely large or zero volume values may yield undefined or edge-case signals"],"whenToPreferThis":"Choose this endpoint when you need a fast, pay-per-call order flow imbalance computation from raw buy/sell volume data for crypto market microstructure analysis. It is best suited for agents that already have volume data and need an AI-scored imbalance metric without maintaining their own quantitative infrastructure. Prefer it over general market data APIs when you specifically need order flow pressure signals rather than price feeds or OHLCV data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:56:04.093Z","isFirstParty":false}