# clouatre.ca BTC Regime Check

> clouatre.ca BTC Regime Check is a paid API for AI agents from clouatre.ca, paid per call via x402, $0.003/call, status unknown (last checked 2026-11-02).

Returns a bull or bear regime signal for BTC by comparing the current spot price against a 7-day moving average, along with the MA7 value, deviation percent, and a favor-entry or block-entry action recommendation.

## Facts

- Endpoint: GET https://clouatre.ca/v1/btc-regime?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/clouatre-ca-btc-regime-check-18bd165b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_DaelKkAhQ7zjlukXxSedq

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 clouatre-ca-btc-regime-check-18bd165b
```

Example prompt: Before we size into a BTC position, check the current BTC regime — the spot price is 64500, and here are the last 7 daily closes: 61000,62500,63000,61500,62000,63500,64000 — tell me if we're in bull or bear territory and whether we should favor entry or block it.

## When to prefer this

Use this endpoint when an agent needs a lightweight, single-call BTC regime gate before executing or sizing a trade — particularly when you want a pre-built bull/bear classification with MA7 deviation rather than computing it yourself. Ideal for automated trading pipelines, risk filters, and decision nodes that need a fast, low-cost signal without building custom technical analysis logic.

## Known failure modes

- Missing or invalid spot price (non-positive number) returns a 4xx error
- Invalid closes format (not 7 comma-separated numbers) returns a validation error
- Spot price provided but closes not supplied — endpoint may use its own data source or return partial results
- Service unavailable or upstream Kraken data unreachable may return an error or degraded response

## How this service works

BTC spot regime check against a 7-day moving average: returns bull or bear, MA7, deviation percent, and a favor-entry or block-entry action. Use when an agent must gate a BTC entry before sizing.

## Output

Returns a JSON object with: regime ('bull' or 'bear'), MA7 (the 7-day moving average price), spotVsMa7Pct (how much spot deviates from MA7 as a percentage), action ('favor-entry' or 'block-entry'), closesSource (data source used, e.g. 'kraken'), availability status, and a disclaimer.

## 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": [
      "spot"
     ],
     "properties": {
      "spot": {
       "type": "number",
       "exclusiveMinimum": 0
      },
      "closes": {
       "type": "string",
       "pattern": "^[0-9]+(\\.[0-9]+)?(,[0-9]+(\\.[0-9]+)?){6}$"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ma7": 61857.14,
  "action": "favor-entry",
  "regime": "bull",
  "disclaimer": "Not financial advice.",
  "availability": "available",
  "closesSource": "kraken",
  "spotVsMa7Pct": 5.08
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/clouatre-ca-btc-regime-check-18bd165b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from clouatre.ca](https://www.zero.xyz/host/clouatre.ca/llms.txt)
