{"uid":"cap_oYbUgLlRqRUJqrTiwPFvi","slug":"api-quantoracle-dev-1a7a0884","name":"QuantOracle Bollinger Bands Indicator","description":"QuantOracle: indicators/bollinger-bands","url":"https://api.quantoracle.dev/v1/indicators/bollinger-bands","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"prices":{"type":"array","items":{"type":"number"},"title":"Prices","minItems":5,"description":"Array of price data"},"window":{"type":"integer","title":"Window","default":20,"description":"Moving average window"},"num_std":{"type":"number","title":"Num Std","default":2,"description":"Number of standard deviations for bands"}}},"responseSchema":null,"example":{"request":{"prices":[44.34,44.09,44.15,43.61,44.33,44.83,45.1,45.15,43.61,44.33],"window":10,"num_std":2},"response":{"ms":17.31,"_meta":{"url":"https://quantoracle.dev","docs":"https://api.quantoracle.dev/docs","powered_by":"QuantOracle"},"price":44.33,"signal":"NEUTRAL","bandwidth":4.8811,"percent_b":0.4889,"lower_band":43.27,"upper_band":45.44,"middle_band":44.35,"squeeze_signal":false}},"exampleRequest":{"prices":[44.34,44.09,44.15,43.61,44.33,44.83,45.1,45.15,43.61,44.33],"window":10,"num_std":2},"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_JZBa37Yp-2TbLAjll3MM9","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes Bollinger Bands (upper, middle, lower bands), bandwidth, %B, and trading signal for a given price series","exampleAgentPrompt":"Calculate Bollinger Bands for these 10 closing prices [44.34, 44.09, 44.15, 43.61, 44.33, 44.83, 45.10, 45.15, 43.61, 44.33] using a 10-period window and 2 standard deviations — tell me the upper, middle, and lower bands, the %B value, bandwidth, and whether there's a squeeze or a buy/sell/neutral signal.","exampleUseCases":null,"resultDescription":"Returns upper, middle, and lower band values, the current price, %B (percent_b) indicating where price sits within the bands, bandwidth as a volatility measure, a trading signal (BUY/SELL/NEUTRAL), a squeeze_signal boolean indicating low-volatility compression, and computation latency in milliseconds.","failureModes":["Insufficient price data: fewer prices provided than the window size causes an error","Invalid window or num_std values (e.g. zero or negative) return a validation error","Empty or malformed prices array returns a 400 bad request","Network timeout if the service is temporarily unavailable"],"whenToPreferThis":"Use this endpoint when you need a complete Bollinger Bands computation including all derived signals (%B, bandwidth, squeeze detection, and directional signal) in a single call. Prefer this over rolling your own calculation when you need a fast, paid, reliable API that also returns an actionable BUY/SELL/NEUTRAL signal alongside the raw band values.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:47:34.582Z","isFirstParty":false}