# PreReason Ethereum Context

> PreReason Ethereum Context is a paid API for AI agents from api.prereason.com, paid per call via x402, $0.03/call, status unknown (last checked 2026-10-12).

Returns a multi-metric Ethereum market briefing including price, 24h volume with 30-day z-score, 200-day MA distance, Lido stETH APR, CFTC CME futures positioning, and OKX perpetual funding rate

## Facts

- Endpoint: GET https://api.prereason.com/api/eth/context?utm_source=zero.xyz
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/prereason-ethereum-context-50af3e1e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Uls6PSnznWYjaRDCWcq4u

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 prereason-ethereum-context-50af3e1e
```

Example prompt: Give me the full Ethereum market context right now — price, 24h volume z-score, distance from the 200-day average, Lido stETH APR, CFTC CME positioning for leveraged funds and asset managers, and the OKX perpetual funding rate, in markdown format.

## When to prefer this

Choose this endpoint when you need a comprehensive, pre-aggregated Ethereum market briefing that combines price, volume anomaly detection (z-score), trend context (200d MA), yield (stETH APR), institutional positioning (CFTC CME COT), and derivatives sentiment (OKX funding rate) in a single call. Prefer it over assembling individual data sources when you want LLM-ready markdown output or need all these signals in one structured payload for analysis or monitoring workflows.

## Known failure modes

- Date not on record — requested historical date has no data stored
- Invalid date format — query param doesn't match YYYY-MM-DD pattern
- Payment not received — x402 payment required before data is served
- Upstream data delay — CFTC COT data is weekly and may lag by several days
- Invalid format enum — value other than 'json' or 'markdown' rejected

## How this service works

Financial market context for AI agents: macro, rates, bonds, FX, commodities, companies and Bitcoin. One API call returns a briefing with the reasoning already in it.

## Output

A structured briefing with 9 Ethereum metrics: current price, 24-hour global trading volume, 30-day volume z-score, distance from the 200-day moving average, Lido stETH APR (7-day average), CME leveraged fund net position, CME asset manager net position, CME open interest (CFTC COT), and OKX ETH perpetual funding rate. Available in token-optimized markdown or structured JSON.

## 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": {
      "date": {
       "type": "string",
       "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
       "description": "Historical date in YYYY-MM-DD format. A paid call serves today or any ?date= on record."
      },
      "format": {
       "enum": [
        "json",
        "markdown"
       ],
       "type": "string",
       "description": "Response format. markdown is token-optimized for LLMs, json is structured. Default is markdown."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "metrics": {
   "ethereum-price": {
    "name": "ethereum-price"
   },
   "eth-staking-apr": {
    "name": "eth-staking-apr"
   },
   "eth-200d-distance": {
    "name": "eth-200d-distance"
   },
   "ethereum-volume-24h": {
    "name": "ethereum-volume-24h"
   },
   "okx-eth-funding-rate": {
    "name": "okx-eth-funding-rate"
   },
   "cot-eth-cme-open-interest": {
    "name": "cot-eth-cme-open-interest"
   },
   "ethereum-volume-zscore-30d": {
    "name": "ethereum-volume-zscore-30d"
   },
   "cot-eth-cme-asset-manager-net": {
    "name": "cot-eth-cme-asset-manager-net"
   },
   "cot-eth-cme-leveraged-funds-net": {
    "name": "cot-eth-cme-leveraged-funds-net"
   }
  },
  "briefing_used": "eth.context",
  "briefing_metadata": {
   "name": "Ethereum Context",
   "description": "Where Ether stands in the market: its price and its global 24 hour trading volume, with that volume's 30 day z score (CoinGecko); its distance from the 200 day average (PreReason's calculation on CoinGecko's daily closes); Lido's stETH APR, its 7 day average; the net positions of leveraged funds and asset managers in CME Ether futures, with open interest (the CFTC's weekly Commitments of Traders); and the funding rate on OKX's ETH perpetual (one venue, named as OKX's).",
   "metrics_count": 9,
   "correlations_count": 2
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/prereason-ethereum-context-50af3e1e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.prereason.com](https://www.zero.xyz/host/api.prereason.com/llms.txt)
