slurdb. me
Profanity · Slurs · Hate speech
The bad word database.
“We say it, so you don’t have to.”
A continuously-updated, managed database of profanity and slurs — delivered as an API, Python/Node package, or Linux library. Like IDS signatures, but for swearing. We’re building it now.
Python
Node.js
Linux / bash
import slurdb
import logging
logging.basicConfig(level=logging.INFO)
log = logging.getLogger(__name__)
db = slurdb.Client(api_key="sk_live_..." )
message = "You're such an idiot!"
# Full analysis with severity and categories
result = db.analyze(message)
if result['blocked' ]:
log.warning(f"BLOCKED - Severity: {result['severity']} | Categories: {result['categories']} | Matches: {result['matches']}" )
else :
log.info("Message passed moderation" )
# Clean version for safe storage/display
cleaned = db.clean(message)
log.info(f"Cleaned message: {cleaned}" )
const slurdb = require('slurdb' );
const logger = require('winston' ); // or pino / bunyan
const db = new slurdb.Client({ apiKey: 'sk_live_...' });
const message = "You're such an idiot!" ;
const result = await db.analyze(message);
if (result.blocked) {
logger.warn(`BLOCKED - Severity: ${result.severity} | Categories: ${result.categories.join(', ')} | Matches: ${result.matches}` );
} else {
logger.info("Message passed moderation" );
}
// Clean version
const cleaned = await db.clean(message);
logger.info(`Cleaned message: ${cleaned}` );
message="You're such an idiot!"
# Full analysis with severity and categories
result=$(slurdb-analyze "$message")
if echo "$result" | grep -q "blocked: true" ; then
echo "[WARNING] BLOCKED - $(echo "$result" | grep severity)"
else
echo "[INFO] Message passed moderation"
fi
# Clean version
cleaned=$(echo "$message" | slurdb-clean)
echo "[INFO] Cleaned message: $cleaned"
What’s planned
SIG
Always up to date
New slurs and evasion spellings pushed automatically. Every term carries a severity rating and category tags so you decide what to block.
INTL
Multilingual
38 languages with transliteration and unicode lookalike matching built in.
REF
Lookup & reference
Browse and search the full database without writing a line of code. Useful for researchers, content moderators, and DotA players seeking inspiration.
LIB
Works everywhere
Python, Node, Go packages. Linux shared lib + systemd daemon. REST API for everything else.
Pricing
📅 Pricing is still being figured out, but here are the currently proposed plans. Join the waitlist and you’ll get early access pricing.
Most popular
Enthusiast
$0/mo
50k checks/month
English only
Weekly sync
Read-only access
No API key needed
Community support
We keep you up to date
consequences are on you
Pro
$29/mo
5M checks/month
All 38 languages
Hourly sync
Custom wordlists
Email support
Enterprise
Custom
Unlimited checks
Self-hosted option
Minute-level sync
Audit logs + SLA
Dedicated support
Join the waitlist
Join →
No spam. We’ll email when the API is ready.
✓ You’re on the list. We’ll be in touch.