Recently I tried to study the current status of the spam detection API - the so-called "research" is actually a simple Google search and Twitter question. Strangely, very few things come to mind when thinking about the spam detection API. I mean, some kind of paid or free URL endpoint that you can access it with a piece of text and any metadata it needs and it will tell you if that piece of text is spam. This seems to be something that a large number of users on the Internet can use, and companies of any size can monetize or provide it for free to showcase their smart computer systems.
Akismet: Industry giant
You might think Akismet is a WordPress thing, it does. It is an Automatic product and may be mainly used as a WordPress plugin. I'm using it on CSS-Tricks and so far it has blocked 1,989,326 spam messages.
It also has a common API. It has libraries for Dart, JavaScript, PHP, Python, Ruby, Go, etc., as well as other CMS plug-ins. So even if you use a different CMS or have a custom application, you can still use Akismet for spam detection.
Once you get the API key, you can use all the data it needs to send a POST request to the URL endpoint, if it is spam, it will return true; if not, it will return false.
To get better results over time, you can also submit content and tell it which is spam and which is benign content (benign content is the antonym of spam…good content).
Plino
Several people mentioned Plino to me.
There are a lot of praise here, such as it's free and returns JSON responses you may be used to. The buzzword of “machine learning” is also used here. I think it will become smarter as more and more people use it. However, there is no way to submit benign/spam content, so I don't know if this is true.
There are some other things that upset me. It obviously runs on Heroku, which is quite expensive when applied at scale, so it seems like it can disappear at any time without a pricing model. It feels a bit like a fun but abandoned side project. When I was writing this, my last submission was two years ago.
OOPSpam
OOPSpam looks very similar to Plino, but it has a pricing model, which is great. They announced their delay time, More than two seconds Developer Onar told me they have improved it to 1235ms . I'm not comparing it to other APIs, so I don't know if they are all so slow. To me, the two-second API call time seems a bit long, but maybe that's not a big deal because it's an asynchronous commit?
CleanTalk
CleanTalk has a clear pricing structure and seems to have a large number of customers, which is an advantage for me. However, the website looks a bit rough, which makes me a little worried.
(I'm sorry if this is a little rude, but it's just my psychological calculation. Good design is one of the cheapest investments a company can make to increase trust, so it makes me doubt that the company that ignores it.)
It seems they have a range of anti-spam solutions, though, which is interesting. For example, you can ask the API to see if the IP, email, or domain name is on the blacklist, which is a very straightforward way to block bad content, but is useful for preventing spam registrations (rather than just checking for text blocks). They also have a firewall solution, which is interesting for users who try to block spam before it hits their servers.
Email Options…
There are some APIs that look quite specialized for testing emails. That is, test your own email before sending it to make sure the email service doesn't treat it as spam. Here are some APIs I found while searching around:
- GlockApps API
- SpamAssassin
The above is the detailed content of Spam Detection APIs. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undress AI Tool
Undress images for free

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

CSS blocks page rendering because browsers view inline and external CSS as key resources by default, especially with imported stylesheets, header large amounts of inline CSS, and unoptimized media query styles. 1. Extract critical CSS and embed it into HTML; 2. Delay loading non-critical CSS through JavaScript; 3. Use media attributes to optimize loading such as print styles; 4. Compress and merge CSS to reduce requests. It is recommended to use tools to extract key CSS, combine rel="preload" asynchronous loading, and use media delayed loading reasonably to avoid excessive splitting and complex script control.

ThebestapproachforCSSdependsontheproject'sspecificneeds.Forlargerprojects,externalCSSisbetterduetomaintainabilityandreusability;forsmallerprojectsorsingle-pageapplications,internalCSSmightbemoresuitable.It'scrucialtobalanceprojectsize,performanceneed

No,CSSdoesnothavetobeinlowercase.However,usinglowercaseisrecommendedfor:1)Consistencyandreadability,2)Avoidingerrorsinrelatedtechnologies,3)Potentialperformancebenefits,and4)Improvedcollaborationwithinteams.

CSSismostlycase-insensitive,butURLsandfontfamilynamesarecase-sensitive.1)Propertiesandvalueslikecolor:red;arenotcase-sensitive.2)URLsmustmatchtheserver'scase,e.g.,/images/Logo.png.3)Fontfamilynameslike'OpenSans'mustbeexact.

Autoprefixer is a tool that automatically adds vendor prefixes to CSS attributes based on the target browser scope. 1. It solves the problem of manually maintaining prefixes with errors; 2. Work through the PostCSS plug-in form, parse CSS, analyze attributes that need to be prefixed, and generate code according to configuration; 3. The usage steps include installing plug-ins, setting browserslist, and enabling them in the build process; 4. Notes include not manually adding prefixes, keeping configuration updates, prefixes not all attributes, and it is recommended to use them with the preprocessor.

CSScounterscanautomaticallynumbersectionsandlists.1)Usecounter-resettoinitialize,counter-incrementtoincrease,andcounter()orcounters()todisplayvalues.2)CombinewithJavaScriptfordynamiccontenttoensureaccurateupdates.

In CSS, selector and attribute names are case-sensitive, while values, named colors, URLs, and custom attributes are case-sensitive. 1. The selector and attribute names are case-insensitive, such as background-color and background-Color are the same. 2. The hexadecimal color in the value is case-sensitive, but the named color is case-sensitive, such as red and Red is invalid. 3. URLs are case sensitive and may cause file loading problems. 4. Custom properties (variables) are case sensitive, and you need to pay attention to the consistency of case when using them.

Theconic-gradient()functioninCSScreatescirculargradientsthatrotatecolorstopsaroundacentralpoint.1.Itisidealforpiecharts,progressindicators,colorwheels,anddecorativebackgrounds.2.Itworksbydefiningcolorstopsatspecificangles,optionallystartingfromadefin
