Hate Speech Detection APIs

Recognize hate in any text or conversation in Any language

Free during the Beta

cowboy-removebg-preview.png

Hate Speech Detection API

Recognize hate in any text or conversation in Any language

Gladia.io's Hate Speech detection is the most accurate and efficient tool for detecting hate speech online. Marketplace customers from all over the world are now using Gladia's AI to monitor and moderate their communities and integrate it into their systems.


test it live below (free Signup needded):


Here is an example of the conversation:

Original Conversation
Hannah: I hate you piece of s***.

curl command
curl -X 'POST' \
  'https://v2-api.gladia.io/text/text/hate-speech-detection/' \
  -H 'accept: application/json' \
  -H 'x-gladia-key: MY_API_KEY' \
  -H 'Content-Type: application/x-www-form-urlencoded' \
  -d 'text=Hannah: I hate you piece of s***'
Results
{
   prediction: "HATEFUL",
   prediction_raw: {
      recommendedAction: "REMOVE",
      classification: "HATRED",
      type: "HATEFUL",
      raw: {
         data: [
            {
               text: "Hannah: I love you piece of shit",
               type: "HATEFUL",
               severity: "MEDIUM",
               meta: {
                  classifications: [
                     "HATRED"
                  ],
                  directedAt: "USER"
               },
               language: "en",
               analyzedAt: "2022-10-21T09:54:15.814Z",
               recommendedAction: "REMOVE"
            }
         ]
      }
   }
}

Test is live with you own text below

We use cookies and analytics services to provide you with a better browsing experience, personalized content and ads. They also help us monitor the traffic on our website and the impact of our marketing campaigns.

Cookie Settings

We use cookies to improve user experience. Choose what cookie categories you allow us to use. You can read more about our Cookie Policy by clicking on Cookie Policy below.

These cookies enable strictly necessary cookies for security, language support and verification of identity. These cookies can’t be disabled.

These cookies collect data to remember choices users make to improve and give a better user experience. Disabling can cause some parts of the site to not work properly.

These cookies help us to understand how visitors interact with our website, help us measure and analyze traffic to improve our service.

These cookies help us to better deliver marketing content and customized ads.