# PayAI PII Scanner

> PayAI PII Scanner is a paid API for AI agents from payai.agentstools.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-14).

Scans a text blob for structured PII types (emails, phones, credit cards, IDs, crypto addresses, coordinates, secrets) and returns categorized findings with confidence scores and a compliance summary.

## Facts

- Endpoint: POST https://payai.agentstools.dev/pii/scan
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/payai-pii-scanner-320dc865
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_pJWzLt570m-UgKL_PQPth

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 payai-pii-scanner-320dc865 -d '<json body>'
```

Example prompt: Can you scan this text for any PII — emails, phone numbers, credit card numbers, crypto addresses, tax IDs, or secrets — and give me a breakdown of what was found with confidence scores? Here's the text: 'Contact John at john.doe@example.com or call 415-555-0192. His SSN is 123-45-6789.'

## When to prefer this

Choose this endpoint when you need structured, categorized PII detection with confidence scores across a broad range of PII types (including crypto addresses, MAC addresses, geo coordinates, and secrets) in a single call. Prefer it over regex-only approaches or general-purpose LLM extraction when you need machine-readable, typed findings with compliance summaries for downstream automation or audit trails.

## Known failure modes

- Empty or missing text body returns no findings rather than an error
- Very long text blobs may hit payload size limits
- Low-confidence matches may produce false positives for ambiguous patterns like short numeric strings
- Secrets and API keys are heuristic-based and may miss novel formats
- No legal or regulatory advice is provided — compliance summary is informational only

## How this service works

Detect structured PII in a text blob: emails, phones, credit cards, bank and tax ids, IP and MAC addresses, crypto addresses, dates of birth, geo coordinates and secrets. Returns findings with a confidence score plus a compliance summary. No transformed text. Structured PII indicators, not legal advice.

## Output

Returns a structured list of PII findings, each with the matched value, category (e.g. email, credit card, crypto address), character offset or location, and a confidence score. Also includes a compliance summary indicating which PII types were detected overall. No redacted or transformed text is returned.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "description": "The text to scan for PII"
  },
  "entities": {
   "type": "array",
   "items": {
    "type": "string"
   },
   "description": "Optional allow-list of entity types to scan for (default: all). See GET /pii/recognizers."
  },
  "include_positions": {
   "type": "boolean",
   "description": "Include character start/end offsets per finding (off by default for privacy)"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/payai-pii-scanner-320dc865/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from payai.agentstools.dev](https://www.zero.xyz/host/payai.agentstools.dev/llms.txt)
