{"uid":"cap_nhFBZ8bieqeWoYLzLGOwB","slug":"api-stocktrends-com-e46636a3","name":"Stock Trends Market Regime Latest","description":"Current market regime classification derived from the distribution of Stock Trends trend codes across active signals.","url":"https://api.stocktrends.com/v1/market/regime/latest","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":[],"properties":{},"additionalProperties":false}},"additionalProperties":false},"title":{"type":"string"},"family":{"type":"string"},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string","const":"json"},"format":{"type":"string"},"example":{}},"description":"Current regime classification and aggregate signal distribution.","additionalProperties":true},"category":{"type":"string"},"schemaUrl":{"type":"string"},"description":{"type":"string"},"metadataUrl":{"type":"string"},"tools_manifest":{"type":"string"},"pricing_catalog":{"type":"string"}},"additionalProperties":true},"responseSchema":null,"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{}},"title":"Get Current Market Regime","family":"market_data","output":{"type":"json"},"category":"market_analysis","description":"Retrieve the current market regime classification based on Stock Trends trend code distribution"},"response":{"regime":"mixed","avg_rsi":90.26,"weekdate":"2026-06-05","avg_mt_cnt":28.84,"confidence":"low","bearish_pct":0.4385,"bullish_pct":0.4083,"regime_score":-0.0302,"signal_count":8614}},"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.15","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.15/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.15","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.15","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_GwwpfkCloQzqMM0vT89s8","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.15","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the current market regime classification derived from the distribution of Stock Trends trend codes across active signals.","exampleAgentPrompt":"What is the current Stock Trends market regime classification — tell me what regime we're in right now based on the distribution of trend codes across active signals.","exampleUseCases":[{"title":"Portfolio allocation decision support","prompt":"Check what the current market regime is right now using Stock Trends — I need to know if we're in a bullish or bearish environment before rebalancing our portfolio allocations."},{"title":"Risk management regime monitoring","prompt":"Pull the latest market regime classification from Stock Trends so I can determine if we should be in risk-on or risk-off mode for our trading strategy today."},{"title":"Signal screening environment context","prompt":"Get me the current Stock Trends market regime and the aggregate trend code distribution — I want to see what the overall market environment looks like before filtering which signals to act on."}],"resultDescription":"A JSON object containing the current market regime label and the aggregate distribution of Stock Trends trend codes across all active signals, reflecting the overall market environment as of the latest classification.","failureModes":["No data available if regime has not been calculated yet — may return 404 or empty result","Service unavailable or timeout if backend data pipeline is delayed","Payment required (402) if x402 payment header is missing or insufficient","Stale classification if the underlying weekly data has not yet been refreshed"],"whenToPreferThis":"Use this endpoint when you need a single, authoritative, real-time snapshot of the current market regime as defined by the Stock Trends multi-decade classification framework — particularly when making routing decisions for portfolio construction, signal screening, or symbol-level trade evaluation that depend on the prevailing market environment.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:34:07.202Z","isFirstParty":false}