Skip to content
HALOWERK

Textwerk

spam classify

Explainable feature scoring without a model: honeypot field filled (5), submitted in under 3 seconds (3), BBCode/HTML link markup (3), URL in the name field (3), more links than allowed (2, +1 from 5 links), URL shorteners (2), spam vocabulary per category (pharma, gambling, finance, SEO, adult, phishing; 2 each), messenger contact redirection (2), money promises (2), only a link without text (2), invisible Unicode characters (2), script mismatch to the expected language (2), language.

POST https://text.halowerk.com/v1/spam-classify

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
textstringYesMessage or comment body.
fieldsobjectNoOther form fields.
honeypotstringNoValue of a hidden field that humans leave empty.
seconds_to_submitnumberNoTime between form render and submit.
expected_languagestringNoLanguage the form is meant for.
max_linksintegerNo
Show full input schema
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "text"
  ],
  "properties": {
    "text": {
      "type": "string",
      "minLength": 1,
      "maxLength": 20000,
      "description": "Message or comment body."
    },
    "fields": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "name": {
          "type": "string",
          "maxLength": 200
        },
        "email": {
          "type": "string",
          "maxLength": 320
        },
        "subject": {
          "type": "string",
          "maxLength": 500
        },
        "website": {
          "type": "string",
          "maxLength": 500
        }
      },
      "description": "Other form fields."
    },
    "honeypot": {
      "type": "string",
      "maxLength": 2000,
      "description": "Value of a hidden field that humans leave empty."
    },
    "seconds_to_submit": {
      "type": "number",
      "minimum": 0,
      "maximum": 86400,
      "description": "Time between form render and submit."
    },
    "expected_language": {
      "type": "string",
      "enum": [
        "de",
        "en",
        "fr",
        "es",
        "it",
        "nl",
        "pt",
        "pl"
      ],
      "description": "Language the form is meant for."
    },
    "max_links": {
      "type": "integer",
      "minimum": 0,
      "maximum": 50,
      "default": 1
    }
  }
}

Open original schema

Published input example

{
  "text": "Hello admin, I came across your website. We offer SEO services and backlinks: [url=http://bit.ly/x1]click[/url]",
  "seconds_to_submit": 2,
  "expected_language": "de"
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-17 UTC.

More endpoints in this hub

All endpoints in this hub →