# Mecker Capital Crypto Pair Backtest Statistics

> Mecker Capital Crypto Pair Backtest Statistics is a paid API for AI agents from api.meckercapital.com, paid per call via x402, $0.100000/call, status unknown (last checked 2026-09-15).

Returns historical backtest performance metrics for a specific crypto perpetual futures pair trade, including total return, Sharpe ratio, max drawdown, win rate, and trade count.

## Facts

- Endpoint: GET https://api.meckercapital.com/v1/backtest/:pair_key
- Price: $0.100000/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-meckercapital-com-0658574b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_QLmiNlRa59EzpJqhSgk6V

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-0658574b
```

Example prompt: Can you pull up the historical backtest stats for the BTC-ETH pair trade on Mecker Capital — I want to see the total return, Sharpe ratio, max drawdown, and win rate?

## When to prefer this

Use this endpoint when you need historical performance validation for a specific crypto pair trade strategy — particularly Sharpe ratio, drawdown, and win rate — before deploying capital. Prefer this over the real-time z-score endpoint when you want strategy-level risk/return metrics rather than current trading signals.

## Known failure modes

- Invalid or unrecognized pair_key returns a 404 or error response
- Pair key not in cointegrated universe returns empty or null statistics
- Payment failure (insufficient USDC balance) results in 402 response
- Malformed pair_key path parameter causes 400 bad request
- Network timeout if backtest computation is resource-intensive

## How this service works

Get historical backtest statistics for a crypto pair trade — total return, Sharpe ratio, max drawdown, win rate, trade count. Quantitative strategy performance for statistical arbitrage on perpetual futures.

## Output

Returns a JSON object containing the pair key, total return percentage, Sharpe ratio, max drawdown percentage, win rate, total trade count, and average holding duration in bars for the specified cointegrated crypto perpetual futures pair.

## 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",
       "description": "Short pair key."
      }
     }
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "pair_key": {
       "type": "string"
      },
      "win_rate": {
       "type": "number"
      },
      "sharpe_ratio": {
       "type": "number"
      },
      "total_trades": {
       "type": "integer"
      },
      "avg_hold_bars": {
       "type": "number"
      },
      "max_drawdown_pct": {
       "type": "number"
      },
      "total_return_pct": {
       "type": "number"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-meckercapital-com-0658574b/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)
