{
  "x402Version": 2,
  "id": 28406,
  "slug": "28406",
  "resource": "https://regime.nsgoods.org/regime",
  "description": "CMC regime classification + strategy spec (USDC pay-per-call). Free preview: GET /regime/preview A bad or unsupported id returns 400; upstream failure returns 503; you are never charged for an error.",
  "type": "http",
  "serviceName": "nsgoods Crypto Market Regime",
  "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1790968271/bazaar-icons/b85d47ef16d28a8f.png",
  "resourceType": "Identity & Enrichment",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xc87a06DEE4c0E85912296002617120BBfd5EF990",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "properties": {
          "cmc_ema_periods": {
            "type": "object"
          },
          "live_disclaimer": {
            "type": "string"
          },
          "regime_result": {
            "type": "object"
          },
          "signature": {
            "type": "string"
          },
          "signed_by": {
            "type": "string"
          },
          "spec": {
            "type": "object"
          }
        },
        "required": [
          "regime_result",
          "spec",
          "signed_by",
          "signature"
        ],
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "id": 1
          },
          "type": "http"
        },
        "output": {
          "example": {
            "cmc_ema_periods": {
              "ema200_from": "exponential_moving_average_200_day",
              "ema20_from": "exponential_moving_average_7_day",
              "ema50_from": "exponential_moving_average_30_day"
            },
            "live_disclaimer": "CMC technical-analysis tool exposes EMA 7/30/200 only. ema20 <- ema7, ema50 <- ema30, ema200 <- ema200. Backtest uses true 20/50/200 from local pandas; see BACKTEST_NOTES.md.",
            "regime_result": {
              "inputs": {
                "ema20": 768.84,
                "ema200": 687.36,
                "ema50": 744.22,
                "fear_greed": 69,
                "funding_rate": 0.0029889,
                "macd_hist": -3.43,
                "oi_change_pct": 0.0317,
                "price": 773.7508327970951,
                "rsi14": 58.44
              },
              "reasons": [
                "|funding_rate|=0.2989% > 0.0500%",
                "RISK_OFF overrides trend signals"
              ],
              "regime": "RISK_OFF"
            },
            "signature": "0x...",
            "signed_by": "0x01d298d8Df8DA0cbEA1d91e6D8Cffd56Cc026226",
            "spec": {
              "entry_rules": [],
              "exit_rules": [
                {
                  "condition": "RISK_OFF active",
                  "type": "close_all"
                }
              ],
              "explanation": [
                "|funding_rate|=0.2989% > 0.0500%",
                "RISK_OFF overrides trend signals"
              ],
              "inputs": {
                "ema20": 768.84,
                "ema200": 687.36,
                "ema50": 744.22,
                "fear_greed": 69,
                "funding_rate": 0.0029889,
                "macd_hist": -3.43,
                "oi_change_pct": 0.0317,
                "price": 773.7508327970951,
                "rsi14": 58.44
              },
              "position_sizing": {
                "base_pct": 0,
                "multiplier": 0
              },
              "regime": "RISK_OFF",
              "risk_limits": {
                "max_concurrent_positions": 0,
                "stop_loss_pct": 0
              },
              "risk_profile": "balanced",
              "spec_version": "1.0",
              "stance": "flat",
              "symbol": "BNBUSDT"
            }
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET",
                  "HEAD",
                  "DELETE"
                ],
                "type": "string"
              },
              "queryParams": {
                "properties": {
                  "id": {
                    "description": "CMC coin id: 1=BTC, 1027=ETH, 1839=BNB.",
                    "type": "integer"
                  }
                },
                "required": [
                  "id"
                ],
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "cmc_ema_periods": {
                    "type": "object"
                  },
                  "live_disclaimer": {
                    "type": "string"
                  },
                  "regime_result": {
                    "type": "object"
                  },
                  "signature": {
                    "type": "string"
                  },
                  "signed_by": {
                    "type": "string"
                  },
                  "spec": {
                    "type": "object"
                  }
                },
                "required": [
                  "regime_result",
                  "spec",
                  "signed_by",
                  "signature"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "crypto",
    "regime",
    "strategy",
    "cmc",
    "market",
    "bazaar"
  ],
  "sourceHost": "regime.nsgoods.org",
  "lastUpdated": "2026-10-11T01:18:35.67Z",
  "quality": {
    "calls30d": 9,
    "uniquePayers30d": 4,
    "lastCalledAt": "2026-10-11T01:18:35.503Z"
  },
  "metadata": {
    "serviceName": "nsgoods Crypto Market Regime",
    "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1790968271/bazaar-icons/b85d47ef16d28a8f.png",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "method": "GET",
            "queryParams": {
              "id": 1
            },
            "type": "http"
          },
          "output": {
            "example": {
              "cmc_ema_periods": {
                "ema200_from": "exponential_moving_average_200_day",
                "ema20_from": "exponential_moving_average_7_day",
                "ema50_from": "exponential_moving_average_30_day"
              },
              "live_disclaimer": "CMC technical-analysis tool exposes EMA 7/30/200 only. ema20 <- ema7, ema50 <- ema30, ema200 <- ema200. Backtest uses true 20/50/200 from local pandas; see BACKTEST_NOTES.md.",
              "regime_result": {
                "inputs": {
                  "ema20": 768.84,
                  "ema200": 687.36,
                  "ema50": 744.22,
                  "fear_greed": 69,
                  "funding_rate": 0.0029889,
                  "macd_hist": -3.43,
                  "oi_change_pct": 0.0317,
                  "price": 773.7508327970951,
                  "rsi14": 58.44
                },
                "reasons": [
                  "|funding_rate|=0.2989% > 0.0500%",
                  "RISK_OFF overrides trend signals"
                ],
                "regime": "RISK_OFF"
              },
              "signature": "0x...",
              "signed_by": "0x01d298d8Df8DA0cbEA1d91e6D8Cffd56Cc026226",
              "spec": {
                "entry_rules": [],
                "exit_rules": [
                  {
                    "condition": "RISK_OFF active",
                    "type": "close_all"
                  }
                ],
                "explanation": [
                  "|funding_rate|=0.2989% > 0.0500%",
                  "RISK_OFF overrides trend signals"
                ],
                "inputs": {
                  "ema20": 768.84,
                  "ema200": 687.36,
                  "ema50": 744.22,
                  "fear_greed": 69,
                  "funding_rate": 0.0029889,
                  "macd_hist": -3.43,
                  "oi_change_pct": 0.0317,
                  "price": 773.7508327970951,
                  "rsi14": 58.44
                },
                "position_sizing": {
                  "base_pct": 0,
                  "multiplier": 0
                },
                "regime": "RISK_OFF",
                "risk_limits": {
                  "max_concurrent_positions": 0,
                  "stop_loss_pct": 0
                },
                "risk_profile": "balanced",
                "spec_version": "1.0",
                "stance": "flat",
                "symbol": "BNBUSDT"
              }
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "method": {
                  "enum": [
                    "GET",
                    "HEAD",
                    "DELETE"
                  ],
                  "type": "string"
                },
                "queryParams": {
                  "properties": {
                    "id": {
                      "description": "CMC coin id: 1=BTC, 1027=ETH, 1839=BNB.",
                      "type": "integer"
                    }
                  },
                  "required": [
                    "id"
                  ],
                  "type": "object"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "properties": {
                    "cmc_ema_periods": {
                      "type": "object"
                    },
                    "live_disclaimer": {
                      "type": "string"
                    },
                    "regime_result": {
                      "type": "object"
                    },
                    "signature": {
                      "type": "string"
                    },
                    "signed_by": {
                      "type": "string"
                    },
                    "spec": {
                      "type": "object"
                    }
                  },
                  "required": [
                    "regime_result",
                    "spec",
                    "signed_by",
                    "signature"
                  ],
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "regime.nsgoods.org",
    "manifest_name": "regime.nsgoods.org",
    "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": {
    "example": {
      "cmc_ema_periods": {},
      "live_disclaimer": "string",
      "regime_result": {},
      "signature": "string",
      "signed_by": "string",
      "spec": {}
    },
    "type": "string"
  }
}