Skip to content
clusters: prooflayer · edgemarket · edgefinance · synthforge · mediakit · wordmint · webprobe · locale · comppoint · rollforge · bestiary · statline · matchpoint · retail · agentops · browserworkflow · modelrouter · compose
$ man detect-pii

/detect-pii

agentutility / wordmint / detect-pii
PRICE / CALL
$0.02
USDC · base mainnet · scheme: exact
METHOD
POST
CLUSTER
wordmint
CATEGORY
ai
STATUS
live
NAME
detect-pii detects pii in text: emails, phones, ssns, credit cards, addresses, names, ips, and api tokens
SYNOPSIS
POST https://x402.agentutility.ai/detect-pii
     Content-Type: application/json
     X-PAYMENT:    <signed-transferWithAuthorization>

     { ... }
↳ first call → 402 Payment Required. Sign USDCtransferWithAuthorization, retry with theX-PAYMENT header.
DESCRIPTION

Detects PII in text: emails, phones, SSNs, credit cards, addresses, names, IPs, and API tokens. Returns matches + risk_level, with optional redaction using [TYPE] tokens. Use it as a PII detector, personal data scanner, data leak scanner, or privacy redaction API.

INPUTrequest schema
propertytypedescriptionreq?
textstringrequired
redactbooleanoptional
OUTPUTresponse shape
fieldtypedescription
matchesarrayArray of detected PII items, each with the matched value, type label, and character offset in the text.
match_countnumberTotal number of PII matches found across all types.
pii_densitynumberRatio of PII characters to total input characters, roughly 0 to 1.
risk_levelstringOverall risk bucket such as none, low, medium, or high based on match types and density.
redacted_textstringInput text with each match replaced by a [TYPE] token like [EMAIL] or [SSN] when redaction is requested.
input_charsnumberCharacter length of the submitted text.
modelstringIdentifier of the detection model or ruleset version used for this scan.
EXAMPLEStwo ways to call
EXAMPLE 1 · curl
curl -X POST https://x402.agentutility.ai/detect-pii \
  -H 'Content-Type: application/json' \
  -d '{ }'
first response = 402 Payment Required with payment requirements; sign + retry with X-PAYMENT.
EXAMPLE 2 · mcp
# Install the MCP package for this endpoint's cluster
npx -y @agentutility/mcp-<cluster>

# Required: EVM private key with USDC on Base
export X402_PRIVATE_KEY=0x...

# Then call the detect-pii tool from your MCP-aware agent.
MCP server handles payment automatically — your coding agent just calls the tool by name.
METADATA
tags
piiprivacyredactcompliancesecurity
env
VENICE_API_KEY
methods
POST
cluster
wordmint
price
$0.02 USDC per call
ADJACENTother endpoints in wordmint
endpointdescriptionprice
alt-text-generatorAlt text generator / accessibility image description API.$0.02
classifyZero-shot text classifier.$0.02
classify-textClassifies text into caller-supplied labels (2-25), with multi-label mode.$0.02
describe-imageDescribes images with a vision LLM across five modes: describe, alt_text (accessibility, <=125 chars), OCR (extract visible text), tags (…$0.02
email-draftWrites emails with AI: subject, body, salutation, and sign-off.$0.02
extractNamed entity extractor / NER.$0.02
image-describeReturns detailed image descriptions, short captions, alt text, OCR text, or tags from a public image URL.$0.02
image-descriptionTakes a public image URL and returns an AI vision description, alt text, OCR text, tags, or caption depending on mode.$0.02
SEE ALSO
agentutility · wordmint · x402 · mcp · llms.txt · registry.json · bazaar.x402.org