# Mecker Capital Z-Score History API

> Mecker Capital Z-Score History API is a paid API for AI agents from api.meckercapital.com, paid per call via x402, $0.250000/call, status unknown (last checked 2026-09-14).

Returns a historical time series of z-scores and regime data for a crypto perpetual futures pair, at hourly or daily intervals, for charting and backtesting mean reversion strategies.

## Facts

- Endpoint: GET https://api.meckercapital.com/v1/premium/signals/:pair_key/history
- Price: $0.250000/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-meckercapital-com-581da446
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_sU7glZtl4oqEFbOyMg6uN

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 api-meckercapital-com-581da446
```

Example prompt: Pull the hourly z-score history for the ETH-BTC pair going back 168 periods so I can chart the mean reversion signal and calibrate entry thresholds.

## When to prefer this

Use this endpoint when you need a time series of z-scores for charting, visual analysis, or backtesting a mean reversion strategy on a specific cointegrated crypto pair. Prefer this over the single current z-score endpoint when you need historical context, calibration data, or want to evaluate how stable a signal has been. Choose hourly for intraday analysis and daily for longer-term regime studies up to 720 periods.

## Known failure modes

- Invalid pair_key returns 404 or empty result — pair may not be cointegrated or tracked
- lookback out of range (below 1 or above 720) returns validation error
- Invalid interval value (not '1h' or '1d') returns schema validation error
- Payment not included or insufficient USDC triggers 402 Payment Required
- Rate limiting or quota exceeded may return 429
- Service unavailable returns 503

## How this service works

Historical z-score time series for a crypto pair — hourly or daily intervals. Use for charting, calibration, and backtesting mean reversion signals on perpetual futures.

## Output

A JSON object containing an array of historical z-score data points for the specified crypto pair, the interval used (1h or 1d), the pair_key, and the current regime classification. Each array item represents one time period's z-score reading.

## Request schema (JSON Schema)

```json
{
 "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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object",
     "required": [
      "pair_key"
     ],
     "properties": {
      "pair_key": {
       "type": "string"
      }
     }
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "interval": {
       "enum": [
        "1h",
        "1d"
       ],
       "type": "string"
      },
      "lookback": {
       "type": "integer",
       "maximum": 720,
       "minimum": 1
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "regime": {
       "type": "string"
      },
      "history": {
       "type": "array",
       "items": {
        "type": "object"
       }
      },
      "interval": {
       "type": "string"
      },
      "pair_key": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-meckercapital-com-581da446/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.meckercapital.com](https://www.zero.xyz/host/api.meckercapital.com/llms.txt)
