API Basics
★  Fundamentals
★  Error Codes
★  Examples
★  Batch Processing
★  Specifications
★  Best Practice
★  SDKs
★  Stats
Data Tools
Security and Networking

Bad Word Filter

Detect bad words, swear words and profanity in a given text.

Currently works with a mostly English database which includes "leetspeak". The filter uses natural language processing (NLP) to decode the content into logical words ignoring punctuation, case, formatting, etc. We also apply word transformations to detect obfuscation of bad words like repeating characters, spurious whitespace and special characters. As well as detection and extraction of bad words you can also use this API to censor bad words from the supplied text.

End Point

Test API
API Request
contentyesstringThe content to scan. This can be either a URL to load content from or an actual content string
censor-characternostringThe character to use to censor out the bad words found
API Response
is-badbooleanDoes the text contain bad words
bad-words-totalintegerTotal number of bad words detected
bad-words-listarrayAn array of the bad words found
censored-contentstringThe censored content (only set if censor-character has been set)
Daily Limits
Free TierTier 1Tier 2Tier 3