Spam Detector - API for Content Moderation             [ A2Z Web ![A2Z Web logo](https://sharpapi.com/storage/22130/conversions/a2z-logo-96-transparent-full_size.jpg) ](/)  Open main menu

  API Catalog

 [ E-commerce  ](/en/catalog/ai/e-commerce)APIs to streamline every aspect of e-commerce, from product details to customer engagement.

 [ Content &amp; Marketing Automation  ](/en/catalog/ai/content-marketing-automation)Automation tools for efficient content creation, audience engagement, moderation and marketing workflows.

 [ HR Tech  ](/en/catalog/ai/hr-tech)APIs designed to simplify recruitment, resume parsing, skill-matching, and candidate evaluation.

 [ Travel, Tourism &amp; Hospitality  ](/en/catalog/ai/travel-tourism-hospitality)Tools to enhance travel and hospitality services, from customer insights to product organization.

 [ SEO  ](/en/catalog/ai/seo)Solutions to automate your SEO essentials, including tags and metadata management.

 [ Accounting &amp; Finance  ](/en/catalog/ai/accounting-finance)AI endpoints for invoice processing, receipt parsing, and financial document analysis.

 [ Utility APIs  ](/en/catalog/utility)Robust databases and tools for enhancing applications with Travel &amp; HR industry-specific data.

 [ Pricing ](/en/pricing) [ Sign up → ](https://sharpapi.com/ref/sharpapi_tchzrx3s)

 [ A2Z Web ![A2Z Web logo](https://sharpapi.com/storage/22130/conversions/a2z-logo-96-transparent-full_size.jpg) ](/)  Close menu

  API Catalog    [ E-commerce ](/en/catalog/ai/e-commerce) [ Content &amp; Marketing Automation ](/en/catalog/ai/content-marketing-automation) [ HR Tech ](/en/catalog/ai/hr-tech) [ Travel, Tourism &amp; Hospitality ](/en/catalog/ai/travel-tourism-hospitality) [ SEO ](/en/catalog/ai/seo) [ Accounting &amp; Finance ](/en/catalog/ai/accounting-finance) [ Utility APIs ](/en/catalog/utility)

 [ Pricing ](/en/pricing) [ Sign up → ](https://sharpapi.com/ref/sharpapi_tchzrx3s)

 1. [    Home ](https://workflows.a2zweb.co/en)
2. [APIs Catalog](https://workflows.a2zweb.co/en/catalog)
3. [Content &amp; Marketing Automation](https://workflows.a2zweb.co/en/catalog/ai/content-marketing-automation)
4. [Spam Detector](https://workflows.a2zweb.co/en/catalog/ai/content-marketing-automation/spam-detector)

  [ Content &amp; Marketing Automation ](https://workflows.a2zweb.co/en/catalog/ai/content-marketing-automation)

  AI-powered API

 Spam Detector
===============

 Spam filtration test with a percentage confidence score along with an explanation.
------------------------------------------------------------------------------------

This API is ideal for developers working on content moderation tools, email filtering, and social media platforms. It automates the spam detection process, helping to maintain the quality and integrity of user-generated content. Use cases include moderating forum posts, filtering spam emails, and analyzing user comments for spammy content.

### AI jobs involve two key steps:

1. **Submitting the AI job:** Initiating the process by sending the job request.
2. **Monitoring and receiving results:** Continuously checking the job status and obtaining the final output upon successful completion.

---

### Related SDKs/Libraries

- Laravel

     [ Spam Detector for Laravel   ](https://github.com/sharpapi/laravel-content-detect-spam)
- Node.js

     [ Spam Detector for Node.js   ](https://www.npmjs.com/package/@sharpapi/sharpapi-node-detect-spam)
- PHP

     [ Spam Content Detector for PHP 8 - AI-Powered Spam Detection   ](https://github.com/sharpapi/php-content-spam-detector)

---

 ![Spam Detector](https://sharpapi.com/storage/253/conversions/Content-%26-Marketing---Spam-Detector-%28AI%29-full_size.jpg) [     Check API Details Documentation   Check API Details Documentation ](https://documenter.getpostman.com/view/31106842/2s9Ye8faUp#4aa98c9e-775f-4418-a29a-2b3c83e42c58)

 [ ![SharpAPI SOC 2 Type II](/build/assets/resources/images/a2zweb-soc2-Cb6pM2no.png) ](https://trust.a2zweb.co/) SharpAPI is now SOC 2 Type II compliant. You can check details at our [ Trust Center Portal. ](https://trust.a2zweb.co/)

 Your data is your data. Learn how we protect it and comply with global privacy standards in our [ Data Handling and Compliance policy ](https://sharpapi.com/data-handling-and-compliance).

Step 1. Submit the AI Job request
---------------------------------

**Endpoint:** `POST - /api/v1/content/detect_spam`

AttributeTypeMandatoryDescriptioncontentStringYesProvide the content to check whether it is spam.---

**RESPONSE EXAMPLE:**

```
{
  "status_url": "https://sharpapi.com/api/v1/content/translate/job/status/5de4887a-0dfd-49b6-8edb-9280e468c210",
  "job_id": "5de4887a-0dfd-49b6-8edb-9280e468c210"
}

```

---

Step 2. Monitor &amp; Fetch AI Job Results
------------------------------------------

**Endpoint:** `GET - /api/v1/content/detect_phones/job/status/:uuid`

An endpoint is used to check on the progress of the requested API job.

**RESULT EXAMPLE:**

```
{
  "data": {
    "type": "api_job_result",
    "id": "f7d3eec2-7ba6-4104-9f30-ff418428de2c",
    "attributes": {
      "status": "success",
      "type": "content_detect_spam",
      "result": {
        "pass": false,
        "score": 85,
        "reason": "The message appears to be a solicitation for financial services, which is a common characteristic of spam."
      }
    }
  }
}

```

- Related Keywords:
- [ Detection ](https://workflows.a2zweb.co/en/tag/detection)
- [ Content ](https://workflows.a2zweb.co/en/tag/content)
- [ GenAI ](https://workflows.a2zweb.co/en/tag/genai)
- [ Spam ](https://workflows.a2zweb.co/en/tag/spam)
- [ Filtration ](https://workflows.a2zweb.co/en/tag/filtration)
- [ Moderation ](https://workflows.a2zweb.co/en/tag/moderation)
- [ Emails ](https://workflows.a2zweb.co/en/tag/emails)
- [ Comments ](https://workflows.a2zweb.co/en/tag/comments)

###  Other Content &amp; Marketing Automation APIs

- [

     Advanced Text Translator ](https://workflows.a2zweb.co/en/catalog/ai/content-marketing-automation/advanced-text-translator)
- [

     Emails Detector ](https://workflows.a2zweb.co/en/catalog/ai/content-marketing-automation/emails-detector)
- [

     Keywords/Tags Generator ](https://workflows.a2zweb.co/en/catalog/ai/content-marketing-automation/keywords-tags-generator)
- [

     Paraphrase Text ](https://workflows.a2zweb.co/en/catalog/ai/content-marketing-automation/paraphrase-text)
- [

     Phone Numbers Detector ](https://workflows.a2zweb.co/en/catalog/ai/content-marketing-automation/phone-numbers-detector)
- [

     Proofread &amp; Grammar Checker ](https://workflows.a2zweb.co/en/catalog/ai/content-marketing-automation/proofread-grammar-checker)
- [

     Summarize Text ](https://workflows.a2zweb.co/en/catalog/ai/content-marketing-automation/summarize-text)
- [

     URLs Detector ](https://workflows.a2zweb.co/en/catalog/ai/content-marketing-automation/urls-detector)
- [

     Address Detector ](https://workflows.a2zweb.co/en/catalog/ai/content-marketing-automation/address-detector)
- [

     Profanity Detector ](https://workflows.a2zweb.co/en/catalog/ai/content-marketing-automation/profanity-detector)
- [

     AI Content Detector ](https://workflows.a2zweb.co/en/catalog/ai/content-marketing-automation/ai-content-detector)

   [ ![SOC 2 Type II](/build/assets/resources/images/a2zweb-soc2-Cb6pM2no.png) ](https://trust.a2zweb.co/)We're SOC 2 Type II certified!

 Simply put, your data is in safe hands, and you can count on us to stay secure. Check the details at our [Trust Portal](https://trust.a2zweb.co/).

 © 2026 A2Z Web · Powered by [ ![SharpAPI logo](/build/assets/resources/images/logo200-C65na0V3.png) SharpAPI ](https://sharpapi.com/)
