{
  "x402Version": 2,
  "id": 4358,
  "slug": "4358",
  "resource": "https://cryptyx.ai/api/triggers/custom",
  "description": "Arbitrary trigger definition — POST any {type: z_score|z_differential|composite, ...} predicate and get the full institutional evidence envelope back. 5-year backtest, Sortino, max drawdown, profit factor, walk-forward IS/OOS, regime context, rolling hit rates. Enterprise tier because every request runs a live backtest (no cache). The extensibility endpoint: anything expressible in Metric Slicer becomes a triggerable institutional-grade primitive. Backtests run over the CRYPTYX 200+ tracked digital assets — BTC, ETH, SOL, top-cap + long-tail coverage.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x0cD2c9724F185a029101b4AEACf3F114415c394f",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "250000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "asset": "",
            "definition": {},
            "horizon": ""
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "_cache": {
              "hit": false
            },
            "backtest_evidence": {
              "hit_rate": 0.615,
              "max_drawdown": -0.515,
              "profit_factor": 2.97,
              "sample_size": 117,
              "sharpe_ratio": 0.4,
              "sortino_ratio": 0.72
            },
            "ok": true,
            "trigger": {
              "asof_day": "2026-07-10",
              "asset": "BTC",
              "confidence": 0.8,
              "expression": {
                "conditions": [
                  {
                    "metric_id": "TR_ROC_7D",
                    "operator": "abs_gt",
                    "threshold": 1.5
                  },
                  {
                    "metric_id": "VOL_RV_7D",
                    "operator": "lt",
                    "threshold": 1
                  }
                ],
                "logic": "AND",
                "type": "composite"
              },
              "fires_now": true,
              "horizon": "14d"
            }
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "asset": {
                    "description": "Asset symbol (uppercased server-side).",
                    "type": "string"
                  },
                  "definition": {
                    "description": "Trigger definition. {type: \"z_score\"|\"z_differential\"|\"composite\", ...}. See docs for full schema.",
                    "type": "object"
                  },
                  "horizon": {
                    "description": "'7d', '14d' (default), or '30d'.",
                    "type": "string"
                  }
                },
                "required": [
                  "asset",
                  "definition"
                ]
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "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:07:50.972Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-09-05T13:07:50.796Z"
  },
  "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"
  }
}