request_id:"9ff0c77d-ef4c-477d-af33-793515eaa016"
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/3149/language+policing+api/3346/text+moderation' --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 Language Policing 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 Language Policing API is a crucial tool in the field of content management and user interaction, offering users a robust solution for filtering and moderating text-based content in applications, websites and online platforms. This API employs advanced algorithms and linguistic models to analyze text, allowing inappropriate, offensive or harmful content to be automatically identified and mitigated. By integrating the Language Policing API, users can ensure a safer and more controlled environment for users, encourage positive interactions, and comply with content guidelines and regulations.
In essence, the Language Policing API is designed to evaluate text content and classify it based on predefined criteria, such as profanity, hate speech or explicit language.
The API excels at managing various types of content, such as user comments, chat messages, product reviews and any other text-based posts. This versatility makes it a valuable asset for social networking platforms, discussion forums, e-commerce websites and any application that includes user-generated textual content.
Integration of the Language Policing API into applications is usually seamless and supported by comprehensive documentation.
In conclusion, the Language Policing API is a vital tool for content management, providing users with the means to foster a positive and safe user experience. Whether applied to social networks, online forums or e-commerce platforms, the API plays a critical role in upholding content standards, protecting users from harmful content and maintaining the integrity of digital communities. As online interactions continue to evolve, the Language Policing API stands as a proactive measure in shaping a responsible and user-friendly digital landscape.
It will receive parameters and provide you with a JSON.
User Comments Moderation: Automatically filter and moderate user comments in online forums, social media, or blog posts to prevent the dissemination of offensive or inappropriate content.
Chat Message Filtering: Ensure that chat messages in messaging applications or online chat systems adhere to community guidelines, minimizing the risk of harassment or abusive language.
Product Review Screening: Moderate product reviews on e-commerce platforms to filter out reviews containing explicit language, misinformation, or inappropriate content.
Community Forum Moderation: Maintain a positive and respectful atmosphere in community forums by automatically identifying and handling content that violates community guidelines.
Social Media Content Control: Filter social media posts and comments to prevent the spread of hate speech, cyberbullying, or other harmful content.
Besides the number of API calls per month, there are no other limitations.
To use this API, the user must indicate a text to obtain a moderated analysis of it.
The Language Policing API is a service designed to automatically analyze and moderate text content, identifying and filtering out inappropriate or offensive language to ensure adherence to content guidelines.
There are different plans suits everyone including a free trial for small amount of requests, but it’s rate is limit to prevent abuse of the service.
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 Text Moderation endpoint returns a JSON object containing scores for various categories of inappropriate content, such as toxicity, indecency, threats, offensiveness, eroticism, and spam.
The key fields in the response data include "toxic," "indecent," "threat," "offensive," "erotic," and "spam," each representing a score that indicates the likelihood of the text containing that type of inappropriate content.
The response data is organized as a JSON object with key-value pairs, where each key corresponds to a type of inappropriate content and the value is a numerical score ranging from 0 to 1, indicating the severity.
The primary parameter for the Text Moderation endpoint is the "text" input, which should be a string containing the content to be analyzed for inappropriate language.
Users can customize their requests by providing different text inputs to the endpoint, allowing for the analysis of various types of content, such as comments, messages, or reviews.
Typical use cases include moderating user comments on social media, filtering chat messages in messaging apps, screening product reviews on e-commerce sites, and maintaining community standards in forums.
Data accuracy is maintained through the use of advanced algorithms and linguistic models that are regularly updated and trained on diverse datasets to improve the identification of inappropriate content.
Quality checks include continuous monitoring of the API's performance, user feedback mechanisms, and regular updates to the underlying models to ensure high accuracy in content moderation.
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