{"uid":"cap_3c756X84mOCGFI9CuChkB","slug":"crypto-correlation-vs-benchmark-x402-4b834de3","name":"Crypto Correlation vs Benchmark (x402)","description":"Pay-per-call stock, macro, on-chain, and crypto data over the x402 protocol. USDC on Base or Solana, no API keys, no subscriptions.","url":"https://x402-stock-indicators.vercel.app/crypto-correlation/%7Bsymbol%7D","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"required":{"type":"string"},"properties":{"type":"string"}}},"responseSchema":{"type":"json","example":{"days":90,"note":null,"as_of":"2026-08-09T12:00:00Z","symbol":"ETH","benchmark":"QQQ","correlation":0.5124,"sample_size":62,"coingecko_id":"ethereum","interpretation":"moderate positive"}},"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_8t34VNEkVSQVhn28aqYcb","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 the rolling 90-day price correlation between a crypto asset and a benchmark index (e.g. QQQ), paid per-call via USDC over the x402 protocol.","exampleAgentPrompt":"What's the 90-day price correlation between ETH and QQQ right now — is it positively correlated, negatively, or basically independent?","exampleUseCases":[{"title":"Portfolio diversification check","prompt":"I'm considering adding ETH to my equity portfolio. Can you tell me how correlated ETH has been with QQQ over the last 90 days so I know if it actually diversifies my holdings?"},{"title":"Crypto-macro regime monitoring","prompt":"I want to know whether Bitcoin is currently moving in sync with tech stocks — pull the 90-day correlation between BTC and QQQ and tell me if it's a strong positive, moderate, or basically uncorrelated."},{"title":"Altcoin decoupling analysis","prompt":"Has Solana been decoupling from the Nasdaq recently? Check the rolling correlation of SOL against QQQ and tell me the coefficient and what it means."}],"resultDescription":"A JSON object containing the correlation coefficient (e.g. 0.51), a human-readable interpretation ('moderate positive', 'weak negative', etc.), the benchmark used, the crypto symbol and its CoinGecko ID, the number of trading days sampled, the lookback window in days, and the as-of timestamp of the calculation.","failureModes":["Unknown or unsupported crypto symbol returns an error or null correlation","Payment not received / x402 handshake fails — call returns 402 Payment Required","Insufficient price history for the symbol results in a low sample_size or null","Benchmark symbol not recognized returns an error","CoinGecko data unavailable for the requested asset"],"whenToPreferThis":"Choose this endpoint when you need a quantitative, ready-to-use correlation metric between a specific crypto asset and an equity benchmark without setting up API keys or subscriptions — ideal for on-demand portfolio analysis, macro regime checks, or agent workflows where pay-per-call USDC micropayments via x402 are preferable to recurring SaaS billing.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-12T00:30:01.749Z","isFirstParty":false}