{"name":"pii-shield","title":"PII Shield API","version":"1.0.0","summary":"Detect, redact and score personal data, profanity and spam in text. Deterministic, zero upstream calls.","description":"One deterministic pass over a piece of text that tells you what personal data it contains, what to replace, how abusive it is and how spammy it looks.\n\n**Detect:** 19 detectors - email, phone, payment cards (Luhn), IBAN (mod-97), US SSN, IPv4/IPv6, URL, birth dates, passport and licence numbers (label driven), postal addresses, person names (dictionary heuristic), API keys (entropy heuristic), JWTs, crypto wallets (base58check verified), MAC addresses, GitHub tokens and AWS key ids. Findings carry a 0-1 confidence and never overlap.\n\n**Redact:** three styles. Mask keeps the last N characters, label emits stable [EMAIL_1] tokens per distinct value, hash emits [EMAIL_xxxxxxxx] from the first 8 hex characters of the value's SHA-256 so identical values correlate across documents.\n\n**Screen:** a four language profanity lexicon (en, es, fr, de) that undoes leetspeak, repeated letters and single-character separators, plus an 11 signal spam score with the points and evidence behind every signal.\n\n**Limits, stated plainly:** detection is regex plus checksum plus small dictionaries. It will miss unusual formats (spaced-out card numbers, names outside the dictionary, non-Latin scripts) and it cannot know whether a string is personal data without context - a bare date is reported at confidence 0.5 unless a birth keyword is nearby. Passport, licence and street addresses need their usual labels. No ML model, no data leaves the edge, no upstream calls: identical input always returns identical output.\n\n**Built for:** LLM prompt sanitisers, customer support desks, log pipelines, UGC platforms, GDPR/SOC2 evidence runs.","provider":{"name":"Ayam Labs","url":"https://github.com/ayam04","email":"ayamullahkhan04@gmail.com"},"documentation":"/openapi.json","endpoints":[{"method":"POST","path":"/v1/moderation"},{"method":"POST","path":"/v1/profanity"},{"method":"POST","path":"/v1/redact"},{"method":"POST","path":"/v1/scan"},{"method":"POST","path":"/v1/spam"},{"method":"GET","path":"/v1/types"}],"usage":"Send X-RapidAPI-Key and X-RapidAPI-Host when calling through the RapidAPI marketplace, or X-API-Key for direct calls."}