# PII scan

POST https://horizonpulse.dev/api/text/pii-scan

- Price: $0.02 per call. The exact amount is in the 402.
- Pay with: USDC on Base, USDC on Polygon
- Family: Sites and security (/catalog/sites-security.md)

## What it returns
Best-effort scan of supplied text for common patterns: email, phone, US SSN, Luhn-checked card numbers, mod-97 IBANs, IP addresses, private-key shapes, BIP-39 seed phrases and API-key shapes. POST JSON {text, redact?}. Returns findings with type and offsets; redacted text only when redact is true. Best-effort only, not a compliance assessment. Informational only, no warranty. This service does not log or store the text you submit. USDC on Base or Polygon. Bad input is not charged. On USDC on Base, errors are not charged, apart from the exceptions noted on a route. On USDC on Solana, and RLUSD on the XRP Ledger, a refused or failed request may still be charged. On Polygon (native USDC), a request is settled only when it succeeds (HTTP status below 400). Failed requests are not charged.

## Inputs
- text (required), JSON body: string
- redact, JSON body: boolean
Full schema and bounds: /openapi.json

## If the call fails
- USDC on Base: errors are not charged, apart from the exceptions noted on a route.
- On Polygon (native USDC), a request is settled only when it succeeds (HTTP status below 400). Failed requests are not charged.

## Try it
- Call it unpaid to read the 402: POST https://horizonpulse.dev/api/text/pii-scan
- Setup: /setup.md
