{"uid":"cap_xu0VwyNY5mB57qpPty3hU","slug":"fairseal-pii-detector-27622024","name":"FairSeal PII Detector","description":"Regex-based PII scan: emails, US/Canada (NANP) phone numbers, dash-formatted national IDs (partial coverage; alphanumeric IDs such as Taiwan format are not matched), loose passport patterns, 64-hex crypto private keys (may also flag SHA-256 hashes), credit cards, US SSNs, IPv4 addresses. Always returns sanitized text with PII redacted. Max 50,000 chars. Expect false positives and missed matches.","url":"https://x402.fairseal.io/v1/pii/detect","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","maxLength":50000,"description":"Text to scan for PII (max 50,000 chars)"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_-uCThlFdBkSWxODFStmtj","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Detects personally identifiable information in text using regex patterns, covering emails, phone numbers, national IDs, passports, crypto private keys, credit cards, and SSNs.","exampleAgentPrompt":"Can you scan this text for any PII like emails, phone numbers, SSNs, credit card numbers, or crypto private keys: 'Contact John at john.doe@email.com or 555-123-4567, his SSN is 123-45-6789'?","exampleUseCases":[{"title":"Pre-storage compliance scan","prompt":"Before I save this customer support ticket to the database, check it for any PII — emails, phone numbers, credit cards, SSNs, or national IDs: 'Hi, my name is Jane Smith, reach me at jane@example.com or call 415-555-0198, and my card ending in 4111111111111111 was charged incorrectly.'"},{"title":"Log file sensitive data audit","prompt":"I need to check this server log snippet for accidentally exposed sensitive data like crypto private keys or passport numbers before I share it with the external team: 'User uploaded doc, passport: AB1234567, session key: 5HueCGU8rMjxEbCD3zeWBfFs7z9dE8vU4'"},{"title":"User input sanitization check","prompt":"A user just submitted a form and I want to make sure their message doesn't contain any private info like SSNs or credit card numbers before routing it to our public-facing webhook — here's the message: 'Please refund order 9921, my SSN is 078-05-1120 and CC is 4012888888881881.'"}],"resultDescription":"Returns a structured list of PII findings detected in the input text, each labeled by type (e.g. email, phone number, SSN, credit card, national ID, passport, crypto private key) along with the matched values and their positions or context within the text.","failureModes":["Missing or malformed 'body' in the request returns a validation error","Non-text or binary content may not be parsed correctly","Regex-based detection may produce false positives on structured data that resembles PII patterns","Obfuscated or non-standard PII formats may be missed","Rate limiting or payment failure returns a 402 Payment Required response"],"whenToPreferThis":"Choose this endpoint when you need fast, lightweight, regex-based PII detection across common sensitive data types (emails, phones, SSNs, credit cards, passports, national IDs, crypto private keys) without sending data to a heavy ML model. Ideal for compliance pre-checks, log sanitization, or input validation pipelines where speed and cost matter more than semantic understanding of context.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:31:33.030Z","isFirstParty":false}