{"uid":"cap_H6PuYZtIiy0zsPGWs_554","slug":"cryptyx-ai-regime-cell-context-094f7941","name":"Cryptyx AI Regime Cell Context","description":"Historical performance of a specific (horizon, regime_label) cell — n_prints, mean 30d forward return, hit rate, and last 5 instances. Answers \"when this regime showed up before, what happened next?\" — analytical primitive for regime-conditional strategy backtesting.","url":"https://cryptyx.ai/api/market-pulse/regime-cell-context","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":["horizon","label"],"properties":{"label":{"type":"string","description":"Regime label (e.g. expansion, consolidation, deleveraging)"},"horizon":{"type":"string","description":"One of: 1d, 7d, 14d, 30d, 60d, 90d, 180d, 365d"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"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_ON82nZIXYOwtXSQkzBv3U","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":"Returns historical performance statistics for a specific (horizon, regime_label) pair — including occurrence count, mean forward return, hit rate, and the last 5 instances — to answer 'what happened next when this regime appeared before?'","exampleAgentPrompt":"Pull up the historical performance stats for the 'consolidation' regime over a 30-day horizon — I want to know how many times it's appeared before, the average forward return, hit rate, and the last 5 instances.","exampleUseCases":null,"resultDescription":"Returns a structured object containing: the number of historical occurrences (n_prints) of the specified (horizon, regime_label) cell, the mean 30-day forward return across those occurrences, the hit rate (proportion of positive outcomes), and a list of the last 5 individual instances with their dates and returns. This enables regime-conditional backtesting and strategy validation.","failureModes":["Invalid or unrecognized regime label returns an error or empty results","Horizon value not in the allowed enum (1d, 7d, 14d, 30d, 60d, 90d, 180d, 365d) causes a validation error","Insufficient historical data for a rare regime/horizon combination may return low n_prints or no instances","Payment not processed (x402) results in 402 Payment Required response","Network timeout or service unavailability returns a 5xx error"],"whenToPreferThis":"Use this endpoint when you need regime-conditional historical statistics for a specific macro regime label and forward-return horizon — ideal for backtesting how a crypto portfolio or strategy would have performed after similar past regimes. Prefer this over generic price history endpoints when the question is 'given THIS regime, what has historically followed?' rather than unconditional price queries.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-16T00:44:52.728Z","isFirstParty":false}