Profanity Detection API is a tool for identifying and flagging offensive language in user-generated content. It can detect a range of profanities, toxicities, and hate speech, including insults, threats, and identity-based hate. It uses advanced language understanding technology to accurately identify and classify potentially harmful language.
{"semantic_analysis":{"0":{"id_semantic_model":1,"name_semantic_model":"profanity_words","segment":"Cunt"},"1":{"id_semantic_model":2,"name_semantic_model":"toxic","segment":"Cunt"},"2":{"id_semantic_model":4,"name_semantic_model":"obscene","segment":"Cunt"}}}
curl --location --request POST 'https://pr213-testing.zylalabs.com/api/1060/profanity+detection+api/930/profanity+analyzer?text=Required' --header 'Authorization: Bearer YOUR_API_KEY'
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 Profanity 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
About the API:
The Profanity Detection API is a powerful tool for identifying and flagging offensive language in user-generated content. It utilizes advanced language understanding technology to accurately detect a wide range of profanities and toxicities, including severe toxicities, obscene texts, insults, threats, and identity-based hate. This API is designed to help organizations and businesses manage user-generated content on their platforms, by identifying and removing potentially harmful language.
The API is easy to use and can be integrated into any application or platform that allows user-generated content. Once integrated, the API can automatically detect and flag offensive language, making it easy for moderators to review and take appropriate action. Additionally, the API can be configured to automatically remove or censor offensive language, providing an additional level of protection for users and organizations.
The Profanity Detection API can also be used to train machine learning models, by providing a large dataset of labeled offensive language. This can help organizations improve the accuracy of their own models for detecting offensive language.
Overall, the Profanity Detection API is a valuable tool for any organization or business that needs to manage user-generated content. It helps to protect users and businesses from the negative effects of offensive language and makes it easy to identify and remove harmful content. With its advanced language understanding technology, it provides a high level of accuracy and reliability, making it a reliable tool for managing user-generated content.
The Profanity Analyzer endpoint returns a JSON object containing the results of the analysis, including identified profanities, toxicities, and other harmful language types present in the input text.
The key fields in the response data typically include "semantic_analysis," which provides detailed insights into the types of harmful language detected, such as profanities, insults, and threats.
The response data is organized in a structured JSON format. It includes nested objects that categorize the identified harmful language, allowing users to easily parse and utilize the information.
The Profanity Analyzer endpoint accepts parameters such as "text" (the input content to analyze) and optional settings for sensitivity levels or specific language filters to customize the analysis.
The data for profanity detection is sourced from a combination of linguistic databases, user-generated content, and machine learning models trained on diverse datasets to ensure comprehensive coverage of offensive language.
Data accuracy is maintained through continuous model training, validation against real-world examples, and regular updates to the underlying language models to adapt to evolving language use and slang.
Typical use cases include moderating user-generated content on social media, filtering offensive language in chatbots, and ensuring respectful communication in gaming communities and customer service interactions.
Users can utilize the returned data by implementing moderation actions based on the identified harmful language, such as flagging content for review, automatically censoring offensive terms, or adjusting user interactions in real-time.
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