# Cryptyx Market Breadth by Factor Class

> Cryptyx Market Breadth by Factor Class is a paid API for AI agents from www.cryptyx.ai, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-13).

Returns bullish/bearish breadth counts and net positioning split by factor class at a chosen forward return horizon, revealing whether a market rally is broad-based or concentrated.

## Facts

- Endpoint: GET https://www.cryptyx.ai/api/signals/composite/breadth
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/cryptyx-market-breadth-by-factor-class-0a34ceb8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_x6uzUDbWEoqclwt8GQSy-

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 cryptyx-market-breadth-by-factor-class-0a34ceb8
```

Example prompt: What does market breadth look like right now — how many assets are bullish vs bearish across each factor class at a 14-day horizon, using a signal threshold of 0.6?

## When to prefer this

Use this endpoint when you need a market-wide participation view rather than single-asset signals — specifically when you want to know if a move is driven by broad factor agreement or concentrated in one class. Ideal for regime-level framing before drilling into individual assets.

## Known failure modes

- Invalid horizon value (not 7d/14d/30d) returns a 400 error
- Threshold out of 0-1 range causes validation failure
- Service unavailable or signal data not yet computed returns 503
- Payment not sent or insufficient USDC triggers 402 payment required

## How this service works

Returns composite market breadth signals for a given horizon, threshold, and day. Includes bullish/bearish/neutral counts, regime breakdowns, micro-summaries, and ranked assets with stance scores.

## Output

A JSON object with a breadth array listing each factor class (e.g. 'TR') with its bullish count, bearish count, and net score, plus aggregate total_bullish and total_bearish counts across the full ~200-asset universe.

## 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": {
      "day": {
       "type": "string",
       "example": "2026-06-18",
       "description": "Optional asof_day in YYYY-MM-DD format. Defaults to latest available."
      },
      "horizon": {
       "enum": [
        "7d",
        "14d",
        "30d"
       ],
       "type": "string",
       "description": "Composite horizon (default 7d)"
      },
      "threshold": {
       "type": "number",
       "example": 0.05,
       "description": "Score threshold for bullish/bearish classification, 0-1 (default 0.05)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/cryptyx-market-breadth-by-factor-class-0a34ceb8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from www.cryptyx.ai](https://www.zero.xyz/host/www.cryptyx.ai/llms.txt)
