Akismet: the Web 2.0 cure for comment spam

If you’re fed up with comment spam, have a look at Akismet


Akismet is a comment spam filtering service, provided by Automattic, the company founded by WordPress developer Matt Mullenweg (together with some other core WordPress developers). Recently, the leader of Yahoo developer network joined the startup, so there apparently is money and potential…


You need to install a plugin in your blogging engine. There (obviously) already is such a plugin for WordPress (and it comes by default with WordPress 2.0), but there will soon be plugins for other blogging tools as well. In fact, Akismet is suitable to check any kind of user-submitted content for spam. There are generic software libraries that use the Akismet API on top of which anti-spam plugins for all kinds of social software tools can be built: forums, wikis… Have a look at the Akismet development.

Behind the scenes…

The Akismet plugin sends a submitted comment to the Akismet server. The server runs a series of tests and the result classifies the comment as spam or not. Basically, the server works as an email spam filter. I wouldn’t be surprised if a lot of the Akismet code was based on Spamassassin (an open source email spam filter). Like Spamassassin, Akismet learns from its mistakes: so if you notice a comment that got through and reclassify it as spam, that result is sent to the Akismet server and similar comments will be more likely to be marked as spam. Vice versa for “false positives”. Note that this way you profit from other Akismet users’ efforts on their blogs as well (and they from yours)! The Akismet service is comparable to the email spam database Vipul’s Razor (used by SpamAssassin) and its commercial version Cloudmark, that is used by some commercial email spam filters.


I have Akismet running on this blog and blogs I installed for other people: I could safely turn of comment moderation, which makes the interaction between the commenters a lot faster and livelier. I’ve only had 2 false positives in about a month (very short comments or trackbacks). In order to get Akismet running, you need to get an API key by registering as a user at WordPress.com (the hosted version of WordPress provided by Automattic). The Akismet service is free for personal use, let’s hope they don’t run into performance problems any time soon…


If you were looking for a quintessential Web2.0 application, then Akismet is one:

  • decentralised service
  • open api
  • the more people and applications that use it, the better it gets
  • results are driven by the collective judgement of the users, each of them driven by self-interest
  • business model:
    • build up a user base with free software (WordPress), then provide that audience with a paid service.
    • the lock-in is in the data, not in the software
    • the software is open source, and helps drive the adoption of the API
  • and it has nothing to do with Ajax :-) (unless you count the WP admin panel in)

3 Responses to “Akismet: the Web 2.0 cure for comment spam”

  1. What’s wrong with blog commenting (and what you can do about it) Says:

    […] Notes, links and conversation « Akismet: the Web 2.0 cure for comment spam […]

  2. Paul Cook Says:

    I’m sure it won’t be here long, and you’re welcome to delete this comment when you get around to it, but …

    I’m enjoying the irony involved in the second comment to this post being, well, spam. The war’s not won yet, methinks!

  3. Pascal Says:

    That second ringtone comment has been removed indeed.
    But still…
    Having to delete a comment manually just once in a while is not that bad if you realise that 6203 (so far) other spam comments were stopped automatically…
    (And that ringtone comment, is in the Akismet database by now :-) )