# Crypto-Equity Correlation

> Crypto-Equity Correlation is a paid API for AI agents from www.x402financialdata.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-13).

Returns rolling correlation between a crypto asset's daily returns and a stock/index ticker (default SPY) over a configurable lookback window (14–365 days, default 90)

## Facts

- Endpoint: GET https://www.x402financialdata.com/crypto-correlation/:symbol
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/crypto-equity-correlation-b89b225b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_GfxMati5sNi0QB2jvc9U8

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-equity-correlation-b89b225b
```

Example prompt: What's the 90-day rolling correlation between ETH and QQQ — is Ethereum still trading like a risk-on asset alongside tech stocks?

## When to prefer this

Choose this endpoint when you need a quantitative cross-asset correlation signal between a specific crypto and an equity benchmark, especially for risk-on/risk-off regime analysis, portfolio diversification assessment, or systematic trading signals. Prefer over generic crypto data endpoints when the user question involves how crypto co-moves with traditional markets like SPY, QQQ, or individual stocks.

## Known failure modes

- Invalid or unsupported crypto symbol returns an error or empty result
- Invalid stock/index benchmark ticker not found on Yahoo Finance
- Lookback window outside 14–365 day range rejected
- Insufficient price history for the requested window (e.g. newly listed coin)
- Data unavailability from CoinGecko or Yahoo Finance on weekends/holidays may affect freshness
- Payment not processed (402 response) if x402 header missing or USDC balance insufficient

## How this service works

Rolling correlation between a crypto asset's daily returns and a stock/index ticker's (default SPY) over a lookback window (default 90 days, range 14-365) -- a cross-asset signal, e.g. is ETH still trading like a risk asset correlated with QQQ. Combines CoinGecko and Yahoo Finance daily closes. $0.01/call.

## Output

A rolling correlation coefficient (typically between -1 and +1) between the specified crypto asset's daily returns and the chosen equity benchmark over the lookback window, computed from CoinGecko crypto price history and Yahoo Finance equity closes. Indicates whether the crypto is moving in sync with, opposite to, or independently of the benchmark.

## 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"
    },
    "pathParams": {
     "type": "object",
     "required": [
      "symbol"
     ],
     "properties": {
      "symbol": {
       "type": "string",
       "description": "Coin ticker, e.g. BTC, ETH, SOL"
      }
     }
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "days": {
       "type": "integer",
       "description": "Lookback window in days, default 90, range 14-365."
      },
      "benchmark": {
       "type": "string",
       "description": "Stock/index ticker to correlate against, default SPY."
      }
     }
    }
   },
   "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/crypto-equity-correlation-b89b225b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from www.x402financialdata.com](https://www.zero.xyz/host/www.x402financialdata.com/llms.txt)
