# aptu.dev BTC Spot Regime Check

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

Classifies the current BTC market as bull or bear by comparing the spot price to a 7-day moving average, returning a regime signal and an entry-action recommendation.

## Facts

- Endpoint: GET https://aptu.dev/v1/btc-regime?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/aptu-dev-btc-spot-regime-check-81704857
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_epqxLY_afAyWXxNqnOpzK

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 aptu-dev-btc-spot-regime-check-81704857
```

Example prompt: Is Bitcoin currently in a bull or bear regime? The spot price right now is 67500 — check if the MA7 gate favors entry or blocks it.

## When to prefer this

Use this endpoint when you need a simple, pre-computed bull/bear regime signal for BTC based on a 7-day moving average gate, especially in automated agent workflows that need a fast go/no-go entry decision without running their own technical analysis. Prefer it over raw price feeds when you want an opinionated action signal (favor-entry vs block-entry) rather than raw OHLCV data.

## Known failure modes

- Missing or invalid spot price (spot <= 0) returns a validation error
- Malformed closes string (not matching comma-separated 7-number pattern) returns a 400 error
- Downstream price feed unavailability may cause stale or missing MA7 calculation
- Payment not completed or invalid x402 payment header results in 402 Payment Required

## How this service works

BTC spot regime check against a 7-day moving average gate (bull/bear, MA7, deviation pct, favor-entry/block-entry action).

## Output

Returns a JSON object with: regime ('bull' or 'bear'), ma7 (7-day moving average price), spotVsMa7Pct (percentage deviation of spot from MA7), action ('favor-entry' or 'block-entry'), availability status, the source of closing prices used (e.g. 'kraken'), and a disclaimer that it is not financial advice.

## 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/aptu-dev-btc-spot-regime-check-81704857/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from aptu.dev](https://www.zero.xyz/host/aptu.dev/llms.txt)
