# Strale PII Redaction API

> Strale PII Redaction API is a paid API for AI agents from api.strale.io, paid per call via x402, $0.0324/call, status unknown (last checked 2026-09-15).

Redacts personally identifiable information (PII) from a given text string, returning a sanitized version with sensitive data masked or removed.

## Facts

- Endpoint: GET https://api.strale.io/x402/v2/pii-redact
- Price: $0.0324/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/strale-pii-redaction-api-ad621065
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_RLKo_SNNPnfbCuBLO0qyV

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 strale-pii-redaction-api-ad621065
```

Example prompt: Can you redact all personally identifiable information from this text before I store it: 'John Smith called from 555-867-5309, his SSN is 123-45-6789 and he lives at 42 Maple Street, Boston'?

## When to prefer this

Choose this endpoint when you need to remove or mask PII from arbitrary text strings in a single API call, especially when an auditable, cryptographically-hashed compliance trail is required. It is well-suited for AI pipelines that must sanitize inputs before storage, logging, or sharing, and for workflows operating under GDPR, HIPAA, or similar data privacy regulations. Prefer it over general-purpose LLM-based redaction when determinism, audit records, and per-call pricing are important.

## Known failure modes

- Missing required 'text' query parameter returns a validation error
- Empty string input may return the input unchanged or an error
- Very long text strings may exceed payload limits
- Ambiguous or context-dependent PII may not be fully redacted
- Network timeout on the Strale API endpoint returns a 5xx error
- Insufficient USDC balance for x402 micropayment causes payment failure

## How this service works

The trust layer for AI agents — 250+ independently tested data capabilities across 27 countries. Execute capabilities via REST, MCP, A2A, or x402 micropayments. Every call returns an audit record with cryptographic chain hashing.

## Output

Returns a sanitized version of the input text with PII (such as names, phone numbers, email addresses, social security numbers, physical addresses, dates of birth, and other identifiers) masked or replaced. Each call also returns a cryptographic audit record with chain hashing for compliance traceability.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "text"
     ],
     "properties": {
      "text": {
       "type": "string",
       "description": "Text to redact PII from"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/strale-pii-redaction-api-ad621065/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.strale.io](https://www.zero.xyz/host/api.strale.io/llms.txt)
