# HALOWERK marktwerk Market Regime Classifier

> HALOWERK marktwerk Market Regime Classifier is a paid API for AI agents from markt.halowerk.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-15).

Computes realized volatility, trend strength, ATR, drawdown, and a rule-based market regime classification for a given trading pair and time horizon from self-recorded minute candles.

## Facts

- Endpoint: POST https://markt.halowerk.com/regime
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/halowerk-marktwerk-market-regime-classifier-43b29436
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_7Qe-ahWd3vkHLIzHSiy-7

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability halowerk-marktwerk-market-regime-classifier-43b29436 -d '<json body>'
```

Example prompt: What's the current market regime for BTC/USDT on Binance over the last day — give me the realized volatility, trend strength, ATR, and drawdown from peak.

## When to prefer this

Choose this endpoint when you need a self-consistent, rule-transparent market regime classification backed by metrics (vol, trend, ATR, drawdown) all computed from the same internally recorded candle history. Prefer it over external data aggregators when you need reproducible, fully disclosed regime logic rather than a black-box signal, and when the pair is actively tracked by the HALOWERK collector across Binance, Coinbase, Kraken, OKX, or Bybit.

## Known failure modes

- Pair not tracked by the collector returns an error — only watched pairs can be answered
- venue/symbol/horizon combination with insufficient history returns null for vol_percentile_90d
- Invalid symbol format (not BASE/QUOTE pattern) returns a validation error
- Unsupported exchange venue returns an enum validation error
- Fewer than 90 days of recorded history results in vol_percentile_90d being null rather than an error

## How this service works

Measures the state of one pair over the chosen horizon from the minute candles this hub records itself: annualized realized volatility from log returns, trend strength as path efficiency between -1 and +1, average true range, and the drawdown from the highest high in the window. regime is a classification with its rule fully disclosed, and reasoning lists the values that carried it as data, not as prose. vol_percentile_90d needs ninety days of own history; until that exists the field stays null 

## Output

Returns annualized realized volatility from log returns, trend strength as path efficiency (-1 to +1), average true range, drawdown from the highest high in the window, a rule-based regime classification label, the 90-day volatility percentile (or null if less than 90 days of history exists), and a reasoning object listing the specific numeric values that drove the regime classification.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "venue": {
   "enum": [
    "binance",
    "coinbase",
    "kraken",
    "okx",
    "bybit"
   ],
   "type": "string",
   "default": "binance",
   "description": "Exchange whose recorded history is used."
  },
  "symbol": {
   "type": "string",
   "pattern": "^[A-Za-z0-9]{2,15}/[A-Za-z0-9]{2,15}$",
   "description": "Pair as BASE/QUOTE. Only pairs the collector watches can be answered."
  },
  "horizon": {
   "enum": [
    "1h",
    "4h",
    "1d",
    "1w"
   ],
   "type": "string",
   "default": "1d",
   "description": "Measurement window."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/halowerk-marktwerk-market-regime-classifier-43b29436/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from markt.halowerk.com](https://www.zero.xyz/host/markt.halowerk.com/llms.txt)
