{"uid":"cap_VxV0GNMcid9P5uu9CsDjW","slug":"api-quantoracle-dev-25c28767","name":"QuantOracle Indicators Regime","description":"QuantOracle: indicators/regime","url":"https://api.quantoracle.dev/v1/indicators/regime","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"prices":{"type":"array","items":{"type":"number"},"title":"Prices","minItems":30,"description":"Array of price data"},"sma_period":{"type":"integer","title":"Sma Period","default":50,"description":"SMA period for trend detection"},"vol_window":{"type":"integer","title":"Vol Window","default":21,"description":"Window for rolling volatility calculation"}}},"responseSchema":null,"example":{"request":{"input":{"body":{"prices":[100,101.5,103,102,100.5,99,97,98.5,100,101,103,105,107,108,110,112,114,113,115,117,119,118,116,117,119,121,120,118,117,119,121,123,125,124,122,120,121,123,125,127,126,124,123,125,127,129,128,126,125,127],"sma_period":50,"vol_window":21},"type":"http","method":"POST","bodyType":"json"}},"response":{"ms":10.29,"sma":115.63,"_meta":{"url":"https://quantoracle.dev","docs":"https://api.quantoracle.dev/docs","powered_by":"QuantOracle"},"trend":"UPTREND","long_vol":0.2256,"composite":"RISK_ON","vol_ratio":0.9952,"recent_vol":0.2245,"vol_regime":"NORMAL","price_vs_sma":0.0983}},"exampleRequest":{"prices":[100,101.5,103,102,100.5,99,97,98.5,100,101,103,105,107,108,110,112,114,113,115,117,119,118,116,117,119,121,120,118,117,119,121,123,125,124,122,120,121,123,125,127,126,124,123,125,127,129,128,126,125,127],"sma_period":50,"vol_window":21},"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_xWPuJ2Wmwx7M1wD3cZdka","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Detects and labels the current market regime (e.g. trending, mean-reverting, volatile) from a time-series of price or return data","exampleAgentPrompt":"What market regime is BTC/USD currently in? Give me the regime label and confidence score based on the last 90 days of daily close prices — I want to know if we're trending, mean-reverting, or in a high-volatility breakout state.","exampleUseCases":null,"resultDescription":"Returns a structured object containing the detected regime label (e.g. 'trending', 'mean-reverting', 'volatile', 'neutral'), a numeric regime score or confidence value, and potentially supporting indicator values used to derive the classification.","failureModes":["Insufficient data points in the input series — returns 422 or validation error","Unsupported regime type or indicator parameter — returns 400 bad request","Empty or malformed price array — returns 400 with schema validation error","Service unavailable or timeout — returns 503","Payment not provided or insufficient — returns 402 payment required"],"whenToPreferThis":"Choose this endpoint when you need a quantitative, model-driven classification of the current market regime from raw price or return data, particularly for algorithmic trading signals, strategy switching, or risk management. Prefer this over the sibling regime-classify endpoint if you need raw indicator computation rather than a pure classification label. Best suited for time-series inputs where you want a structured regime score alongside the label.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:50:30.607Z","isFirstParty":false}