# CMC Regime Classification & Strategy Spec API

> CMC Regime Classification & Strategy Spec API is a paid API for AI agents from regime.nsgoods.org, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-13).

Returns the current market regime classification and trading strategy specification for a given CoinMarketCap coin ID

## Facts

- Endpoint: GET https://regime.nsgoods.org/regime
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/cmc-regime-classification-strategy-spec-api-56548409
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_FtVYiDofK8cuzhQGJ6FLc

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 cmc-regime-classification-strategy-spec-api-56548409
```

Example prompt: What's the current market regime classification and strategy spec for Bitcoin (CMC coin ID 1) right now?

## When to prefer this

Use this endpoint when you need a structured, pay-per-call market regime label and associated trading strategy spec for a specific cryptocurrency identified by its CoinMarketCap ID. Prefer this over general market data APIs when you specifically need a regime classification (bull/bear/sideways/etc.) paired with a strategy recommendation, rather than raw price or OHLCV data.

## Known failure modes

- Missing or invalid CMC coin ID returns an error or empty response
- Unsupported coin ID (not BTC/ETH/BNB or similar known coins) may return an error
- Payment failure via x402 protocol results in 402 Payment Required with no data
- Malformed GET request without required id query param returns validation error
- Transient upstream CMC data unavailability may cause stale or failed classification

## How this service works

CMC regime classification + strategy spec (USDC pay-per-call)

## Output

Returns a JSON object containing the regime classification string (e.g. 'bull', 'bear', 'sideways'), the coin's symbol, its CMC coin ID, and a strategy_spec object outlining the recommended trading strategy for that regime.

## 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": [
      "id"
     ],
     "properties": {
      "id": {
       "type": "integer",
       "description": "CMC coin id: 1=BTC, 1027=ETH, 1839=BNB."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "regime"
     ],
     "properties": {
      "regime": {
       "type": "string"
      },
      "symbol": {
       "type": "string"
      },
      "coin_id": {
       "type": "integer"
      },
      "strategy_spec": {
       "type": "object"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/cmc-regime-classification-strategy-spec-api-56548409/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from regime.nsgoods.org](https://www.zero.xyz/host/regime.nsgoods.org/llms.txt)
