# DripMetrics AI – Hyperliquid Beta Endpoint

> DripMetrics AI – Hyperliquid Beta Endpoint is a paid API for AI agents from api.dripmetrics.ai, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-14).

Computes beta coefficient of a Hyperliquid trading pair against a benchmark (e.g. SP500) using aligned 1-minute candle data over a specified window

## Facts

- Endpoint: POST https://api.dripmetrics.ai/hyperliquid/beta
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/dripmetrics-ai-hyperliquid-beta-endpoint-4804b532
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_9wxHPhbzxjm57ErMKk9wu

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 dripmetrics-ai-hyperliquid-beta-endpoint-4804b532 -d '<json body>'
```

Example prompt: What's the beta of xyz:SPCX against SP500 on Hyperliquid over the last hour using 1-minute candles? I want to know how correlated it is and get the r-squared and covariance breakdown too.

## When to prefer this

Choose this endpoint when you need real-time beta computation specifically for Hyperliquid perpetual pairs against a benchmark index, with full statistical decomposition (R-squared, covariance, correlation). Prefer it over generic finance APIs when you need Hyperliquid-native candle data aligned at 1-minute resolution and want on-demand pay-per-call pricing via x402 rather than a subscription.

## Known failure modes

- Insufficient overlapping candles between pair and benchmark returns an error or low observation count
- Invalid or unsupported trading pair symbol results in a 4xx error
- Benchmark symbol not recognized causes computation failure
- Short time window yields statistically unreliable beta with very few observations
- Service unavailability from Hyperliquid upstream candle source causes failure

## How this service works

DripMetricsAI (https://dripmetrics.ai/) provides on-demand crypto market microstructure metrics, Hyperliquid candle metrics, Polymarket diagnostics, and on-chain DefiLlama metrics for agents, dashboards, and trading workflows.

## Output

Returns a JSON object with the computed beta value, R-squared, covariance, correlation, observation count, target and benchmark mean returns, benchmark variance, sample type, computation timestamp, window/interval metadata, and first/last candle timestamps — all derived from aligned 1-minute Hyperliquid candles.

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "pair": "xyz:SPCX",
  "value": 1.184213,
  "metric": "beta",
  "source": {
   "candles": "https://api.hyperliquid.xyz/info"
  },
  "window": "1h",
  "interval": "1m",
  "benchmark": "xyz:SP500",
  "components": {
   "rSquared": 0.412573,
   "covariance": 1.2314e-8,
   "sampleType": "aligned_1m_candles",
   "correlation": 0.642318,
   "observations": 58,
   "commonCandles": 59,
   "targetMeanReturn": 0.00004218,
   "benchmarkVariance": 1.0398e-8,
   "benchmarkMeanReturn": 0.00003527
  },
  "computedAt": "2026-05-29T16:00:00.000Z",
  "sampleSize": {
   "candles": 60,
   "benchmarkCandles": 60
  },
  "lastCandleTime": "2026-05-29T15:59:59.999Z",
  "firstCandleTime": "2026-05-29T15:00:00.000Z"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/dripmetrics-ai-hyperliquid-beta-endpoint-4804b532/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.dripmetrics.ai](https://www.zero.xyz/host/api.dripmetrics.ai/llms.txt)
