Skip to content
OSINTtools.io

Stop Forum Spam API

Free community database of IP addresses, email addresses and usernames reported for spamming forums, blogs and wikis.

Base URL
https://api.stopforumspam.org
Sign-in
No key
Format
REST
Endpoints
1

Compiled by OSINTtools.io editors from stopforumspam.com · updated Nov 29, 2026Work on this API? Claim it to keep these docs currentReport a mistake

Introduction

Stop Forum Spam is a database of IP addresses, email addresses and usernames reported as spammers. A lookup says whether a value appears, when it was last seen, how many times it was reported and a confidence score. An investigator uses it to see whether an IP, email or username has been reported for spam.

The API is a plain HTTP GET or POST to api.stopforumspam.org/api with the value to test and a format flag; JSON, XML and serialised PHP are offered. Several values can be tested in one call, up to 15 in a bulk query. You can send the MD5 hash of an email instead of the address. The docs state that the API must not be used as a general software firewall: checking every incoming connection against it is treated as a denial of service attack. Adding reports to the database needs an API key; lookups do not.

Quick start

  1. No key needed

    The Stop Forum Spam API answers without an account or key.

  2. Make your first request

    Check an IP, email or username against the spam database. Replace the example values and run it in a terminal, or use Try it on the endpoint.

    curl 'https://api.stopforumspam.org/api'
  3. Read the response

    A 200 response looks like this.

    {
      "success": 1,
      "ip": {
        "lastseen": "2024-01-31 16:17:22",
        "frequency": 12,
        "appears": 1,
        "confidence": 31.64
      }
    }

Authentication

No key or account: every endpoint answers without one.

Lookups need no key; submitting reports needs an API key.

Rate limits and pricing

Not stated in the docs; a bulk query of 5 field tests uses one query and 0.2 more for each extra field

Lookups

Returns whether each value appears, the last-seen date, the frequency of reports and a confidence percentage. Pass one or more of ip, email, emailhash and username, plus json to get JSON. IPv4 and IPv6 are supported. Known Tor exit nodes are flagged with torexit. A frequency of 255 means a blacklist match. Errors come back in the requested format.

Query parameters

ipstringtakes your ip address

IPv4 or IPv6 address to test

Example: 192.0.2.10
emailstringtakes your email

Email address, URL-encoded

Example: someone@example.com
emailhashstring

MD5 hash of an email address; skips blacklists and normalisation

Example: 00000000000000000000000000000000
usernamestringtakes your username

Username, URL-encoded

Example: examplename
jsonstring

Add as a bare flag to get JSON

confidencestring

Bare flag that adds the confidence score to the legacy format

notorexitstring

Bare flag: ignore the Tor exit node listing

badtorexitstring

Bare flag: report Tor exit nodes as found

nobadallstring

Bare flag: skip the wildcard checks on emails, usernames and IPs

unixstring

Bare flag: return dates as Unix time

Response fields · 9Show

successinteger

1 when the query worked, 0 on error

appearsinteger

1 if the value is in the database

lastseenstring

When it was last reported

frequencyinteger

Number of reports; 255 for a blacklist match

confidencenumber

Likelihood of unwanted activity, as a percentage

torexitinteger

1 for a known Tor exit node; omitted otherwise

appearsinteger

The same fields are returned under email

appearsinteger

The same fields are returned under username

errorstring

Error text when success is 0

curl 'https://api.stopforumspam.org/api'
No key needed
Response
{
  "success": 1,
  "ip": {
    "lastseen": "2024-01-31 16:17:22",
    "frequency": 12,
    "appears": 1,
    "confidence": 31.64
  }
}