
Profanity Filter API
Detect and censor profanity in user-generated text, in English and Spanish. 550+ curated words across three severity tiers — mild (hell, crap), strong (ordinary profanity and sexual vulgarity) and slur (identity-based slurs) — so you choose what to filter with min_severity instead of over-censoring: at min_severity=strong, "jerk chicken" and "door knob" pass clean. Whole-word, case-insensitive matching with leetspeak normalization (sh!t, @ss, d1ck), censor-evasion handling (f*ck, f.u.c.k, fuk, fuuuck) and accent folding for Spanish (cabrón matches cabron). No false positives on clean words like "classic" or "Scunthorpe". Returns matched words with per-word severity, an overall max_severity, a count, and a censored version of the text.
Available Endpoints
Request Parameters
API URL
Please subscribe to see the API URL
Headers
Query Parameters
Please subscribe to see the actual API URL
import axios from 'axios';
const url = '{API_URL}';
const { data } = await axios.get(url, {
headers: { 'X-Api-Key': 'YOUR_API_KEY' }
});