{"uid":"cap_ngUmIe6aUCpnZrnh3R8O1","slug":"nonvisceral-eloisa-mousily-ngrok-free-dev-b0d02e5b","name":"BTC-Gold 14-Day Rolling Pearson Correlation API","description":"Bitcoin Gold correlation API: 14-day rolling Pearson correlation between BTC and gold spot. Returns rho, regime (LIQUIDITY_STRONG, LIQUIDITY_MILD, DECOUPLED, HEDGE_MILD, HEDGE_STRONG), interpretation. Cross-asset macro signal for risk-on/risk-off rotation strategies and AI agents tracking BTC's behavior as digital gold versus risk asset.","url":"https://nonvisceral-eloisa-mousily.ngrok-free.dev/api/btc-gold-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":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"regime":{"type":"string"},"rho_14d":{"type":"number"},"updated_at":{"type":"string"},"window_days":{"type":"number"},"interpretation":{"type":"string"}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_A5zGIhwCzvrEHp3pAp-ym","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the 14-day rolling Pearson correlation (rho) between Bitcoin and gold spot price, with regime classification and interpretation for macro cross-asset signal generation.","exampleAgentPrompt":"What's the current 14-day Pearson correlation between Bitcoin and gold — is BTC in a hedge or liquidity-driven regime right now, and what does the interpretation say about its behavior as digital gold versus a risk asset?","exampleUseCases":null,"resultDescription":"Returns a JSON object with rho_14d (Pearson correlation coefficient over the last 14 days), a regime label (one of LIQUIDITY_STRONG, LIQUIDITY_MILD, DECOUPLED, HEDGE_MILD, HEDGE_STRONG), a human-readable interpretation string, the window_days value (14), and an updated_at timestamp indicating data freshness.","failureModes":["Upstream price data unavailable — may return stale or error response","ngrok tunnel down or unreachable — HTTP 502 or connection timeout","No data for sufficient 14-day window — may return null rho or partial result","Rate limit or payment validation failure — HTTP 402 if x402 payment not processed correctly"],"whenToPreferThis":"Use this endpoint when you need a quantitative, rolling cross-asset correlation signal between BTC and gold to classify Bitcoin's macro regime (hedge vs liquidity/risk asset). Prefer this over generic price feeds when you need the regime label and interpretation ready for decision logic in rotation strategies, risk-on/risk-off signals, or when building AI agents that must reason about BTC's role in a macro portfolio. It complements the sibling BTC/ETH regime direction and liquidation endpoints on the same host for a bundled macro signal.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:44:32.342Z","isFirstParty":false}