# agentfeeds.jp DEX Realized Volatility

> agentfeeds.jp DEX Realized Volatility is a paid API for AI agents from api.agentfeeds.jp, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-15).

Returns 1-hour or 24-hour realized volatility (standard deviation of consecutive 1-minute log returns) for a monitored DEX trading pair, computed from on-chain mid-price observations.

## Facts

- Endpoint: GET https://api.agentfeeds.jp/v1/dex/volatility
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentfeeds-jp-dex-realized-volatility-e27a1d4c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_czXxwKrmrix0e6jCzEh6b

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 agentfeeds-jp-dex-realized-volatility-e27a1d4c
```

Example prompt: What's the realized volatility for AERO/USDC on the DEX over the last 24 hours — using on-chain mid-price observations?

## When to prefer this

Use this endpoint when you need a precise, on-chain-sourced realized volatility figure for a specific DEX trading pair over a short window (1h or 24h), especially when annualized or forecast values are not desired. Prefer this over CEX-based volatility feeds when on-chain accuracy and transparency of the underlying data source matter.

## Known failure modes

- Missing required 'pair' query parameter returns a 400 error
- Unsupported 'window' value (not '1h' or '24h') returns a 400 or validation error
- Pair not monitored by the service returns a 404 or empty result
- Insufficient on-chain observations within the window may return null or a low-confidence result
- Payment not included or rejected results in a 402 response

## How this service works

1h/24h realized volatility (stdev of consecutive 1-minute log returns) computed from our own on-chain mid observations for a monitored pair. Actual realized value over the window only -- not annualized, not a forecast. Descriptive statistics only; not investment advice.

## Output

A numeric realized volatility value expressed as the standard deviation of consecutive 1-minute log returns over the requested window (1h or 24h), derived from on-chain mid-price observations. Not annualized, not a forecast — raw descriptive statistic only.

## 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",
     "required": [
      "pair"
     ],
     "properties": {
      "pair": {
       "type": "string"
      },
      "window": {
       "type": "string",
       "description": "'1h' or '24h'"
      }
     }
    }
   },
   "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/agentfeeds-jp-dex-realized-volatility-e27a1d4c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.agentfeeds.jp](https://www.zero.xyz/host/api.agentfeeds.jp/llms.txt)
