{"uid":"cap_iYeMkZKsZK_zYLj7UiuxK","slug":"agentdata-api-crypto-asset-correlation-endpoint-dc2487de","name":"AgentData API — Crypto Asset Correlation Endpoint","description":"Pay-per-request crypto market data API for AI agents. 16 endpoints on Base Mainnet via x402 protocol. No accounts, no API keys. USDC micropayments from $0.001. Works with Claude Desktop, ElizaOS, and any MCP client.","url":"https://agentdata-api.com/api/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":{"data":{"type":"object","properties":{"ts":{"type":"string"},"period":{"type":"string"},"correlations":{"type":"object"}}},"success":{"type":"boolean"}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_m9wFpR1s3uneQdY-5ELBt","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes statistical correlation between pairs of crypto assets using historical price data, payable via USDC micropayment on Base Mainnet","exampleAgentPrompt":"What's the price correlation between BTC and ETH over the last 30 days? I want to know if they're moving together so I can think about portfolio diversification.","exampleUseCases":[{"title":"Portfolio diversification with uncorrelated assets","prompt":"I'm building a crypto portfolio and want to reduce risk. Can you find me a few major coins that are least correlated with Bitcoin over the past 90 days? I want to make sure I'm not just holding assets that all crash together."},{"title":"Hedge position with low-correlation token","prompt":"I have a big ETH position and I'm looking for a crypto asset that doesn't move in lockstep with it — something I could hold as a partial hedge. Can you check the correlation between ETH and a handful of altcoins like SOL, AVAX, and LINK over the last 60 days and tell me which one is the least correlated?"},{"title":"Validate trading pair momentum strategy","prompt":"I'm thinking about running a pairs trading strategy on BTC and SOL. Before I do, can you check how correlated their prices have been over the last 30 days? If they're too tightly correlated it might not be worth it, but if there's some divergence that could be interesting."}],"resultDescription":"Returns a correlation coefficient (typically -1 to 1) indicating the statistical price relationship between two specified crypto assets over a given time window, useful for portfolio analysis and risk management.","failureModes":["Unsupported asset ticker returns 400 or empty result","Insufficient historical data for the requested window","Payment failure on Base Mainnet returns 402 Payment Required","Invalid asset pair format causes request rejection","Rate limits or network issues on Base Mainnet causing timeout"],"whenToPreferThis":"Use this endpoint when you need on-demand, pay-per-use crypto correlation data without signing up for an account or managing API keys — especially suitable for AI agents running autonomously with a USDC wallet on Base Mainnet. Prefer this over subscription-based data providers when usage is sporadic or cost-per-query matters.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:46:39.948Z","isFirstParty":false}