# BTC/ETH Market Regime Signal API

> BTC/ETH Market Regime Signal API is a paid API for AI agents from nonvisceral-eloisa-mousily.ngrok-free.dev, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-15).

Returns the current bull/bear market regime (LONG or SHORT) for Bitcoin and Ethereum based on 50-period 1-hour EMA, with a composite directional confidence score per coin.

## Facts

- Endpoint: GET https://nonvisceral-eloisa-mousily.ngrok-free.dev/api/regime
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/nonvisceral-eloisa-mousily-ngrok-free-dev-ce9a7e10
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_VQ8pfsdUDdlmaRMuI_a5L

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 nonvisceral-eloisa-mousily-ngrok-free-dev-ce9a7e10
```

Example prompt: What's the current bull or bear regime signal for BTC and ETH right now, including the directional confidence score for each?

## When to prefer this

Use this endpoint when you need a simple, pre-computed directional regime label (LONG/SHORT) for BTC and ETH without building your own EMA logic. Ideal for momentum-following strategies, regime-aware position sizing, or confirming trend direction before entering a trade. Prefer this over raw OHLCV feeds when you want a ready-to-use signal rather than raw price data. Pair with sibling liquidation cascade or funding rate endpoints for a fuller market picture.

## Known failure modes

- Service unavailable if the ngrok tunnel is offline or expired
- Stale data if the hourly EMA computation job has not run recently
- Low confidence scores (near 0.33) indicating weak or indeterminate trend — not a failure but a signal to treat cautiously
- 402 Payment Required if the x402 micropayment header is missing or invalid
- Rate limiting or timeout if the upstream exchange data feed is delayed

## How this service works

Bitcoin and Ethereum market trend direction API: current bull or bear regime signal based on 50-period 1-hour EMA moving average with composite directional confidence score. Real-time LONG or SHORT trend indicator for BTC and ETH crypto trading decisions. Suitable for momentum-following, trend-confirmation, and regime-aware position sizing strategies.

## Output

Returns a JSON object with the current regime (LONG or SHORT) for BTC and ETH, a composite_direction object with per-coin direction and confidence score (0 to 1), and an updated_at ISO timestamp indicating when the signal was last computed.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {}
 }
}
```

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "regime": {
       "type": "object"
      },
      "updated_at": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/nonvisceral-eloisa-mousily-ngrok-free-dev-ce9a7e10/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from nonvisceral-eloisa-mousily.ngrok-free.dev](https://www.zero.xyz/host/nonvisceral-eloisa-mousily.ngrok-free.dev/llms.txt)
