# Market Stress Indicators API

> Market Stress Indicators API is a paid API for AI agents from cycle-angela-lamp-hamburg.trycloudflare.com, paid per call via x402, $0.04/call, status down (last checked 2026-09-15).

Returns latest and previous values for VIX volatility index, 10Y-2Y treasury yield curve spread, and high-yield credit spread as risk-off signal indicators.

## Facts

- Endpoint: GET https://cycle-angela-lamp-hamburg.trycloudflare.com/api/macro/market-stress
- Price: $0.04/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/market-stress-indicators-api-e0052e8d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_s-aIRzRd7rxZ9_s2RTU6_

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 market-stress-indicators-api-e0052e8d
```

Example prompt: What are the current market stress levels — give me the latest VIX, the 10-year minus 2-year yield curve spread, and the high-yield credit spread so I can tell if we're in a risk-off environment.

## When to prefer this

Use this endpoint when you need a quick, consolidated snapshot of the three canonical market stress gauges (VIX, yield curve, HY credit spread) in a single call. Prefer this over building your own FRED queries when you need real-time risk-off signal detection without managing multiple API keys or data sources. Ideal for macro dashboards, portfolio risk alerts, or agent-driven market condition checks.

## Known failure modes

- FRED data source unavailable causing stale or missing readings
- Cloudflare tunnel downtime returning 5xx errors
- Payment not processed resulting in 402 response
- Data lag where latest observation is several days old due to FRED release schedule
- Numeric values returned as strings requiring client-side parsing

## How this service works

Market stress indicators: VIX volatility index, 10 year minus 2 year treasury yield curve spread, high yield credit spread, latest values and previous. JSON. Risk-off signal detection.

## Output

A JSON object containing three sub-objects (vix, yield_curve_10y2y, hy_credit_spread), each with the latest and previous observations (date + numeric string value), the FRED series ID, and data source. Also includes a generated_at unix timestamp indicating when the payload was built.

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "vix": {
   "type": "object",
   "properties": {
    "latest": {
     "type": "object",
     "properties": {
      "date": {
       "type": "string"
      },
      "value": {
       "type": "string",
       "description": "numeric string"
      }
     }
    },
    "series": {
     "type": "string",
     "description": "FRED series id"
    },
    "source": {
     "type": "string"
    },
    "previous": {
     "type": "object",
     "properties": {
      "date": {
       "type": "string"
      },
      "value": {
       "type": "string"
      }
     }
    }
   },
   "description": "single FRED series, latest two observations"
  },
  "generated_at": {
   "type": "integer",
   "description": "unix seconds when payload was built"
  },
  "hy_credit_spread": {
   "type": "object",
   "properties": {
    "latest": {
     "type": "object",
     "properties": {
      "date": {
       "type": "string"
      },
      "value": {
       "type": "string",
       "description": "numeric string"
      }
     }
    },
    "series": {
     "type": "string",
     "description": "FRED series id"
    },
    "source": {
     "type": "string"
    },
    "previous": {
     "type": "object",
     "properties": {
      "date": {
       "type": "string"
      },
      "value": {
       "type": "string"
      }
     }
    }
   },
   "description": "single FRED series, latest two observations"
  },
  "yield_curve_10y2y": {
   "type": "object",
   "properties": {
    "latest": {
     "type": "object",
     "properties": {
      "date": {
       "type": "string"
      },
      "value": {
       "type": "string",
       "description": "numeric string"
      }
     }
    },
    "series": {
     "type": "string",
     "description": "FRED series id"
    },
    "source": {
     "type": "string"
    },
    "previous": {
     "type": "object",
     "properties": {
      "date": {
       "type": "string"
      },
      "value": {
       "type": "string"
      }
     }
    }
   },
   "description": "single FRED series, latest two observations"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/market-stress-indicators-api-e0052e8d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from cycle-angela-lamp-hamburg.trycloudflare.com](https://www.zero.xyz/host/cycle-angela-lamp-hamburg.trycloudflare.com/llms.txt)
