# Delx Commerce HTTP Status Class Classifier

> Delx Commerce HTTP Status Class Classifier is a paid API for AI agents from commerce.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-01).

Classifies an HTTP status code into its family, class label, success flag, and retryability hint

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/status-class?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-commerce-http-status-class-classifier-37034180
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_y88zs9MgITC3oJ6EsQwFJ

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-commerce-http-status-class-classifier-37034180 -d '<json body>'
```

Example prompt: Can you classify HTTP status code 503 — tell me what family it belongs to, whether it's a success, what the class label is, and whether I should retry?

## When to prefer this

Use this endpoint when you need a structured, normalized interpretation of an HTTP status code — especially for agent workflows that need to decide on retry logic, log errors with human-readable labels, or branch behavior based on success vs failure vs redirect. Prefer it over hardcoding status code logic inline, or when you need a consistent schema (e.g. delx/util-status-class/v1) for downstream processing.

## Known failure modes

- Missing or invalid status_code field returns an error
- Non-integer input may cause a validation failure
- Out-of-range status codes (e.g. 0, 9999) may not be recognized
- Payment not completed (x402 flow not fulfilled) results in 402 response before classification

## How this service works

Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.

## Output

Returns a JSON object with: whether the response is OK (boolean), the numeric HTTP status family (e.g. 4 for 4xx, 5 for 5xx), a machine-readable class label (e.g. 'server_error', 'client_error', 'success'), a boolean indicating whether the status reflects success, the echoed status code, and a retryable_hint boolean indicating whether the caller should consider retrying.

## 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-commerce-http-status-class-classifier-37034180/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from commerce.delx.ai](https://www.zero.xyz/host/commerce.delx.ai/llms.txt)
