# Delx Redact Emails in Text

> Delx Redact Emails in Text 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).

Replaces email address patterns in a text string with a safe placeholder, returning the sanitized text.

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/redact-emails
- 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-redact-emails-in-text-6458a281
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Geae8_Td-Im2fBFuKx9B7

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-emails-in-text-6458a281 -d '<json body>'
```

Example prompt: Before I publish these support logs, can you redact any email addresses in this text: 'User john.doe@example.com contacted support@company.com on Tuesday asking about their order'?

## When to prefer this

Use this endpoint when you need a deterministic, first-party, no-subscription micro-service to redact email addresses from text before publishing logs, support dumps, RAG document chunks, or any content where PII leakage is a concern. Prefer it over regex-only client-side approaches when you want an auditable external call, and over heavyweight NLP-based PII services when you only need email-pattern redaction at low cost ($0.001 USDC per call via x402 on Base).

## Known failure modes

- Text exceeds 100,000 character limit — returns a structured validation error (not billed)
- Missing or null 'text' field in request body — returns validation error
- Payment not provided or insufficient — returns 402 Payment Required
- Network timeout or service unavailability — returns 5xx error

## How this service works

Redact emails in text. Call before publishing logs, support dumps, or RAG snippets that may contain addresses. Returns text with email-like spans replaced by a safe placeholder. $0.001 USDC per successful call via x402 on Base—deterministic first-party JSON, no API key, no subscription, and nothing is billed on structured validation errors.

## Output

Returns a JSON object containing the processed text with all email-like spans replaced by a safe placeholder string. The structure of the text is otherwise preserved. No data is retained by the service after the response.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "maxLength": 100000,
   "description": "Primary text input (max 100k chars). Processed first-party; not retained as a dataset."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "text": "hello agent world",
  "schema": "delx/redact-emails/v1",
  "redacted_count": 0
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-redact-emails-in-text-6458a281/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)
