# El Niño Market Watch – Historical Event Composites

> El Niño Market Watch – Historical Event Composites is a paid API for AI agents from trading-perps.vercel.app, paid per call via x402, $0.1/call, status unknown (last checked 2026-09-14).

Returns indexed-to-100 price paths for 21 commodities across 14 historical El Niño events (1951–2026) with median, p25, and p75 envelopes around event onset

## Facts

- Endpoint: GET https://trading-perps.vercel.app/api/composites
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/el-ni-o-market-watch-historical-event-composites-7c33b950
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_BpnG-XRfReTuD1BRzNIVe

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 el-ni-o-market-watch-historical-event-composites-7c33b950
```

Example prompt: Pull the El Niño Market Watch composite data — I want to see the median, p25, and p75 indexed price paths across all 21 commodities for the 14 historical El Niño events so I can benchmark how markets typically move around event onset.

## When to prefer this

Choose this endpoint when you need pre-computed, historically normalized commodity price composites specifically tied to El Niño event onset — particularly for backtesting ENSO-driven trading strategies, building research charts, or comparing current El Niño conditions against historical templates. It is purpose-built for the 21 ENSO-sensitive commodities tracked by El Niño Market Watch and saves the work of manually aggregating and indexing 14 historical episodes.

## Known failure modes

- Payment not provided or insufficient (x402 payment required, 0.1 USDC) — returns 402 Payment Required
- Service unavailable or cold-start latency on Vercel serverless — returns 503 or timeout
- Data not yet computed for a future event window — returns empty arrays or partial data
- Malformed response if upstream NOAA or price data sources are unavailable

## How this service works

El Niño event composites from El Niño Market Watch: 14 historical events (1951–2026) across 21 commodities, indexed-to-100 price paths around event onset with median/p25/p75 envelopes — the computed asset behind the dashboard charts.

## Output

A JSON object keyed by commodity, where each entry contains arrays for median, p25, and p75 indexed price paths (normalized to 100 at event onset), a window_months array indicating the month offsets relative to onset, and an events array with the individual historical event price paths across the 14 El Niño episodes from 1951 to 2026.

## 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": [],
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "additionalProperties": {
      "type": "object",
      "properties": {
       "p25": {
        "type": "array"
       },
       "p75": {
        "type": "array"
       },
       "events": {
        "type": "array"
       },
       "median": {
        "type": "array"
       },
       "window_months": {
        "type": "array",
        "items": {
         "type": "number"
        }
       }
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/el-ni-o-market-watch-historical-event-composites-7c33b950/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from trading-perps.vercel.app](https://www.zero.xyz/host/trading-perps.vercel.app/llms.txt)
