# Delx Redact Digits

> Delx Redact Digits 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).

Replaces all digit characters in a text string with '#' symbols to safely mask numeric PII before display.

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/redact-digits
- 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-redact-digits-fd29be52
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_OQ4l8pOUDR8JmBXtOuQa2

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-redact-digits-fd29be52 -d '<json body>'
```

Example prompt: Before showing this to the user, redact all the digits in this text: 'Call us at 415-555-0123 or use card 4111 1111 1111 1111 for payment.'

## When to prefer this

Choose this endpoint when you need a lightweight, stateless, pay-per-call digit-masking transform with no API keys, no data retention, and predictable $0.001 cost. Ideal for agent pipelines that need to sanitize numeric PII (phone numbers, card numbers, SSNs, OTPs) before rendering output to users, especially when you want to avoid building or maintaining your own regex-based redaction logic. Not suitable if you need to redact other PII types (names, emails) or require format-preserving encryption.

## Known failure modes

- Empty or missing 'text' field returns an error
- Extremely large text payloads may be rejected or time out
- Payment failure (insufficient USDC balance or x402 protocol issue) prevents the call from completing
- Non-string input type may cause a validation error

## How this service works

Replace digits with # for safe previews. Call when you strip numeric PII from agent-held text before display. Returns digit-redacted text 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 the input text with every digit character (0-9) replaced by '#', preserving all non-numeric characters (letters, spaces, punctuation, special characters) exactly as-is. The response is a local JSON object with the redacted string; no data is retained by the service.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "description": "Input field: text."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "text": "card #### #### #### ####",
  "schema": "delx/util-redact-digits/v1"
 }
}
```

## More

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