# Losbeto Correlation Matrix

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

Returns a correlation matrix across financial assets or market data streams, payable via USDC micropayment on Solana or Base.

## Facts

- Endpoint: GET https://api.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-ae58c8ee
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Sdz9wI_o4jvkGHyqNnnQJ

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-ae58c8ee
```

Example prompt: Pull the correlation matrix from Losbeto for my set of crypto assets so I can see which pairs move together — I'll pay the USDC fee per call.

## When to prefer this

Choose this endpoint when you need on-demand, pay-per-call correlation matrix computation for crypto or multi-chain financial assets and want to settle fees instantly in USDC via x402 on Solana or Base — especially useful for AI trading agents that require programmatic risk analytics without a subscription.

## Known failure modes

- Missing or invalid 'properties' parameter returns an error or empty matrix
- Insufficient USDC balance or failed x402 payment results in a 402 Payment Required response
- Unknown asset identifiers may return null or zero correlations
- Service downtime on api.losbeto.xyz yields a 5xx error
- Malformed JSON input schema causes a 400 Bad Request

## How this service works

OpenAI-compatible LLM gateway at $0.005/call — change base_url, pay in USDC. Plus pay-per-call market data: multi-oracle price consensus, sentiment, forex, equities, commodities, Brazil macro (BCB/B3) and crypto. No API keys, no accounts. USDC on Base, Solana and Algorand via x402.

## Output

A JSON response containing a correlation matrix — a square table of pairwise correlation coefficients (typically ranging from -1 to 1) between the requested assets or market data properties, useful for portfolio risk analysis, pairs trading, and diversification decisions.

## 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"
}
```

## More

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