# HALOWERK postweg – SPF Record Check for SMTP Host

> HALOWERK postweg – SPF Record Check for 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-17).

Checks whether an SMTP host has a valid SPF (Sender Policy Framework) DNS record present.

## Facts

- Endpoint: POST https://postweg.halowerk.com/v1/pruef/postweg/spf/smtp-host?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/halowerk-postweg-spf-record-check-for-smtp-host-f641b94d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Bd2bK-UWJNYpRjOSKM9wH

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-spf-record-check-for-smtp-host-f641b94d -d '<json body>'
```

Example prompt: Can you check whether the SMTP host at mail.example.com has an SPF record configured in its DNS?

## When to prefer this

Use this endpoint when you need to verify specifically whether an SPF record exists on an SMTP host as part of email authentication auditing, deliverability troubleshooting, or security compliance checks. It is part of the HALOWERK postweg suite of email infrastructure checks (alongside DMARC, DKIM, PTR), so prefer it when you want a focused, per-check result rather than a full manual DNS lookup.

## Known failure modes

- Invalid or unreachable domain/IP returns an error or negative finding
- Malformed 'ziel' input (too short, too long, or invalid format) causes a 400-level rejection
- Temporary DNS resolution failures may produce inconclusive results
- Private or internal IP addresses may not resolve publicly and return an error

## How this service works

Prüft am Objekt smtp-host den Befund vorhandenen SPF-Eintrag.

## Output

Returns a finding (Befund) indicating whether an SPF record is present on the specified SMTP host, based on a live DNS lookup. The response includes the check result for the smtp-host object, confirming presence or absence of the SPF entry.

## 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-spf-record-check-for-smtp-host-f641b94d/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)
