- Takes: IP address
- Takes: Email
- Takes: Username
- 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.
Query parameters
ipIPv4 or IPv6 address to test
emailEmail address, URL-encoded
emailhashMD5 hash of an email address; skips blacklists and normalisation
usernameUsername, URL-encoded
jsonAdd as a bare flag to get JSON
confidenceBare flag that adds the confidence score to the legacy format
notorexitBare flag: ignore the Tor exit node listing
badtorexitBare flag: report Tor exit nodes as found
nobadallBare flag: skip the wildcard checks on emails, usernames and IPs
unixBare flag: return dates as Unix time
Response fields · 9ShowHide
success
1 when the query worked, 0 on error
appears
1 if the value is in the database
lastseen
When it was last reported
frequency
Number of reports; 255 for a blacklist match
confidence
Likelihood of unwanted activity, as a percentage
torexit
1 for a known Tor exit node; omitted otherwise
appears
The same fields are returned under email
appears
The same fields are returned under username
error
Error text when success is 0
curl 'https://api.stopforumspam.org/api'{
"success": 1,
"ip": {
"lastseen": "2024-01-31 16:17:22",
"frequency": 12,
"appears": 1,
"confidence": 31.64
}
}