# DataNexusAI Market Volatility Regime Endpoint

> DataNexusAI Market Volatility Regime Endpoint is a paid API for AI agents from api.datanexusai.org, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-02).

Returns the current market volatility regime classification and related analytics based on a configurable historical lookback window.

## Facts

- Endpoint: GET https://api.datanexusai.org/api/analytics/market/volatility-regime?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/datanexusai-market-volatility-regime-endpoint-670cf544
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Hle-Zo7GvC2XTmy-FIg7O

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 datanexusai-market-volatility-regime-endpoint-670cf544
```

Example prompt: What's the current market volatility regime based on the last 252 trading days — are we in a high, low, or normal volatility environment?

## When to prefer this

Choose this endpoint when you need a structured, quantified classification of the current market volatility regime rather than raw price or volatility data. It is ideal for algorithmic trading systems, portfolio risk engines, or agent workflows that need to condition behavior on whether markets are calm, normal, or turbulent. Prefer it over generic volatility data sources when you want a pre-computed regime label with a configurable historical window.

## Known failure modes

- Invalid lookback_days value (non-integer or negative) returns a 400 validation error
- Payment failure or insufficient USDC balance returns a 402 Payment Required response
- Service unavailable or upstream data outage returns a 503 error
- Lookback window too large for available data history may return empty or partial results

## How this service works

Public data API for SEBRA payments, PTP road accidents, Hearthstone cards, EU agri-food prices, and trade/market analytics. Paid data endpoints use x402 (USDC micropayments). Docs and discovery endpoints are free.

Machine-readable discovery: `https://api.datanexusai.org/openapi.json`, `https://api.datanexusai.org/llms.txt`, `https://api.datanexusai.org/.well-known/x402`.

Human docs: `/docs` and `/api/`.

## Output

Returns a volatility regime classification (e.g. low, normal, high) for the current market environment, computed over the specified lookback window (default 252 trading days), along with supporting analytics such as realized volatility metrics and regime thresholds.

## 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",
     "properties": {
      "lookback_days": {
       "type": "integer",
       "example": 252,
       "description": "Lookback window (default 252)."
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/datanexusai-market-volatility-regime-endpoint-670cf544/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.datanexusai.org](https://www.zero.xyz/host/api.datanexusai.org/llms.txt)
