# HALOWERK postweg – MX-Einträge Zählung (smtp-host)

> HALOWERK postweg – MX-Einträge Zählung (smtp-host) is a paid API for AI agents from postweg.halowerk.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-11-16).

Checks the number of MX records associated with a given SMTP host or domain via DNS lookup

## Facts

- Endpoint: POST https://postweg.halowerk.com/v1/pruef/postweg/mx/smtp-host?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/halowerk-postweg-mx-eintr-ge-z-hlung-smtp-host-fb2c58d1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_KUgvnQSmcO4bZXS7BcJnz

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability halowerk-postweg-mx-eintr-ge-z-hlung-smtp-host-fb2c58d1 -d '<json body>'
```

Example prompt: Can you check how many MX records are configured for the SMTP host example.com and tell me if the count looks correct for email delivery?

## When to prefer this

Use this endpoint when you need to programmatically verify the MX record count for a specific SMTP host or domain as part of email infrastructure validation, deliverability audits, or DNS health checks. It is particularly suited for automated pipelines that check email DNS configuration across many domains at low cost ($0.001 per call). Prefer this over manual dig/nslookup commands when you need a structured, machine-readable result integrated into an agentic workflow.

## Known failure modes

- Domain not found or does not exist — DNS resolution fails
- Private or non-public IP/domain provided — rejected as invalid input
- Input exceeds maximum length of 2048 characters — validation error
- Malformed domain or address — parsing error returned
- Temporary DNS timeout or upstream resolver failure
- Domain has zero MX records — returns count of 0 with appropriate finding

## How this service works

Prüft am Objekt smtp-host den Befund Zahl der MX-Einträge.

## Output

Returns the number of MX DNS records found for the given SMTP host or domain, along with a structured validation finding indicating whether the count meets expected criteria for proper email routing.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "ziel": {
   "oneOf": [
    {
     "type": "string",
     "maxLength": 2048,
     "minLength": 1,
     "description": "Öffentliche HTTP(S)-Adresse; bei DNS-Befunden Domain oder öffentliche IP."
    },
    {
     "type": "object",
     "required": [
      "adresse"
     ],
     "properties": {
      "adresse": {
       "type": "string",
       "maxLength": 2048,
       "minLength": 1
      },
      "selektor": {
       "type": "string",
       "maxLength": 240,
       "minLength": 1,
       "description": "CSS-Selektor: genau ein Objekt, sonst erster Treffer des Objektfilters."
      },
      "vergleich": {
       "type": "string",
       "maxLength": 2048,
       "description": "Öffentliche Vergleichsadresse für Link-, Sitemap- oder Sprachbefunde."
      },
      "user_agent": {
       "type": "string",
       "pattern": "^[A-Za-z0-9_-]{1,80}$"
      },
      "dkim_selektor": {
       "type": "string",
       "pattern": "^[A-Za-z0-9_-]{1,63}$"
      }
     },
     "additionalProperties": false
    }
   ]
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/halowerk-postweg-mx-eintr-ge-z-hlung-smtp-host-fb2c58d1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from postweg.halowerk.com](https://www.zero.xyz/host/postweg.halowerk.com/llms.txt)
