# X402 Delivery Status Check

> X402 Delivery Status Check 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).

Validates whether an HTTP delivery status code is among a caller-supplied set of accepted success codes, returning acceptance or rejection with normalized evidence and mismatch reasons for x402 agent delivery flows.

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/x402-delivery-status-check
- 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/x402-delivery-status-check-c3f43c4e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1cOvzV7W2-r9HrWyDaSPS

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 x402-delivery-status-check-c3f43c4e -d '<json body>'
```

Example prompt: Before we accept and pay for this x402 delivery, check if the returned HTTP status 200 is valid given our accepted success codes [200, 201, 202] — tell me whether we should accept or reject it and why.

## When to prefer this

Use this endpoint when you need a deterministic, in-memory, stateless check of an HTTP status code against a caller-defined set of accepted codes within an x402 or agentic delivery pipeline — especially before committing payment or accepting a delivery payload. Prefer this over manual comparisons when you need normalized evidence, mismatch reasons, and an explicit versioned accept/reject verdict suitable for audit trails or contract enforcement.

## Known failure modes

- Status integer outside valid HTTP range may yield unexpected classification results
- Empty accepted_statuses array will always result in rejection
- accepted_statuses array exceeding 256 items will be rejected by schema validation
- Non-integer status values will fail input validation
- Network error reaching the endpoint returns no validation result

## How this service works

X402 Delivery Status Check: X402 Delivery Status Check classifies delivery HTTP status against accepted success codes from bounded caller-supplied values without an external provider. Call X402 Delivery Status Check before paying for or accepting an x402 or agent delivery assembled from caller-supplied challenge and result metadata. Returns contract-specific checks, normalized evidence, mismatch reasons, and an explicit acceptance or rejection status for X402 Delivery Status Check as versioned…

## Output

Returns contract-specific validation results including an explicit accept or reject decision, normalized evidence of the status comparison, and a list of mismatch reasons explaining why the status was or was not within the accepted codes. Response is versioned and stateless — no data is retained.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "status": {
   "type": "integer",
   "description": "Status supplied to X402 Delivery Status Check; used only for this bounded calculation and processed in memory without retention."
  },
  "accepted_statuses": {
   "type": "array",
   "items": {
    "type": "integer"
   },
   "maxItems": 256,
   "description": "Accepted Statuses supplied to X402 Delivery Status Check; used only for this bounded calculation and processed in memory without retention."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "status": 200,
   "accepted": true,
   "accepted_statuses": [
    200,
    201
   ]
  },
  "schema": "delx/util-x402-delivery-status-check/v1",
  "status": "pass",
  "evidence": {
   "retained": false,
   "input_sha256": "ec66015a70d65b7a2e71745b867a2956516fe4253c9db40194da8e70462fd249",
   "external_calls": 0
  },
  "operation": "delivery_contract:x402_delivery_status_check"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-delivery-status-check-c3f43c4e/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)
