# OpenVerbs PII Scanner

> OpenVerbs PII Scanner is a paid API for AI agents from scan.openverbs.com, paid per call via x402, $0.004/call, status unknown (last checked 2026-09-14).

Detects and locates personally identifiable information (emails, phone numbers, credit cards, IBANs, IPs, SSNs, JWTs) in text, returning typed matches with character offsets and per-type counts

## Facts

- Endpoint: POST https://scan.openverbs.com/v1/detect
- Price: $0.004/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/openverbs-pii-scanner-029c3aa9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_j554sGqCnQLsLtLHTKehl

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 openverbs-pii-scanner-029c3aa9 -d '<json body>'
```

Example prompt: Scan this text for any personally identifiable information — emails, phone numbers, credit card numbers, IBANs, SSNs, and JWTs — and tell me what you find along with where each one appears: "Hi, my email is john@example.com and my card is 4111111111111111, call me at 555-867-5309."

## When to prefer this

Choose this endpoint when you need validated PII detection (not just regex pattern matching) with precise character offsets, running fully offline without sending data to third-party cloud NLP services. It's ideal for compliance pipelines, pre-storage audits, and log sanitization where low false-positive rates matter. Prefer it over general NLP APIs when you specifically need Luhn-validated credit cards, mod-97 IBANs, or JWT detection alongside standard PII types. The per-type filtering option makes it efficient when you only care about specific PII categories.

## Known failure modes

- Text exceeds 200,000 character limit — request rejected
- Invalid PII type specified in 'types' filter — validation error
- Empty text input — minLength:1 violation
- Malformed JSON body — 400 error
- Payment not attached or insufficient USDC — 402 Payment Required
- No PII found — returns empty matches array with zero counts (not an error)

## How this service works

Find personally identifiable information in a text blob: emails, phone numbers, credit cards (Luhn-validated), IBANs (mod-97 validated), IPv4/IPv6 addresses, US SSNs and JWTs. Returns every match with its type and character offsets, plus per-type counts. Validated — not just pattern-matched — to keep false positives low. Fully offline.

## Output

A structured response containing every PII match found in the text, each with its type (e.g. 'email', 'credit_card', 'us_ssn'), the matched string, and its start/end character offsets. Also includes per-type counts summarizing how many of each PII category were detected. Matches are validated (e.g. Luhn for credit cards, mod-97 for IBANs) to minimize false positives.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "required": [
      "text"
     ],
     "properties": {
      "text": {
       "type": "string",
       "maxLength": 200000,
       "minLength": 1,
       "description": "The text to scan for PII."
      },
      "types": {
       "type": "array",
       "items": {
        "enum": [
         "email",
         "phone",
         "credit_card",
         "iban",
         "ipv4",
         "ipv6",
         "us_ssn",
         "jwt"
        ],
        "type": "string"
       },
       "minItems": 1,
       "description": "Optional subset of PII types to look for. Omit to scan for all."
      }
     },
     "additionalProperties": false
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/openverbs-pii-scanner-029c3aa9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from scan.openverbs.com](https://www.zero.xyz/host/scan.openverbs.com/llms.txt)
