# FairSeal PII Detector

> FairSeal PII Detector is a paid API for AI agents from x402.fairseal.io, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

Detects personally identifiable information in text using regex patterns, covering emails, phone numbers, national IDs, passports, crypto private keys, credit cards, and SSNs.

## Facts

- Endpoint: POST https://x402.fairseal.io/v1/pii/detect
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/fairseal-pii-detector-27622024
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_xu0VwyNY5mB57qpPty3hU

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 fairseal-pii-detector-27622024 -d '<json body>'
```

Example prompt: Can you scan this text for any PII like emails, phone numbers, SSNs, credit card numbers, or crypto private keys: 'Contact John at john.doe@email.com or 555-123-4567, his SSN is 123-45-6789'?

## When to prefer this

Choose this endpoint when you need fast, lightweight, regex-based PII detection across common sensitive data types (emails, phones, SSNs, credit cards, passports, national IDs, crypto private keys) without sending data to a heavy ML model. Ideal for compliance pre-checks, log sanitization, or input validation pipelines where speed and cost matter more than semantic understanding of context.

## Known failure modes

- Missing or malformed 'body' in the request returns a validation error
- Non-text or binary content may not be parsed correctly
- Regex-based detection may produce false positives on structured data that resembles PII patterns
- Obfuscated or non-standard PII formats may be missed
- Rate limiting or payment failure returns a 402 Payment Required response

## How this service works

Regex-based PII scan: emails, US/Canada (NANP) phone numbers, dash-formatted national IDs (partial coverage; alphanumeric IDs such as Taiwan format are not matched), loose passport patterns, 64-hex crypto private keys (may also flag SHA-256 hashes), credit cards, US SSNs, IPv4 addresses. Always returns sanitized text with PII redacted. Max 50,000 chars. Expect false positives and missed matches.

## Output

Returns a structured list of PII findings detected in the input text, each labeled by type (e.g. email, phone number, SSN, credit card, national ID, passport, crypto private key) along with the matched values and their positions or context within the text.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "maxLength": 50000,
   "description": "Text to scan for PII (max 50,000 chars)"
  }
 }
}
```

## More

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