{"uid":"cap_3u9gmvHSMH2PgIe4kU4vr","slug":"crypto-correlation-matrix-crypto-technicals-x402-fbaca2b1","name":"Crypto Correlation Matrix — crypto-technicals-x402","description":"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.","url":"https://vmi3089643.contaboserver.net/v1/correlation","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"],"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"}}}}},"responseSchema":{"type":"json","example":{"days":60,"matrix":[[1,0.82],[0.82,1]],"symbols":["BTCUSDT","ETHUSDT"]}},"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_iNF2bfuayfddoYD0pw8bs","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 a pairwise price-return correlation matrix for a set of crypto symbols over a specified lookback window, computed from Binance spot klines.","exampleAgentPrompt":"Can you compute the 60-day price-return correlation matrix for BTCUSDT, ETHUSDT, and SOLUSDT so I can see how closely they move together?","exampleUseCases":[{"title":"Portfolio diversification check","prompt":"I want to know how correlated BTCUSDT, ETHUSDT, BNBUSDT, and SOLUSDT have been over the last 90 days — show me the full correlation matrix so I can see if my portfolio is actually diversified."},{"title":"Pair trading candidate search","prompt":"Can you pull the 30-day correlation matrix for BTCUSDT, ETHUSDT, AVAXUSDT, and DOTUSDT? I'm looking for pairs with very high correlation that might be good candidates for a statistical arbitrage strategy."},{"title":"Risk assessment before adding a new coin","prompt":"I already hold BTCUSDT and ETHUSDT. How correlated is LINKUSDT with those two over the last 60 days? I want to know if adding it would actually reduce my concentration risk."}],"resultDescription":"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]]}.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T13:06:21.474Z","isFirstParty":false}