# Delx Commerce — Email Redaction API

> Delx Commerce — Email Redaction API 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).

Scans a block of text and replaces all email addresses with redacted placeholders, returning the sanitized text and a count of redacted emails.

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/redact-emails?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-email-redaction-api-129a6bc1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_o1NeSP8zBvm1nadUVXrK-

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-email-redaction-api-129a6bc1 -d '<json body>'
```

Example prompt: Can you redact all email addresses from this text before I share it publicly: 'Please contact john.doe@example.com or support@ourcompany.org for help.'

## When to prefer this

Choose this endpoint when you need a lightweight, pay-per-use email redaction call with no signup, predictable per-call USDC pricing, and verifiable delivery. Ideal for agents that process untrusted or user-submitted text at scale and need a simple, low-cost PII scrubbing step without maintaining a subscription or managing API keys.

## Known failure modes

- Text exceeds 100,000 character limit — request will be rejected
- Malformed JSON body or missing 'text' field — returns a 400 error
- Payment not included or insufficient USDC — returns HTTP 402 requiring x402 payment
- Service unavailable or timeout — returns 5xx error

## 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 containing the sanitized text with all email addresses replaced by redacted placeholders, a count of how many emails were redacted (redacted_count), and the schema version identifier (delx/redact-emails/v1).

## 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-commerce-email-redaction-api-129a6bc1/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)
