🚀 Greip's API achieved 99.98% uptime for the last 90 days, learn more.
{
"data": {
"isML": true,
"text": "This is just a normal text",
"totalBadWords": null,
"riskScore": 0,
"isSafe": true,
"status": "success",
"executionTime": 120
}
}
curl --request GET \
--url https://greipapi.com/scoring/profanity \
--header 'Authorization: Bearer <token>'{
"data": {
"isML": true,
"text": "This is just a normal text",
"totalBadWords": null,
"riskScore": 0,
"isSafe": true,
"status": "success",
"executionTime": 120
}
}
This method helps safeguard your website or app by detecting offensive or inappropriate language in user inputs. By screening for profanity and other harmful content before it’s made public, you can maintain a positive user environment, protect your brand, and prevent abusive behavior on your platform.
This method uses Machine Learning (ML) to analyze text and determine whether it contains profanity. It returns a score for the text you pass, classifying it as safe or risky.
{
"data": {
"isML": true,
"text": "This is just a normal text",
"totalBadWords": null,
"riskScore": 0,
"isSafe": true,
"status": "success",
"executionTime": 120
}
}
curl --request GET \
--url https://greipapi.com/scoring/profanity \
--header 'Authorization: Bearer <token>'{
"data": {
"isML": true,
"text": "This is just a normal text",
"totalBadWords": null,
"riskScore": 0,
"isSafe": true,
"status": "success",
"executionTime": 120
}
}
Documentation Index
Fetch the complete documentation index at: https://docs.greip.io/llms.txt
Use this file to discover all available pages before exploring further.
This is a sample text without profanity!yes, or no.yes, or no.JSON, XML, or CSVFor more information please refer to Response Format.live, or test.For more information please refer to Development Environment.myFunctionName.For more information please refer to JSONP Callback.Hide properties
isML is true, otherwise you’ll get null.success, or error.riskScore = 0 means that this text is completely safe.riskScode = 1 means that this is a high-risk text.riskScode = 2 means that this is a medium-risk text.riskScode = 3 means that this is a low-risk text.Was this page helpful?