# SLA Downtime Calculator

> SLA Downtime Calculator is a paid API for AI agents from data-calc.x402tookit.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-29).

Converts an SLA availability percentage into allowed downtime per day, month, and year, with optional series and parallel composition of components.

## Facts

- Endpoint: GET https://data-calc.x402tookit.com/sla-downtime?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sla-downtime-calculator-79296cb2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_7csEqjUxmtu7TA5yovBM2

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 sla-downtime-calculator-79296cb2
```

Example prompt: What's the allowed downtime per day, month, and year for a 99.9% SLA? Also show me how it changes if I run 3 identical replicas in parallel.

## When to prefer this

Use this endpoint when you need to quickly translate an SLA percentage into concrete downtime budgets, or to compute the effective availability of multi-component architectures with series and/or parallel redundancy — ideal for capacity planning, SLA negotiation, and reliability engineering workflows.

## Known failure modes

- Missing required 'availability' query parameter returns an error
- Availability value outside 0–99.99999999 range is rejected
- Invalid 'replicas' value (outside 1–20 or non-integer) causes an error
- Malformed comma-separated 'seriesWith' values may produce unexpected results
- Network or payment failure (402) if USDC balance is insufficient

## How this service works

SLA availability (99.9 percent, three nines) to allowed downtime per day, month and year; series and parallel composition.

## Output

Returns the availability percent, number of nines, allowed downtime broken down by period (day, month, year) with human-readable strings and seconds, a summary, verdict, and optional degradation flag — accounting for any parallel replicas or series components specified.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "availability"
     ],
     "properties": {
      "replicas": {
       "type": "integer",
       "description": "Identical independent replicas of this component, any one of which suffices (parallel), 1 to 20"
      },
      "seriesWith": {
       "type": "string",
       "description": "Other availabilities (percent, comma separated) of components that must ALL work, in series with this one"
      },
      "availability": {
       "type": "number",
       "description": "Availability in percent, 0 to 99.99999999 (99.9 = three nines)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "asOf": {
       "type": [
        "null",
        "string"
       ]
      },
      "nines": {
       "type": [
        "null",
        "number"
       ]
      },
      "source": {
       "type": [
        "null",
        "string"
       ]
      },
      "reasons": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "summary": {
       "type": [
        "null",
        "string"
       ]
      },
      "verdict": {
       "type": [
        "null",
        "string"
       ]
      },
      "degraded": {
       "type": [
        "boolean",
        "null"
       ]
      },
      "disclaimer": {
       "type": [
        "null",
        "string"
       ]
      },
      "notChecked": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "allowedDowntime": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "object",
        "properties": {
         "period": {
          "type": [
           "null",
           "string"
          ]
         },
         "downtime": {
          "type": [
           "null",
           "string"
          ]
         },
       
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/sla-downtime-calculator-79296cb2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from data-calc.x402tookit.com](https://www.zero.xyz/host/data-calc.x402tookit.com/llms.txt)
