Skip to content
العربية English Start free trial
GET /scoring/profanity

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
Try it free Read the docs
Included in every plan Median latency · 19 ms
200 · 19 ms
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.
false
riskScore0–1 How risky the text is; tune your own cut-off.
0.82
totalBadWordsinteger How many offending words were found.
1
badWordsarray The words themselves, when listBadWords=yes.
idiot
textstring The text you sent.
you idiot, awful service

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.
Other services
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
Start free trial Talk to sales Free trial included. Upgrade when you grow.