Spam Detector API

POST

Catch spam in submitted text before it goes live.

Spam Detector evaluates text submissions to determine whether content is likely spam. Pass a message body and an optional sender email to check for spam patterns, with paid plans adding IP blocklist and disposable email checks.

Try it — live request, no key required

Request
POSTapi.apiverve.com/v1/spamdetector
Body
Verification
Format

No key required to try it. Get a key to use it in your app.

Example
{
  "status": "ok",
  "error": null,
  "data": {
    "likelySpam": true,
    "isDisposableEmail": false,
    "isIPBlacklisted": false,
    "ipDetails": {
      "country": "IN",
      "region": "DL"
    },
    "parsed": true
  }
}

About the Spam Detector API

Spam Detector works by analyzing the text provided and detecting if it is spam. It uses advanced algorithms to analyze the text and return the likelihood of spam.

What people use it for

Forum Comment Screening
Community platforms evaluate incoming forum posts and blog comments to hold suspected spam for moderator review before it appears publicly.
Contact Form Filtering
When visitors submit inquiry forms, lead capture systems check the message text and sender email to drop junk leads automatically.
Chat Message Moderation
Flag suspicious direct messages in real time to stop promotional bots from spamming newly registered members.
Job Listing Verification
To prevent affiliate link abuse, job boards screen incoming vacancy descriptions before listing them in search results.

Ways to call it

One endpoint, many ways in — REST with JSON, XML, YAML and CSV, plus GraphQL and an MCP interface for AI agents.

JSON
Default REST response
XML
Markup format
YAML
Human-readable
CSV
Tabular export
Beta
GraphQL
Query language
New
MCP
For AI agents

Other ways to use Spam Detector

Same data, same APIVerve account, same credit balance — one key works on all of them.

Questions.

Common questions about the Spam Detector API.

Read the docs
How many messages can I screen for spam on the Free plan?
The Free plan includes 20 checks per month at 10 credits per call. For higher volumes, the Starter plan covers 20,000 checks each month, which works out to about $1.50 per 1,000 calls.
Can I check for disposable emails and blacklisted IPs on the Free plan?
No, disposable email detection and IP blocklist lookups require a paid plan. Upgrading to Starter or above also unlocks sender country and region data, along with the ability to submit an IP address for inspection.
Do I have to provide an email or IP address with every text check?
No, only the text input is required to evaluate a submission. Adding an email address is optional on every plan; adding an IP address requires a paid plan, giving you additional signals by checking sender details against spam databases.
Can I pass an IP address to the check if I am on the Free plan?
The IP parameter is restricted to paid subscriptions. If you are on the Free plan, you can only analyze the message body and evaluate an optional email address.
What kinds of text submissions can I analyze?
You can send any string of text where spam may appear, including forum replies, contact form messages, product reviews, and user bios. The service evaluates the content and indicates whether it is likely spam.

Ready to build with Spam Detector? Start with 200 free credits — one key unlocks all 300+ APIs.

Explore the catalog

300+ APIs on the same key and the same response shape.

Browse all APIs