{"uid":"cap_GfxMati5sNi0QB2jvc9U8","slug":"crypto-equity-correlation-b89b225b","name":"Crypto-Equity Correlation","description":"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.","url":"https://www.x402financialdata.com/crypto-correlation/:symbol","method":"GET","headers":{},"bodySchema":{"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"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_HNZF2wL14kEbWBvDQbZ6F","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"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)","exampleAgentPrompt":"What's the 90-day rolling correlation between ETH and QQQ — is Ethereum still trading like a risk-on asset alongside tech stocks?","exampleUseCases":[{"title":"Risk-on/risk-off regime detection","prompt":"Is Bitcoin still correlated with SPY over the last 90 days, or has it started to decouple from equities?"},{"title":"Alt-season cross-asset signal","prompt":"Check the 30-day rolling correlation between SOL and QQQ — I want to know if Solana is trading like a high-beta tech asset right now."},{"title":"Portfolio diversification check","prompt":"Run the 180-day correlation between ETH and SPY for me — I'm trying to figure out if adding crypto actually diversifies my equity portfolio or if they move together."}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T12:52:33.168Z","isFirstParty":false}