# TrustBoost PII Sanitization

> TrustBoost PII Sanitization is a paid API for AI agents from api.trustboost.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-16).

Sanitizes personally identifiable information (PII) from input data using a pay-per-call API

## Facts

- Endpoint: POST https://api.trustboost.dev/sanitize
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/trustboost-pii-sanitization-230a386e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_cfdfdJ6j_jr3xYrrj_DGu

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 trustboost-pii-sanitization-230a386e -d '<json body>'
```

Example prompt: Scrub any PII from this text using the TrustBoost sanitize endpoint — the input type is 'text' and I want to use the 'redact' method: 'Hi, my name is John Smith, I live at 123 Main St, and my email is john@example.com.'

## When to prefer this

Choose this endpoint when you need lightweight, pay-per-call PII scrubbing without a subscription, especially in agentic pipelines where data must be anonymized before storage, logging, or sharing with third-party services. Ideal for compliance-oriented workflows requiring GDPR or CCPA-style redaction on demand.

## Known failure modes

- Missing required 'input' field returns a 400 validation error
- Invalid 'type' or 'method' values may return a 422 unprocessable entity
- Payment failure via x402 protocol results in a 402 Payment Required response
- Malformed JSON body returns a 400 bad request
- Service unavailability returns a 503 or 500 error

## How this service works

PII sanitization — pay-per-call entry point

## Output

Returns a sanitized version of the submitted data with PII removed or redacted according to the specified type and method, with the output format optionally specified.

## 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"
    },
    "method": {
     "type": "string"
    }
   }
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/trustboost-pii-sanitization-230a386e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.trustboost.dev](https://www.zero.xyz/host/api.trustboost.dev/llms.txt)
