Profanity Filter API logo

Profanity Filter API

|
Utilities
|
1 tokens / llamada

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.

Inicio Rápido

Suscríbete para obtener acceso instantáneo a la API con tu clave única.

Ver Planes de Precios

Available Endpoints

Request Parameters

API URL

Please subscribe to see the API URL

Headers

X-Api-Key

Query Parameters

censor(Optional)
lang(Optional)
min_severity(Optional)
text(Required)

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' }
});