# Swift Bot Labs Toolbox – DNS DMARC Record Lookup

> Swift Bot Labs Toolbox – DNS DMARC Record Lookup is a paid API for AI agents from x402-toolbox.swiftbotlab.workers.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-31).

Looks up and parses the DMARC DNS record for a given domain, returning policy, alignment settings, pct, and any configuration issues.

## Facts

- Endpoint: GET https://x402-toolbox.swiftbotlab.workers.dev/v1/dns/dmarc?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/swift-bot-labs-toolbox-dns-dmarc-record-lookup-68030019
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1kpfXWFrNROL7g40sQISI

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 swift-bot-labs-toolbox-dns-dmarc-record-lookup-68030019
```

Example prompt: Can you check the DMARC record for stripe.com and tell me what policy is set, whether SPF and DKIM alignment are relaxed or strict, and if there are any configuration issues?

## When to prefer this

Use this endpoint when you need a quick, pay-per-call DMARC record lookup without setting up an account or API key. It is ideal for one-off checks, agent workflows auditing email security posture, or when you need structured parsed output (policy, pct, alignment) rather than the raw TXT string. Prefer it over general DNS tools when you specifically need DMARC semantics and issue detection.

## Known failure modes

- Domain has no DMARC TXT record — found:false returned with empty policy
- Domain string is malformed or not a valid hostname — likely 4xx error
- DNS resolution failure or timeout — upstream DNS error
- Domain is a subdomain without its own DMARC record and parent record lookup may not be performed

## How this service works

62 small, deterministic utility APIs (DNS and e-mail checks, web extraction, EVM decoding, x402 checks, IP math, JSON/CSV, hashing, conversions). No account or API key: pay per call in USDC with x402.

## Output

A JSON object with: ok (boolean), tool name, and a result object containing found (bool), domain, policy (none/quarantine/reject), pct (percentage of messages DMARC applies to), alignment.spf and alignment.dkim (relaxed/strict), and an issues array listing any detected configuration problems.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD"
     ],
     "type": "string"
    },
    "headers": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    },
    "queryParams": {
     "type": "object",
     "required": [
      "domain"
     ],
     "properties": {
      "domain": {
       "type": "string"
      }
     },
     "additionalProperties": false
    },
    "discoverable": {
     "type": "boolean"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "tool": "dns-dmarc",
  "result": {
   "pct": 100,
   "found": true,
   "domain": "paypal.com",
   "issues": [],
   "policy": "reject",
   "alignment": {
    "spf": "relaxed",
    "dkim": "relaxed"
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/swift-bot-labs-toolbox-dns-dmarc-record-lookup-68030019/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-toolbox.swiftbotlab.workers.dev](https://www.zero.xyz/host/x402-toolbox.swiftbotlab.workers.dev/llms.txt)
