# Stop Forum Spam API reference

> 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…

Source: https://osinttools.io/apis/stopforumspam/ (Markdown view of an OSINTtools.io page; append `.md` to any page URL for this format).

Compiled by OSINTtools.io editors from the vendor's docs, updated Nov 29, 2026. Listing: https://osinttools.io/tools/stopforumspam/

- Base URL: https://api.stopforumspam.org
- Authentication: No key needed. Lookups need no key; submitting reports needs an API key.
- Rate limits: Not stated in the docs; a bulk query of 5 field tests uses one query and 0.2 more for each extra field
- Vendor docs: https://www.stopforumspam.com/usage

## Overview

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.

## Lookups

### Check an IP, email or username against the spam database

`GET /api`

- Takes: IP address, Email, Username
- Footprint: passive (the target is not contacted)

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.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `ip` | query | string | no | IPv4 or IPv6 address to test Example: 192.0.2.10 |
| `email` | query | string | no | Email address, URL-encoded Example: someone@example.com |
| `emailhash` | query | string | no | MD5 hash of an email address; skips blacklists and normalisation Example: 00000000000000000000000000000000 |
| `username` | query | string | no | Username, URL-encoded Example: examplename |
| `json` | query | string | no | Add as a bare flag to get JSON |
| `confidence` | query | string | no | Bare flag that adds the confidence score to the legacy format |
| `notorexit` | query | string | no | Bare flag: ignore the Tor exit node listing |
| `badtorexit` | query | string | no | Bare flag: report Tor exit nodes as found |
| `nobadall` | query | string | no | Bare flag: skip the wildcard checks on emails, usernames and IPs |
| `unix` | query | string | no | Bare flag: return dates as Unix time |

Response fields:

- `success` (integer): 1 when the query worked, 0 on error
- `ip.appears` (integer): 1 if the value is in the database
- `ip.lastseen` (string): When it was last reported
- `ip.frequency` (integer): Number of reports; 255 for a blacklist match
- `ip.confidence` (number): Likelihood of unwanted activity, as a percentage
- `ip.torexit` (integer): 1 for a known Tor exit node; omitted otherwise
- `email.appears` (integer): The same fields are returned under email
- `username.appears` (integer): The same fields are returned under username
- `error` (string): Error text when success is 0

```bash
curl 'https://api.stopforumspam.org/api'
```

Example response (200):

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

---

Listings on OSINTtools.io are reviewed by editors and re-verified on a schedule; check pricing and availability on the vendor's site before relying on them, and use OSINT tools only with a lawful basis.
Site index for agents: https://osinttools.io/llms.txt · Full catalog: https://osinttools.io/llms-full.txt · MCP server (Streamable HTTP, no auth): https://osinttools.io/mcp/
