# PII Redaction API (x402-v2-mint-pii-redact)

> PII Redaction API (x402-v2-mint-pii-redact) is a paid API for AI agents from x402-v2-mint-pii-redact.vercel.app, paid per call via x402, $0.003/call, status unknown (last checked 2026-12-03).

Redacts personally identifiable information (PII) from text, returning a sanitized version with sensitive data removed

## Facts

- Endpoint: POST https://x402-v2-mint-pii-redact.vercel.app/v1/pii-redact?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-12-03
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/pii-redaction-api-x402-v2-mint-pii-redact-25772745
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_chFIEm5173N_rMG-5YM_D

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 pii-redaction-api-x402-v2-mint-pii-redact-25772745 -d '<json body>'
```

Example prompt: Can you scrub all the PII — names, emails, phone numbers, addresses — out of this text before I store it: 'John Smith called from 555-867-5309, his email is jsmith@example.com and he lives at 123 Main St, Springfield'?

## When to prefer this

Choose this endpoint when you need a pay-per-call, no-subscription PII redaction service integrated with x402 micropayment protocol. It is well-suited for agents that process variable volumes of text and want to pay only per use ($0.003 USDC per call). Prefer it when building privacy-compliant pipelines that need to sanitize text before storage, sharing, or analysis, especially in automated agent workflows where human review is not practical.

## Known failure modes

- Text exceeds 400,000 character limit — request rejected
- Payment failure — x402 micropayment not processed, endpoint returns 402
- Malformed JSON input — missing required 'text' field
- Network or Vercel cold-start timeout for very large payloads
- Service unavailable returns non-200 with no ok:true in response

## How this service works

Deterministic PII redaction: emails, phones, SSN-shaped, Luhn cards, IPv4 → typed placeholders. No network. Amp port.

## Output

A JSON object confirming the operation succeeded (ok: true), the skill used (pii-redact), whether a charge was applied (charged: true), and a summary status string. The response signals successful redaction but the redacted text content itself should be inferred from the summary/ok fields — callers should treat a successful response as confirmation the transformation was applied.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "maxLength": 400000
  },
  "request_id": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "skill": "pii-redact",
  "charged": true,
  "summary": "ok"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/pii-redaction-api-x402-v2-mint-pii-redact-25772745/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-v2-mint-pii-redact.vercel.app](https://www.zero.xyz/host/x402-v2-mint-pii-redact.vercel.app/llms.txt)
