# x402 PII Scrub – Deterministic Text De-identification

> x402 PII Scrub – Deterministic Text De-identification is a paid API for AI agents from x402.getautomatedrcm.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Strips PII (names, emails, phones, SSNs, credit cards, IPs, URLs, addresses, account IDs, dates) from free text and returns scrubbed text plus a token map for local re-identification, with no storage or LLM involvement.

## Facts

- Endpoint: POST https://x402.getautomatedrcm.com/pii-scrub
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-pii-scrub-deterministic-text-de-identification-3c9a57e3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_7UqsEs36CLrkHIMi2c86R

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-pii-scrub-deterministic-text-de-identification-3c9a57e3 -d '<json body>'
```

Example prompt: Before you send this support ticket text to the summarization API, scrub all the PII out of it — strip names, emails, phone numbers, SSNs, credit cards, IPs, and addresses, but make sure any dates are replaced with tokens that still let me do deadline math afterward.

## When to prefer this

Choose this endpoint when you need a fast, pay-per-call, no-account-required PII scrubber that deterministically removes sensitive fields (names, emails, phones, SSNs, Luhn-validated credit cards, IPs, URLs, addresses, account IDs) from free text BEFORE it reaches any LLM or external API, and when you need date tokens that preserve interval math. Prefer it over LLM-based redaction when you need deterministic, auditable behavior with no data retention. Not for actual healthcare PHI compliance.

## Known failure modes

- Text exceeds 2 KB limit — request rejected
- Malformed JSON or missing 'text' field — 400 error
- Payment not included or insufficient USDC — 402 Payment Required
- Text contains real healthcare PHI — endpoint is not validated for actual PHI compliance (demo/test only)
- Network timeout on caller side — retry is safe since endpoint is stateless and idempotent

## How this service works

PII pre-flight for agent pipelines: deterministic de-identification of free text BEFORE it reaches a third-party LLM or API. No account, no API key, no subscription — pay per call. Strips names, emails, phones, SSNs, credit cards (Luhn-validated), IPs, URLs, street addresses, account IDs; dates become tokens plus a derived interval timeline (days-between, days-ago) so deadline math survives redaction. Returns scrubbed text + token map for local re-identification. Nothing stored; no LLM ever touc

## Output

Returns a JSON object containing the scrubbed text (with PII replaced by placeholder tokens), a token map (mapping each token back to the original value for local re-identification), and date-derived interval metadata (days-between and days-ago values) so temporal reasoning survives redaction. Nothing is stored server-side.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "description": "Text to de-identify before sending to an LLM or third-party API (2 KB max). Nothing is stored. Not for real healthcare PHI."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-pii-scrub-deterministic-text-de-identification-3c9a57e3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.getautomatedrcm.com](https://www.zero.xyz/host/x402.getautomatedrcm.com/llms.txt)
