Comment Safe API

Comment Safe API

The Comment Safe API is an advanced artificial intelligence tool designed to analyze and identify toxic, profane or hateful content in user comments or text posts.

API description

About the API:  

This powerful API allows developers to create safer online environments by automatically detecting and flagging potentially harmful or offensive language. With the growing importance of user-generated content on various platforms such as social networks, forums or comment sections, it has become crucial to ensure the well-being and inclusiveness of online communities. Comment Safe API addresses this need by providing a comprehensive solution to monitor and mitigate the negative impact of toxic or hateful behavior.

The API employs cutting-edge natural language processing (NLP) techniques and machine learning models trained on vast datasets to accurately assess the sentiment and tone of text entries. It analyzes various linguistic and contextual factors to determine the presence and severity of toxicity, profanity, hate speech or abusive language in comments.

Developers can seamlessly integrate the API into their applications, platforms or moderation systems, allowing them to automatically identify and manage harmful content in real time. By implementing the Comment Safe API, developers can significantly reduce the manual effort required for content moderation, ensuring a safer and more positive user experience.

One of the remarkable features of this API is its versatility. It supports multiple languages, allowing developers to monitor content in different linguistic contexts and cater to a diverse user base. By utilizing this multilingual capability, developers can effectively combat toxicity and hate speech on global platforms and communities.

The API provides a comprehensive toxicity score that quantifies the level of toxicity of analyzed comments. This allows developers to set custom thresholds and define appropriate actions based on the severity of the detected content.

By using the Comment Safe API, developers can create safer online spaces, protect users from harmful experiences, and promote healthier and more inclusive online interactions. It serves as a proactive tool to combat cyberbullying, harassment and other forms of digital abuse, fostering a positive and respectful environment for all users.

In conclusion, the Comment Safe API is a powerful AI tool that empowers developers to detect and mitigate toxic, profane, or hateful language within user comments or text inputs. By integrating this API into their platforms, developers can enhance content moderation efforts, safeguard online communities, and foster a more positive and inclusive online environment.


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 moderation: Social media platforms can use the API to automatically detect and filter toxic or hateful comments, ensuring a safer and more respectful online community.

  2. Content filtering: Websites or applications with user-generated content, such as forums, can integrate the API to identify and flag toxic or profane comments, preventing them from being displayed publicly.

  3. Chat applications: Chat applications and messaging platforms can use the API to scan and moderate conversations in real time, preventing the spread of toxic or offensive language among users.

  4. Online gaming communities: Gaming platforms and forums can employ the API to monitor and filter toxic or abusive language in game chats or community discussions, promoting a positive gaming experience for all players.

  5. News comment sections: News websites can use the API to automatically identify and moderate comments containing hate speech, ensuring a respectful and constructive environment for readers.

Are there any limitations to your plans?

  • Free Plan: 3 API Calls.

  • Basic Plan: 25,000 API Calls. 15 requests per minute.

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

  • Pro Plus Plan: 140,000 API Calls. 1 request per second.

  • Premium Plan: 650,000 API Calls. 3 requests per second.

API Documentation


To use this endpoint you must insert the text you want to analyze along with the language (default English).

Languages available: English (en), Spanish (es), Arabic (ar), Chinese (zh), Russian (ru), French (fr), German (de), Japanese (ja), Portuguese (pt), Italian (it), Korean (ko), Dutch (nl), Swedish (sv), Polish (pl), Indonesian (id), Czech (cs), Hindi (hi), and Hinglish (hi-Latn).



Toxicity analysis - Endpoint Features
Object Description
text [Required]
language [Optional]
Test Endpoint



Toxicity analysis - CODE SNIPPETS

curl --location --request GET ' what is this&language=english' --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 Comment Safe API REST API, simply include your bearer token in the Authorization header.


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

The API may impose limits to ensure fair use and prevent abuse. Please refer to the API plans for specific details on limitations.

A Comment Safe API is an application programming interface that uses artificial intelligence and natural language processing techniques to assess the level of toxicity or harmful content in text inputs.

The API analyzes various linguistic and contextual factors to determine the presence and severity of toxicity in text. It leverages machine learning models trained on large datasets to accurately classify and flag toxic or harmful content.

A Comment Safe API can detect various forms of toxicity, including hate speech, profanity, offensive language, cyberbullying, harassment, and other harmful content.

Yes, Comment Safe API support multiple languages, enabling the analysis and detection of toxic content in different linguistic contexts.

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]

Useful links: