Detectify API

Real‑time multilingual moderation

Scan text for 11 policy‑sensitive categories—instantly.

A powerful, real‑time API that flags spam, NSFW, hate speech, harassment, violence, self‑harm, CSAM, extremism, misinformation, PII, and obfuscation—all via a single endpoint.

POST /detect
curl --request POST \
+  --url https://detectify-ai-based-moderation-spam-nsfw-more.p.rapidapi.com/detect \
+  --header "Content-Type: application/json" \
+  --header "X-RapidAPI-Key: YOUR_RAPIDAPI_KEY" \
+  --header "X-RapidAPI-Host: detectify-ai-based-moderation-spam-nsfw-more.p.rapidapi.com" \
+  --data '{
    "text": "P1ng m3 0n wha55app 9So2E4SSo2"
  }'
{
  "results": {
    "spam":        { "flagged": true,  "score": 0.95, "reason": "Contains elements resembling spam or phishing attempts." },
    "nsfw":        { "flagged": false, "score": 0.0,  "reason": "No NSFW content detected." },
    "hateSpeech":  { "flagged": false, "score": 0.0,  "reason": "No hate speech detected." },
    "harassment":  { "flagged": false, "score": 0.0,  "reason": "No harassment content detected." },
    "violence":    { "flagged": false, "score": 0.0,  "reason": "No violence detected." },
    "selfHarm":    { "flagged": false, "score": 0.0,  "reason": "No self-harm content detected." },
    "csam":        { "flagged": false, "score": 0.0,  "reason": "No CSAM detected." },
    "extremism":   { "flagged": false, "score": 0.0,  "reason": "No extremism detected." },
    "misinformation": { "flagged": false, "score": 0.0, "reason": "No misinformation detected." },
    "pii":         { "flagged": true,  "score": 0.85, "reason": "Contains potential personally identifiable information." },
    "obfuscation": { "flagged": true,  "score": 0.90, "reason": "Text includes obfuscated characters." }
  },
  "summary": {
    "flaggedAny":   true,
    "highestScore": 0.95,
    "topCategory":  "spam",
    "overallScore": 0.64
  }
}
Detectify screenshot

Multilingual Support

Accepts and analyzes text in multiple languages for global safety.

Multi‑Category Detection

Flags and scores 11 critical content categories in real time.

Human‑Readable Reasons

Provides concise explanations for each flagged category.

Overall Risk Summary

Aggregate risk score and top‑scoring category at a glance.

Zero Setup

Simple HTTP interface—no SDK required, works anywhere.

Built for Scale

Optimized for throughput and low latency.

Detectify Content Moderation API

Moderate any user‑submitted text with a single POST request. Receive per‑category flags, confidence scores, reasons, and an overall risk summary.

Overview

  • Multilingual Support
  • Multi‑Category Detection
  • Human‑Readable Reasons
  • Overall Risk Summary
  • Zero Setup

API Endpoint

Method: POST
Endpoint: /detect
Description: Submit text (≤ 10,000 characters) and receive moderation details and scoring.

Example Request

curl --request POST \
+  --url https://detectify-ai-based-moderation-spam-nsfw-more.p.rapidapi.com/detect \
+  --header "Content-Type: application/json" \
+  --header "X-RapidAPI-Key: YOUR_RAPIDAPI_KEY" \
+  --header "X-RapidAPI-Host: detectify-ai-based-moderation-spam-nsfw-more.p.rapidapi.com" \
+  --data '{
    "text": "P1ng m3 0n wha55app 9So2E4SSo2"
  }'

Example Response

{
  "results": {
    "spam":        { "flagged": true,  "score": 0.95, "reason": "Contains elements resembling spam or phishing attempts." },
    "nsfw":        { "flagged": false, "score": 0.0,  "reason": "No NSFW content detected." },
    "hateSpeech":  { "flagged": false, "score": 0.0,  "reason": "No hate speech detected." },
    "harassment":  { "flagged": false, "score": 0.0,  "reason": "No harassment content detected." },
    "violence":    { "flagged": false, "score": 0.0,  "reason": "No violence detected." },
    "selfHarm":    { "flagged": false, "score": 0.0,  "reason": "No self-harm content detected." },
    "csam":        { "flagged": false, "score": 0.0,  "reason": "No CSAM detected." },
    "extremism":   { "flagged": false, "score": 0.0,  "reason": "No extremism detected." },
    "misinformation": { "flagged": false, "score": 0.0, "reason": "No misinformation detected." },
    "pii":         { "flagged": true,  "score": 0.85, "reason": "Contains potential personally identifiable information." },
    "obfuscation": { "flagged": true,  "score": 0.90, "reason": "Text includes obfuscated characters." }
  },
  "summary": {
    "flaggedAny":   true,
    "highestScore": 0.95,
    "topCategory":  "spam",
    "overallScore": 0.64
  }
}

See it in action!

Try Detectify on RapidAPI or reach out for integration support.