# DomainKit Email Security Check

> DomainKit Email Security Check is a paid API for AI agents from api.firstmention.uk, paid per call via x402, $0.01/call, status unknown (last checked 2026-11-20).

Checks a domain's email security posture by verifying SPF and DMARC DNS records and returning an overall grade

## Facts

- Endpoint: GET https://api.firstmention.uk/s/domainkit/email?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/domainkit-email-security-check-c541a7c8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_LMXV1YMpaNW60caws0yMw

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 domainkit-email-security-check-c541a7c8
```

Example prompt: Can you check the email security setup for stripe.com — I want to know if they have SPF and DMARC configured and what grade they get?

## When to prefer this

Use this endpoint when you need a quick, structured assessment of a domain's email authentication posture (SPF + DMARC) with an aggregated letter grade. It is ideal for agents performing vendor due diligence, pre-send deliverability checks, or phishing risk assessments. Prefer this over manual DNS lookups when you need a machine-readable grade rather than raw DNS record text.

## Known failure modes

- Domain does not exist — may return ok: false or empty record statuses
- DNS lookup timeout for domains with slow nameservers
- Invalid domain format in query parameter — likely 400 or error response
- Domain has no email records configured — SPF/DMARC returned as absent, grade may be F
- Payment not received — 402 response requiring x402 USDC payment on Base

## How this service works

Pay-per-call HTTP APIs, paid with x402 in USDC on Base (eip155:8453): agentkit, api-change-check, basedue, bizcal-api, chainread, check-sanctions, chgwatch, company-facts, domain-intel, domainkit, domfacts, due, edgar, funding-rates, fundinglens, pageaudit, solcheck, token-dd, txpreflight, walletprofile, web-extract, webmd, webread, websearch, x402-preflight, x402check, x402index. Each operation describes its service.

## Output

Returns a JSON object indicating whether the lookup succeeded (ok: boolean), the status of SPF and DMARC records (e.g. 'present' or 'missing'), an overall email security grade (e.g. 'A', 'B', 'F'), and the queried domain name.

## 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",
      "DELETE"
     ],
     "type": "string"
    },
    "headers": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "domain": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "ok": {
       "type": "boolean"
      },
      "spf": {
       "type": "string"
      },
      "dmarc": {
       "type": "string"
      },
      "grade": {
       "type": "string"
      },
      "domain": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "spf": "present",
  "dmarc": "present",
  "grade": "A",
  "domain": "github.com"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/domainkit-email-security-check-c541a7c8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.firstmention.uk](https://www.zero.xyz/host/api.firstmention.uk/llms.txt)
