{
  "x402Version": 2,
  "id": 29789,
  "slug": "29789",
  "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",
  "serviceName": "CRYPTYX",
  "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1782859544/bazaar-icons/76d43c1a7d77f1ea.png",
  "resourceType": "Beauty & Personal Care",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x0cD2c9724F185a029101b4AEACf3F114415c394f",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "250000",
      "amountUsd": 0.25,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "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": [
    "crypto",
    "trading",
    "signals",
    "intelligence",
    "agents",
    "bazaar"
  ],
  "sourceHost": "cryptyx.ai",
  "lastUpdated": "2026-10-04T00:16:58.494Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-10-04T00:16:58.3Z"
  },
  "metadata": {
    "serviceName": "CRYPTYX",
    "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1782859544/bazaar-icons/76d43c1a7d77f1ea.png",
    "extensions": {
      "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"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "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-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "_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"
    }
  }
}