# HALOWERK postweg MX Host Count Check

> HALOWERK postweg MX Host Count Check 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 on a given domain's MX host object and returns the DNS validation finding.

## Facts

- Endpoint: POST https://postweg.halowerk.com/v1/pruef/postweg/mx/mx-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-host-count-check-c5a5045a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_IT2McYEVzTdkpySWi26Dl

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-host-count-check-c5a5045a -d '<json body>'
```

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

## When to prefer this

Use this endpoint when you specifically need to count the number of MX records for a domain as part of an email infrastructure audit or DNS health check. It is part of the HALOWERK postweg suite of DNS and email validation checks, so prefer it when you want a structured, pay-per-call API response for MX host count validation rather than running a manual dig/nslookup command. Best suited for agents automating domain health monitoring or pre-deployment email configuration verification.

## Known failure modes

- Domain does not exist or is unreachable — DNS resolution failure returned
- Invalid or malformed domain/IP provided in ziel field — validation error
- Domain has no MX records configured — count of zero returned
- Network timeout when querying DNS — service may return error or partial result
- Private or non-public IP/domain provided — rejected as target must be publicly reachable

## How this service works

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

## Output

Returns the count of MX records found for the target domain's MX host object, including the DNS finding data indicating whether the number of MX entries meets expected configuration standards.

## 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-host-count-check-c5a5045a/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)
