# Stelar Digital Crypto Market Regime Classifier

> Stelar Digital Crypto Market Regime Classifier is a paid API for AI agents from api.stelardigital.com, paid per call via x402, $0.03/call, status unknown (last checked 2026-09-13).

Classifies a crypto asset's current market regime (choppy/uptrend/downtrend/high-volatility) and determines whether it is suitable for grid trading right now.

## Facts

- Endpoint: GET https://api.stelardigital.com/regime
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/stelar-digital-crypto-market-regime-classifier-0bdddfd4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Gq-TE_krBm49OJF2AIqAj

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 stelar-digital-crypto-market-regime-classifier-0bdddfd4
```

Example prompt: What's the current market regime for SOL — is it choppy, trending, or high-volatility, and is it grid-tradeable right now?

## When to prefer this

Use this endpoint when you need a real-time, computed market regime classification specifically for grid-trading decision support on the eight supported assets. It is more actionable than raw price or volatility data because it directly outputs a grid-suitability verdict derived from the same classifier steering a live production bot. Prefer it over generic sentiment or price endpoints when the decision is whether to activate or pause a grid trading strategy.

## Known failure modes

- Unsupported asset symbol returns a validation error
- Stale or unavailable kline data may affect regime accuracy
- Network timeout if upstream exchange data is slow
- Payment failure (402) if x402 micropayment is not properly attached

## How this service works

Crypto market regime classification (choppy / uptrend / downtrend / high-volatility) for SOL, BTC, ETH, XRP, DOGE, LTC, ADA, or XLM, plus a grid-trading suitability verdict. Computed from 1h klines, a 30-day volatility baseline, and EMA trend detection — the same classifier that steers a live production grid bot. For agents deciding whether a pair is grid-tradeable right now.

## Output

Returns the current market regime label for the requested asset (one of: choppy, uptrend, downtrend, high-volatility), a grid-trading suitability verdict indicating whether the asset is appropriate for grid strategies at this moment, and supporting signals derived from 1h klines, a 30-day volatility baseline, and EMA trend detection.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "asset"
     ],
     "properties": {
      "asset": {
       "enum": [
        "ADA",
        "BTC",
        "DOGE",
        "ETH",
        "LTC",
        "SOL",
        "XLM",
        "XRP"
       ],
       "type": "string",
       "description": "Asset symbol, e.g. SOL"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "as_of": 1720400000,
  "asset": "SOL",
  "regime": "chop",
  "symbol": "SOLUSDT",
  "features": {
   "atr_pct": 2.1,
   "atr_pct_p80_30d": 3.4,
   "ema12_48_spread_pct": 0.4
  },
  "grid_suitability": {
   "note": "Range-bound market: grids harvest oscillation — the ideal regime.",
   "verdict": "excellent"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/stelar-digital-crypto-market-regime-classifier-0bdddfd4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.stelardigital.com](https://www.zero.xyz/host/api.stelardigital.com/llms.txt)
