# Losbeto Correlation Matrix

> Losbeto Correlation Matrix is a paid API for AI agents from markets.losbeto.xyz, paid per call via x402, $0.18/call, status unknown (last checked 2026-09-14).

Returns a correlation matrix of asset price movements across multiple crypto markets for quantitative trading analysis.

## Facts

- Endpoint: GET https://markets.losbeto.xyz/correlation-matrix
- Price: $0.18/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/losbeto-correlation-matrix-9d9730c8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1KQGlgo4WBm2f2kr6sAhM

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability losbeto-correlation-matrix-9d9730c8
```

Example prompt: Pull the correlation matrix from Losbeto's markets API so I can see how crypto assets are moving relative to each other and identify which pairs are most tightly correlated right now.

## When to prefer this

Choose this endpoint when you need pairwise asset correlation data for quantitative crypto trading strategies, portfolio construction, or risk analysis — especially within a USDC micropayment x402 framework on Solana or Base. Prefer this over building your own correlation computation when you want a pre-computed matrix without managing raw price data pipelines.

## Known failure modes

- Invalid or unrecognized property filter returns empty or error response
- Payment failure via x402 results in 402 status and no data
- Service downtime or market data feed lag may return stale or null matrix
- Malformed request properties field returns 400 bad request
- Insufficient USDC balance causes payment rejection before data is returned

## How this service works

Losbeto: 67 endpoints x402 monetizados. Solana + Base. USDC micropayments para AI agents. Preços a partir de $0.003.

## Output

A JSON object containing a correlation matrix of crypto asset returns, with pairwise Pearson or similar correlation coefficients between tracked assets, indicating how closely each asset's price moves relative to others over the measured period.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "queryParams": {
     "type": "object",
     "properties": {
      "format": {
       "type": "string",
       "description": "Response format (json)"
      }
     }
    }
   }
  },
  "output": {
   "type": "object",
   "properties": {
    "example": {
     "type": "object",
     "description": "90-day cross-asset correlation matrix: BTC/ETH/SOL vs S&P, Nasdaq, gold, oil, dollar index and 20Y bonds — plus best diversifier and AI regime reading. Impossible on crypto-only nodes."
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ts": 1785019162,
  "assets": [
   "BTC",
   "ETH",
   "SOL",
   "SP500",
   "NASDAQ",
   "GOLD",
   "OIL",
   "USD_INDEX",
   "BONDS_20Y"
  ],
  "window": "90 daily returns",
  "product": "Cross-Asset Correlation Matrix",
  "version": "25.1.0-DISCOVERY",
  "provider": "Losbeto/Premium",
  "ai_reading": "AI reading unavailable — matrix above is complete.",
  "disclaimer": "Research, not financial advice.",
  "highlights": {
   "most_correlated": [
    [
     "SP500~NASDAQ",
     0.918
    ],
    [
     "BTC~ETH",
     0.886
    ],
    [
     "ETH~SOL",
     0.854
    ]
   ],
   "best_diversifiers": [
    [
     "ETH~GOLD",
     0.008
    ],
    [
     "BTC~BONDS_20Y",
     0.009
    ],
    [
     "BTC~NASDAQ",
     0.013
    ]
   ]
  },
  "methodology": "Pearson correlation of daily returns, Yahoo Finance closes."
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/losbeto-correlation-matrix-9d9730c8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from markets.losbeto.xyz](https://www.zero.xyz/host/markets.losbeto.xyz/llms.txt)
