# Crypto Correlation Matrix — crypto-technicals-x402

> Crypto Correlation Matrix — crypto-technicals-x402 is a paid API for AI agents from vmi3089643.contaboserver.net, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Returns a pairwise price-return correlation matrix for a set of crypto symbols over a specified lookback window, computed from Binance spot klines.

## Facts

- Endpoint: GET https://vmi3089643.contaboserver.net/v1/correlation
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/crypto-correlation-matrix-crypto-technicals-x402-fbaca2b1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_3u9gmvHSMH2PgIe4kU4vr

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 crypto-correlation-matrix-crypto-technicals-x402-fbaca2b1
```

Example prompt: Can you compute the 60-day price-return correlation matrix for BTCUSDT, ETHUSDT, and SOLUSDT so I can see how closely they move together?

## When to prefer this

Choose this endpoint when you need quantitative pairwise correlation between crypto assets derived from actual Binance spot klines, especially within the context of a trend-following or portfolio-construction workflow. Prefer it over generic financial data APIs when you want correlation tightly integrated with the same data pipeline used for trend regime, Donchian levels, and ATR-based analysis on the same server.

## Known failure modes

- Invalid or unrecognized symbol ticker returns an error or empty result
- Requesting too many symbols may cause timeout or oversized response
- Very short day windows (e.g. days=1) may return insufficient data
- Server unavailability on the Contabo VPS can cause connection timeouts
- Missing required 'symbols' or 'days' query params may return a 400 error

## How this service works

Pay-per-call crypto technical analysis for AI agents (x402, USDC on Base). Daily trend regime, Donchian levels, ATR stops, signals and backtests computed with the code of a live trend-following bot from Binance spot klines.

## Output

A JSON object containing the list of requested symbols, the number of lookback days used, and a square pairwise correlation matrix (values from -1 to 1) where each cell represents the return correlation between two assets. Example: {"days":60,"symbols":["BTCUSDT","ETHUSDT"],"matrix":[[1,0.82],[0.82,1]]}.

## 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": {
      "days": {
       "type": "number"
      },
      "symbols": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "days": 60,
  "matrix": [
   [
    1,
    0.82
   ],
   [
    0.82,
    1
   ]
  ],
  "symbols": [
   "BTCUSDT",
   "ETHUSDT"
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/crypto-correlation-matrix-crypto-technicals-x402-fbaca2b1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from vmi3089643.contaboserver.net](https://www.zero.xyz/host/vmi3089643.contaboserver.net/llms.txt)
