Inappropriate Text Detection API uses machine learning algorithms to automatically identify and flag potentially offensive or inappropriate content in text. It helps companies and organizations maintain safe and respectful online communication by accurately detecting and filtering out profanity, hate speech, and other forms of harmful content.
{"request_id":"bfb738cd-b0b3-4f8f-a72c-fcc07a04f496","overall_score":0.0071,"classification":"non_toxic","confidence":0.9929,"category_scores":{"toxic":0.0071,"severe_toxic":0.0036,"obscene":0.0044,"threat":0.0057,"insult":0.0048,"identity_hate":0.0052}}
curl --location --request POST 'https://zylalabs.com/api/1216/inappropriate+text+detection+api/1056/detector' --header 'Authorization: Bearer YOUR_API_KEY'
--data-raw '{
"text": "This is an example comment to analyze."
}'
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 Inappropriate Text Detection 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.
|
No long-term commitment. Upgrade, downgrade, or cancel anytime. Free Trial includes up to 50 requests.
(Save 2 months with annual billing 🎉)
Trusted by leading companies
The Inappropriate Text Detection API is a powerful tool for identifying and flagging potentially offensive or inappropriate content in text. It utilizes machine learning algorithms to accurately detect and filter out profanity, hate speech, and other forms of harmful content, helping companies and organizations maintain safe and respectful online communication. The API is designed to be easy to integrate into existing systems, providing fast and reliable results.
With the growing concern over cyberbullying, hate speech, and other forms of online harassment, the Inappropriate Text Detection API is a crucial tool for companies and organizations looking to promote safe and respectful online communication. Whether it is used to monitor social media posts, comments, or other forms of online text, the API is designed to quickly and accurately identify potentially offensive content.
The API uses advanced machine learning algorithms to analyze text in real-time, automatically flagging potentially inappropriate content for review by a human moderator. This not only saves time and resources but also ensures that harmful content is identified and removed quickly and effectively.
Overall, the Inappropriate Text Detection API is an essential tool for companies and organizations looking to promote safe and respectful online communication. Whether you are a social media platform, a gaming company, or a business with a large online presence, this API can help you protect your users and maintain a safe and respectful online environment.
Pass the text that you want to analyze and receive its inadequate percentage.
Social Media Platforms: Social media platforms can use the API to monitor user-generated content and flag potentially offensive posts, comments, or messages. This helps ensure a safe and respectful online community and prevents cyberbullying and other forms of online harassment.
Gaming Companies: Gaming companies can use the API to monitor in-game chat and flag potentially inappropriate or offensive language. This helps maintain a positive gaming experience for all players and prevent harassment and hate speech.
Customer Service: Businesses can use the API to monitor customer interactions and flag potentially inappropriate or offensive messages. This helps maintain professional and respectful customer service and prevent situations that could harm the company's reputation.
News Outlets: News outlets can use the API to monitor user-generated content and flag potentially offensive comments. This helps maintain a safe and respectful online community for discussion of current events.
Online Marketplaces: Online marketplaces can use the API to monitor product reviews and flag potentially inappropriate or offensive language. This helps maintain a professional and respectful marketplace and prevent situations that could harm the company's reputation.
Educational Institutions: Educational institutions can use the API to monitor student interactions and flag potentially inappropriate or offensive language. This helps maintain a safe and respectful learning environment and prevents bullying and harassment.
Besides API call limitations per month, there is no other limitation.
The POST Detector endpoint returns a JSON object containing information about detected profanities in the submitted text. It includes fields such as "profanities," "profanity_count," "server_reference," "result," and "response_timestamp."
Key fields in the response include "profanities" (an array of detected profanities), "profanity_count" (the total number of profanities found), "result" (indicating success or failure), and "response_timestamp" (the time of the response).
The response data is structured as a JSON object. It contains nested fields that provide detailed information about the analysis, including arrays for detected profanities and numerical counts for easy interpretation.
Users can pass plain text for analysis and specify the sensitivity level of the profanity detection. Sensitivity levels can be adjusted to increase or decrease the strictness of the detection process.
Users can customize requests by adjusting the sensitivity parameter when submitting text. This allows for tailored detection based on the context or audience, ensuring appropriate content moderation.
Typical use cases include monitoring social media posts for offensive language, filtering in-game chat in gaming platforms, and ensuring respectful customer interactions in service communications.
Data accuracy is maintained through advanced machine learning algorithms that continuously learn from new data inputs. Regular updates and training improve the model's ability to detect inappropriate content effectively.
If the response contains an empty "profanities" array, it indicates no inappropriate content was detected. Users should implement logic to handle such cases, possibly logging or notifying moderators for further review if needed.
To obtain your API key, first sign in to your account and navigate to the API you want to use. From the API's Pricing section, choose a plan and complete the subscription process. Once subscribed, return to the API page and you will see your API Access Key displayed at the top of the documentation page. You can use this key to authenticate your requests.
You can’t switch APIs during the free trial. If you subscribe to a different API, your trial will end and the new subscription will start as a paid plan.
The free trial lasts for 7 days and allows you to make up to 50 API requests.
No, the free trial is available only once, so we recommend using it on the API that interests you the most. Most of our APIs offer a free trial, but some may not include this option.
Yes. If the API offers a free trial, you will see a "Free 7-Day Trial" option in its Pricing section. The trial lasts for 7 days and allows up to 50 API requests, enabling you to evaluate the API before subscribing to a paid plan.
Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.
You can monitor your API usage through the response headers included with every request:
x-zyla-api-calls-monthly-used: Shows the total number of API requests you have used during the current billing period.
x-zyla-api-calls-monthly-remaining: Shows the number of API requests you have remaining for the current billing period.
Yes, you can cancel your subscription at any time. Simply go to the Pricing section of the API you're subscribed to and click the "Unsubscribe" button.
Please note that upgrades, downgrades, and cancellations take effect immediately. Once your subscription is canceled, access to the service will end immediately, regardless of any remaining API calls in your quota.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund