Insult Detection API

Insult Detection API

The Insult Detection API is a powerful tool that identifies offensive language and insults in text, promoting respectful communication in online platforms.

API description

About the API:  


Insult Detection API is a state-of-the-art machine learning model designed to automatically identify and flag toxic and harmful content in user-generated text. This API leverages the power of Natural Language Processing (NLP) and Machine Learning to analyze and classify text, making it a valuable asset for a variety of applications such as content moderation, online safety and social network management.

The core functionality of the Insult Detection API revolves around its exceptional ability to accurately detect and classify different types of toxic content, such as hate speech, offensive language, insults and profanity. Leveraging a large dataset of labeled toxic text, the model has been trained to recognize patterns and linguistic markers indicative of harmful language, enabling it to make real-time predictions with remarkable accuracy and efficiency.

With an intuitive and easy-to-use interface, integrating the API into existing platforms and applications is a straightforward process. Its robust design allows users to easily access the API's functionality, making it accessible to a wide range of organizations and companies. This inclusivity plays a vital role in fostering a safer and more respectful digital space for all users.

In addition, Insult Detection API supports multiple programming languages, further increasing its versatility and compatibility with various software ecosystems. This flexibility allows users to deploy the API on various platforms, regardless of their preferred coding language, and ensures a smooth integration process without the need for major modifications.

In conclusion, Insult Detection API represents an important step forward in promoting a safer and more respectful online environment. This tool enables organizations to automatically identify and address toxic content, contributing to ongoing efforts to combat cyberbullying, hate speech and offensive language.

 

What this API receives and what your API provides (input/output)?

It will receive parameters and provide you with a JSON.

 

What are the most common uses cases of this API?

  1. Social media content moderation: Social media platforms can use the API to automatically detect and filter toxic comments, hate speech and offensive language, ensuring a safer and more positive user experience for their community.

  2. Online forum management: Community forums can use the API to monitor user-generated content and quickly remove any toxic or harmful posts, maintaining a respectful and constructive environment for members.

  3. Chat applications: Chat applications and messaging platforms can integrate the API to automatically flag and filter toxic posts, promoting healthy communication between users.

  4. Content publishing platforms: Content publishing platforms, such as blogs and news websites, can use the API to pre-filter user comments and prevent toxic content from appearing alongside articles and posts.

  5. E-learning platforms: e-learning platforms and educational websites can leverage the API to monitor and filter out any toxic or inappropriate language used in discussions and comments, creating a safe learning environment for students and educators.

Are there any limitations to your plans?

  • Basic Plan: 1,000 API Calls. 1 request per second.

  • Pro Plan: 4,500 API Calls. 1 requests per second.

  • Pro Plus Plan: 10,000 API Calls. 2 requests per second.

API Documentation

Endpoints


To use this endpoint, all you have to do is to insert a statement that you want to analyze. You will also have an optional parameter where you will have to insert a threshold between 0.1 and 0.09 (0.9 by default).



                                                                            
POST https://zylalabs.com/api/2262/insult+detection+api/2128/toxicity+detection
                                                                            
                                                                        

Toxicity detection - Endpoint Features
Object Description
sentences [Required]
threshold [Required]
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            [{"label":"identity_attack","results":[{"probabilities":{"0":0.9912944436073303,"1":0.00870558898895979},"match":null}]},{"label":"insult","results":[{"probabilities":{"0":0.5392328500747681,"1":0.46076714992523193},"match":null}]},{"label":"obscene","results":[{"probabilities":{"0":0.1230722963809967,"1":0.8769277334213257},"match":null}]},{"label":"severe_toxicity","results":[{"probabilities":{"0":0.9998620748519897,"1":0.0001379509485559538},"match":null}]},{"label":"sexual_explicit","results":[{"probabilities":{"0":0.959176778793335,"1":0.040823277086019516},"match":null}]},{"label":"threat","results":[{"probabilities":{"0":0.9936791062355042,"1":0.006320920307189226},"match":null}]},{"label":"toxicity","results":[{"probabilities":{"0":0.12145213037729263,"1":0.8785479068756104},"match":null}]}]
                                                                                                                                                                                                                    
                                                                                                    

Toxicity detection - CODE SNIPPETS


curl --location --request POST 'https://zylalabs.com/api/2262/insult+detection+api/2128/toxicity+detection?sentences=holly shit&threshold=9' --header 'Authorization: Bearer YOUR_API_KEY' 

    

API Access Key & Authentication

After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the Insult Detection API REST API, simply include your bearer token in the Authorization header.

Headers

Header Description
Authorization [Required] Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.


Simple Transparent Pricing

No long term commitments. One click upgrade/downgrade or cancellation. No questions asked.

🚀 Enterprise
Starts at $10,000/Year

  • Custom Volume
  • Dedicated account manager
  • Service-level agreement (SLA)

Customer favorite features

  • ✔︎ Only Pay for Successful Requests
  • ✔︎ Free 7-Day Trial
  • ✔︎ Multi-Language Support
  • ✔︎ One API Key, All APIs.
  • ✔︎ Intuitive Dashboard
  • ✔︎ Comprehensive Error Handling
  • ✔︎ Developer-Friendly Docs
  • ✔︎ Postman Integration
  • ✔︎ Secure HTTPS Connections
  • ✔︎ Reliable Uptime

To use this API you must enter a text.

There are different plans suits everyone including a free plan for small amount of requests per day, but it’s rate is limit to prevent abuse of the service.

Sure, you can use it and pay only when you use it. The credit can’t be expired.

Zyla provides a wide range of integration methods for almost all programming languages. You can use these codes to integrate with your project as you need.

The Insult Detection API is a sophisticated tool designed to identify offensive language and insults in textual content.

Zyla API Hub is, in other words, an API MarketPlace. An all-in-one solution for your developing needs. You will be accessing our extended list of APIs with only your user. Also, you won't need to worry about storing API keys, only one API key for all our products is needed.

Prices are listed in USD. We accept all major debit and credit cards. Our payment system uses the latest security technology and is powered by Stripe, one of the world’s most reliable payment companies. If you have any trouble with paying by card, just contact us at [email protected]

Sometimes depending on the bank's fraud protection settings, a bank will decline the validation charge we make when we attempt to be sure a card is valid. We recommend first contacting your bank to see if they are blocking our charges. If more help is needed, please contact [email protected] and our team will investigate further

Prices are based on a recurring monthly subscription depending on the plan selected — plus overage fees applied when a developer exceeds a plan’s quota limits. In this example, you'll see the base plan amount as well as a quota limit of API requests. Be sure to notice the overage fee because you will be charged for each additional request.

Zyla API Hub works on a recurring monthly subscription system. Your billing cycle will start the day you purchase one of the paid plans, and it will renew the same day of the next month. So be aware to cancel your subscription beforehand if you want to avoid future charges.

Just go to the pricing page of that API and select the plan that you want to upgrade to. You will only be charged the full amount of that plan, but you will be enjoying the features that the plan offers right away.

Yes, absolutely. If you want to cancel your plan, simply go to your account and cancel on the Billing page. Upgrades, downgrades, and cancellations are immediate.

You can contact us through our chat channel to receive immediate assistance. We are always online from 9 am to 6 pm (GMT+1). If you reach us after that time, we will be in contact when we are back. Also you can contact us via email to [email protected]

 Service Level
89%
 Response Time
6,850ms

Category:


Tags:


Related APIs