{"uid":"cap_36C7fQqSkM31_J2me8ZIR","slug":"agentutility-pii-detector-redactor-6ce59383","name":"AgentUtility PII Detector & Redactor","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.","url":"https://x402.agentutility.ai/detect-pii","method":"POST","headers":{},"bodySchema":null,"responseSchema":{"type":"json","example":{"matches":[{"type":"email","value":"john@acme.com"}],"risk_level":"low","match_count":2}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_k6QEim7j3FAHPPzN-DhL3","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Scans text for personally identifiable information (emails, phones, SSNs, credit cards, addresses, names, IPs, API tokens), returns matches with risk level, and optionally redacts them with [TYPE] placeholder tokens.","exampleAgentPrompt":"Scan this text for any personal information like emails, phone numbers, SSNs, or credit card numbers, and redact them with [TYPE] tokens: 'Hi, my name is John Smith, reach me at john@example.com or 555-123-4567, SSN 123-45-6789.'","exampleUseCases":[{"title":"Sanitize user input before LLM processing","prompt":"Before sending this support ticket to the AI summarizer, scan it for any PII — emails, phone numbers, credit cards — and replace them with [TYPE] tokens so we don't leak personal data: 'Customer Jane Doe (jane.doe@gmail.com, 415-555-0192) reported an issue with card ending 4111111111111111.'"},{"title":"Audit logs for accidental data exposure","prompt":"Check these application logs for any accidentally included sensitive data like API keys, SSNs, or IP addresses and tell me the risk level: 'User login from 192.168.1.55, token: sk-abc123XYZ, user ssn=987-65-4321.'"},{"title":"Privacy compliance check before data storage","prompt":"I'm about to store some form submission text in our database — can you scan it for PII and flag what types of personal data it contains and how risky it is? Text: 'Full name: Maria Lopez, DOB: 01/15/1990, address: 742 Evergreen Terrace, Springfield, IL 62701.'"}],"resultDescription":"Returns a list of detected PII matches, each with entity type (e.g. EMAIL, PHONE, SSN, CREDIT_CARD, ADDRESS, NAME, IP, API_TOKEN), the matched value and its position in the text, and an overall risk_level (e.g. low/medium/high). If redaction is requested, also returns the original text with all PII replaced by [TYPE] placeholder tokens.","failureModes":["Empty or missing text body returns a validation error","Very long text may exceed input limits","Unusual formatting or obfuscated PII (e.g. spaces inserted in SSN) may reduce detection accuracy","Non-English text may result in lower name/address detection recall","Payment failure via x402 returns 402 status before any processing occurs"],"whenToPreferThis":"Choose this endpoint when you need lightweight, pay-per-call PII scanning without managing a dedicated NLP service or compliance tool. Ideal for agents that occasionally process user-submitted text, log snippets, or form data and need a quick privacy check or redaction step before passing data downstream. Best for use cases where privacy compliance, data leak prevention, or LLM input sanitization is needed on demand.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:45:51.168Z","isFirstParty":false}