Skip to main content

Overview

The Profanity Detection API helps you identify and filter inappropriate language, slurs, and offensive content in text. Designed for content moderation across various platforms, our API goes beyond simple keyword matching to understand context and detect obfuscated profanity. Key Benefits:
  • High-accuracy detection of explicit and implicit profanity
  • Context-aware analysis that understands intent
  • Detection of obfuscated profanity and character substitutions
  • Multiple language support
  • Customizable sensitivity levels
  • Optional content masking

API Endpoint

Quick Start

Javascript

Response Example

Use Cases

Content Moderation

Filter user-generated content on social platforms, forums, and comments sections.

Child Safety

Create safe environments for child-friendly applications and educational platforms.

Brand Protection

Ensure marketing content and customer interactions maintain brand-appropriate language.

Example Applications

Content Moderation Pipeline

Implement a complete content moderation workflow:

Chat Application Filter

FAQ

How effective is the profanity detection for non-English content?

The profanity detection API is most effective for English content, but also provides good coverage for major languages including Spanish, French, German, Italian, and Portuguese. For other languages, basic profanity detection is available but may not catch language-specific slang or culturally specific offensive terms.

Can the API detect deliberately obfuscated profanity?

Yes, the API is designed to detect common obfuscation techniques such as:
  • Character substitution (e.g., “sh!t”, “f**k”)
  • Letter omission (e.g., “sh-t”, “fck”)
  • Deliberate misspellings (e.g., “phuck”)
  • Zero-width space insertion
However, very creative or unusual obfuscation methods might occasionally bypass detection.

How can I reduce false positives?

If you’re experiencing false positives (benign words incorrectly flagged as profanity), consider these approaches:
  1. Post-process the results to whitelist certain terms specific to your domain
  2. Implement a user feedback system to identify false positives
  3. Add a human review step for edge cases
Find more information on Profanity Detection API here