# Delx Success Rate

> Delx Success Rate is a paid API for AI agents from api.delx.ai, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-13).

Computes success rate and failure rate as percentages from a success count and total count

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/success-rate
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-success-rate-e252ae32
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_GXyJm97sZfnrmpPTuYsPu

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 delx-success-rate-e252ae32 -d '<json body>'
```

Example prompt: We had 4,750 successful requests out of 5,000 total — what's our success rate and failure rate?

## When to prefer this

Choose this endpoint when you need a cheap ($0.003), deterministic, stateless computation of success/failure rates from raw counts — ideal for SRE agents, ops pipelines, and health score workflows that already have the counts and just need the math done reliably without building it inline. Prefer over general-purpose LLM math when you need guaranteed deterministic output in machine-readable JSON.

## Known failure modes

- Missing required field (total or success) returns a validation error
- Total count of zero causes division-by-zero, likely returning an error or NaN
- Success count greater than total count is logically invalid and may return an error
- Non-numeric inputs for total or success fields will be rejected

## How this service works

Compute success and failure rates from success and total counts — call when computing success and failure rates from counts. Use for SRE/ops math agents buy from broad utility catalogs: SLA, error budget, success rate, and health scores with zero upstream cost. Returns deterministic machine-readable JSON for $0.003 USDC via x402 on Base. Execution is first-party, local-only, stateless, and memory-only with no paid upstream, no input retention, and no claim of live chain tip, web search, or medi…

## Output

Returns a deterministic JSON object containing the computed success rate (as a percentage), failure rate (as a percentage), and likely the raw input counts — all derived locally with no upstream dependencies.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "total": {
   "type": "number",
   "description": "Total attempts or events."
  },
  "success": {
   "type": "number",
   "description": "Count of successful outcomes."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "total": 100,
  "schema": "delx/util-success-rate/v1",
  "success": 97,
  "failure_rate_percent": 3,
  "success_rate_percent": 97
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-success-rate-e252ae32/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.delx.ai](https://www.zero.xyz/host/api.delx.ai/llms.txt)
