About the API:
With advanced technology, this highly accurate tool will prevent your systems to be victims of spam or abusers. Be able to determine if a given text i spam or not with ease and quickness.
This API will receive the text that you want to check its content from and, if available, the sender's IP. The response will give you the number of words that are considered spam and the words that have been recognized as spam, so you can check them out.
Also, if the sender's IP is provided, the tool will look if it's not blacklisted so you know beforehand if the sender is a spammer.
This API has a lot of applications in the real world.
For example:
Besides the number of API calls per month, there are no other limitations.
{"flagged":false,"score":0,"indicators":[]}
curl --location --request POST 'https://zylalabs.com/api/131/spam+detection+api/175/detect+spam' --header 'Authorization: Bearer YOUR_API_KEY'
--data-raw '{
"text": "Your text to check for spam"
}'
| 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.
The API returns a JSON object containing a spam score, details about the content and sender's IP, and the number of spam words detected. The key fields include "Score," "isIPBlocked," "isContentSpam," "numberOfSpamWords," and "spamWords."
The key fields in the response include "Score" (spam score from 0 to 6), "isIPBlocked" (indicates if the sender's IP is blacklisted), "isContentSpam" (indicates if the content is spam), "numberOfSpamWords" (count of spam words), and "spamWords" (list of identified spam words).
The response data is structured as a JSON object. It includes a top-level score and a "Details" object that provides additional information about the spam assessment, such as IP status and spam word details.
The Detect Spam endpoint accepts two parameters: "text" (the content to analyze) and an optional "senderIP" (the sender's IP address). Users can customize their requests by providing these parameters to enhance spam detection accuracy.
The endpoint provides information on the spam score of the submitted text, whether the sender's IP is blacklisted, the number of spam words detected, and a list of those spam words, allowing users to assess the content's legitimacy.
Data accuracy is maintained through advanced algorithms that analyze text patterns and compare sender IPs against multiple blocklists. Continuous updates and quality checks ensure the API remains effective in identifying spam.
Typical use cases include filtering spam in emails, blocking spam submissions in contact forms, preventing abusive behavior in live chats, and moderating comments on blogs to maintain content quality.
Users can utilize the returned data by interpreting the spam score to determine content legitimacy. A score of 3 or higher indicates potential spam, while the list of spam words can help refine filtering criteria in applications.
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
Service Level:
100%
Response Time:
1,101ms
Service Level:
100%
Response Time:
804ms
Service Level:
100%
Response Time:
374ms
Service Level:
100%
Response Time:
1,339ms
Service Level:
100%
Response Time:
417ms
Service Level:
100%
Response Time:
755ms
Service Level:
100%
Response Time:
4,288ms
Service Level:
100%
Response Time:
2,316ms
Service Level:
100%
Response Time:
2,590ms
Service Level:
100%
Response Time:
1,122ms