# Delx Nonce Hex

> Delx Nonce Hex 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-14).

Generates a cryptographically random hex-encoded nonce of a specified byte length for use as idempotency keys or request identifiers.

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/nonce-hex
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-nonce-hex-33cfb1ee
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_VLT0uMRRzBEqqVU_udYhd

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-nonce-hex-33cfb1ee -d '<json body>'
```

Example prompt: Generate a 16-byte random hex nonce I can use as an idempotency key for my next API request.

## When to prefer this

Choose this endpoint when you need a lightweight, stateless, no-setup way to generate a random hex nonce for idempotency keys, request deduplication, or signing headers — especially inside an agent pipeline that already uses x402 micropayments on Base and wants a local JSON result with no API keys or retained state.

## Known failure modes

- Invalid or missing bytes field returns a 4xx error
- bytes value too large or negative may cause a validation error
- Network timeout or service unavailability returns a 5xx error
- Payment failure via x402 prevents the call from completing

## How this service works

Generate a random hex nonce. Call when you need request nonces for agent idempotency keys. Returns hex nonce and byte length for $0.001 USDC via x402 on Base. No network, no keys, no retention; first-party local JSON only. Results are advisory; the caller owns budgets, auth, and production controls.

## Output

Returns a JSON object containing the generated hex-encoded nonce string and the byte length used to produce it, with no server-side retention of the value.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "bytes": {
   "type": "integer",
   "description": "Input field: bytes."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "hex": "af108c381d9aeaa3",
  "bytes": 8,
  "schema": "delx/util-nonce-hex/v1"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-nonce-hex-33cfb1ee/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)
