Profanity Filter
Filter user-generated text in Arabic and English, including disguised spellings. Get a safe/unsafe verdict and a risk score, plus the matched words if you want them.
Arabic and English
Score only, or the list of words
Your own rules and blacklists
Request
curl "https://gurdx.cretip.com/api/scoring/profanity?text=you%20idiot,%20awful%20service&listBadWords=yes" \ -H "Authorization: Bearer YOUR_API_KEY"
Responseapplication/json
{
"data": {
"text": "you idiot, awful service",
"isSafe": false,
"riskScore": 0.82,
"totalBadWords": 1,
"badWords": ["idiot"]
},
"status": "success",
"executionTime": 19
}
In plain wordsVerdictUnsafeBad words1LanguageEnglish
LanguagesArabic and English
OptionsScore only or word list
Median latencyUnder 20 ms
Billing1 request per text
What comes back
Every field in the response and what it means, with the values from the sample above.
200 OK
English
200 · 19 ms
Endpoint
GET https://gurdx.cretip.com/api/scoring/profanity
isSafeboolean
Whether the text is safe to publish.
riskScore0–1
How risky the text is; tune your own cut-off.
totalBadWordsinteger
How many offending words were found.
badWordsarray
The words themselves, when listBadWords=yes.
textstring
The text you sent.
Where teams use it
The same call, inside the products it powers.
Frequently asked
Yes. Repeated letters, symbols and spaced-out letters are normalised before matching.
Send scoreOnly=yes to receive just the score and whether the text is safe.
Use blacklists and custom rules in the dashboard to encode your own policy.
Get started
Start blocking fraud today
Create an account, add one API call and watch the first bad actor get stopped before checkout.
1,000 free requests
Live in an afternoon
Cancel anytime