# Delx Status Class

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

Classifies an HTTP status code into its family (1xx–5xx) and returns a machine-readable retry hint

## Facts

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

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-status-class-d44e518b -d '<json body>'
```

Example prompt: Can you classify HTTP status code 429 into its family and tell me whether I should retry the request?

## When to prefer this

Choose this endpoint when you need a fast, deterministic, stateless classification of a single HTTP status code with an explicit retry hint — particularly during agent preflight checks, retry-loop decision points, or SRE-style monitoring pipelines where you want machine-readable output without building your own branching logic. Prefer it over ad-hoc conditionals in agent code when you want consistent, auditable classification across all your Delx micro-utility workflows.

## Known failure modes

- Invalid or non-integer status_code input returns a validation error
- Status codes outside the standard 100–599 range may return an error or unknown classification
- Missing status_code field in the request body returns a 400-level error
- Network or service unavailability returns a timeout or 5xx from the utility itself

## How this service works

Classify an HTTP status code into family with retry hint — first-party local utility for agent preflight and proven micro-utils expansion. Returns deterministic machine-readable JSON for $0.001 USDC via x402 on Base. Execution is first-party, local-only, stateless, and memory-only with no paid upstream, no input retention, no web search, no live RPC, and no mediagen. Results are advisory; the caller owns authorization, budgets, and production controls. Sibling of Delx routes that already conver…

## Output

A deterministic JSON object containing the HTTP status code family (e.g. 2xx, 4xx, 5xx), a human-readable family label (e.g. 'Client Error'), and a boolean or categorical retry hint indicating whether the caller should attempt a retry for that class of response.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "status_code": {
   "type": "integer",
   "description": "Input field: status code."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "family": 5,
  "schema": "delx/util-status-class/v1",
  "success": false,
  "class_label": "server_error",
  "status_code": 503,
  "retryable_hint": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-status-class-d44e518b/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)
