{
  "x402Version": 2,
  "id": 4367,
  "slug": "4367",
  "resource": "https://cryptyx.ai/api/asset/regime-context",
  "description": "Per-asset macro regime context — current regime id, confidence, days-in-regime streak, conditional forward-return stats at 1d/7d/14d/30d, and top historical regime transitions. Grounds sizing in what historically happens next. Coverage: pass any asset in the CRYPTYX 200+ tracked universe (BTC, ETH, SOL, top-cap + long-tail).",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x0cD2c9724F185a029101b4AEACf3F114415c394f",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "50000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "horizon": "",
            "symbol": ""
          },
          "type": "http"
        },
        "output": {
          "example": {
            "current": {
              "asof_day": "2026-06-18",
              "confidence": 0.67,
              "days_in_regime": 23,
              "regime": "expansion"
            },
            "ok": true,
            "selected_horizon": "14d",
            "stats": [
              {
                "hit_rate": 0.52,
                "horizon": "1d",
                "mean_return": 0.0008,
                "median_return": 0.0005,
                "n": 142,
                "regime": "consolidation"
              },
              {
                "hit_rate": 0.56,
                "horizon": "7d",
                "mean_return": 0.011,
                "median_return": 0.008,
                "n": 138,
                "regime": "consolidation"
              },
              {
                "hit_rate": 0.58,
                "horizon": "14d",
                "mean_return": 0.019,
                "median_return": 0.014,
                "n": 132,
                "regime": "consolidation"
              },
              {
                "hit_rate": 0.61,
                "horizon": "30d",
                "mean_return": 0.034,
                "median_return": 0.027,
                "n": 118,
                "regime": "consolidation"
              },
              {
                "hit_rate": 0.55,
                "horizon": "1d",
                "mean_return": 0.0021,
                "median_return": 0.0013,
                "n": 187,
                "regime": "expansion"
              },
              {
                "hit_rate": 0.61,
                "horizon": "7d",
                "mean_return": 0.018,
                "median_return": 0.014,
                "n": 181,
                "regime": "expansion"
              },
              {
                "hit_rate": 0.64,
                "horizon": "14d",
                "mean_return": 0.032,
                "median_return": 0.025,
                "n": 175,
                "regime": "expansion"
              },
              {
                "hit_rate": 0.66,
                "horizon": "30d",
                "mean_return": 0.058,
                "median_return": 0.043,
                "n": 162,
                "regime": "expansion"
              },
              {
                "hit_rate": 0.42,
                "horizon": "14d",
                "mean_return": -0.012,
                "median_return": -0.009,
                "n": 94,
                "regime": "contraction"
              }
            ],
            "symbol": "BTC",
            "transitions": [
              {
                "from_regime": "consolidation",
                "n": 18,
                "to_regime": "expansion"
              },
              {
                "from_regime": "expansion",
                "n": 17,
                "to_regime": "consolidation"
              },
              {
                "from_regime": "consolidation",
                "n": 9,
                "to_regime": "contraction"
              },
              {
                "from_regime": "contraction",
                "n": 8,
                "to_regime": "consolidation"
              },
              {
                "from_regime": "expansion",
                "n": 4,
                "to_regime": "contraction"
              },
              {
                "from_regime": "contraction",
                "n": 3,
                "to_regime": "expansion"
              }
            ]
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET"
                ],
                "type": "string"
              },
              "queryParams": {
                "properties": {
                  "horizon": {
                    "description": "Selected horizon echoed back in selected_horizon; one of 1d/7d/14d/30d (default 14d). Note: stats array still returns all horizons regardless",
                    "type": "string"
                  },
                  "symbol": {
                    "description": "Asset ticker (uppercased server-side), e.g. BTC, ETH, SOL",
                    "type": "string"
                  }
                },
                "required": [
                  "symbol"
                ],
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "cryptyx.ai",
  "lastUpdated": "2026-09-05T13:02:56.761Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-09-05T13:02:56.598Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "cryptyx.ai",
    "manifest_name": "cryptyx.ai",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}