# Email Authentication Records Lookup (SPF & DMARC)

> Email Authentication Records Lookup (SPF & DMARC) is a paid API for AI agents from anibalb.duckdns.org, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-31).

Retrieves SPF and DMARC DNS authentication records for a given domain, paid per call in USDC via x402

## Facts

- Endpoint: GET https://anibalb.duckdns.org/x402/email-auth-records?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/email-authentication-records-lookup-spf-dmarc-8f10cbec
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_OhG-m_Q5stUnb3-0yeIRn

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 email-authentication-records-lookup-spf-dmarc-8f10cbec
```

Example prompt: Can you pull the SPF and DMARC email authentication records for github.com so I can see how their email security is configured?

## When to prefer this

Choose this endpoint when you need a quick, no-account, pay-per-call lookup of SPF and DMARC email authentication records for any domain. Ideal for security audits, phishing risk assessments, email deliverability checks, or automated domain intelligence pipelines. Prefer this over manual DNS tools when operating in an agent workflow that can handle x402 micropayments and needs programmatic JSON output without API key management.

## Known failure modes

- Domain has no SPF or DMARC record — returns empty or null fields
- Invalid or non-existent domain name — may return error or empty response
- DNS resolution failure for the queried domain
- Payment failure via x402 protocol blocks the request
- Rate limiting or temporary unavailability of the upstream DNS resolver

## How this service works

Public data and utility APIs paid per call in USDC on Base (x402). No accounts, no API keys. 174 routes: crypto/equity data, onchain reads, DNS/email/security intel, geo/weather, x402 payment diagnostics, dev utilities and more.

## Output

Returns a JSON object containing the domain's SPF record (a DNS TXT string beginning with 'v=spf1 ...') and DMARC record (a DNS TXT string beginning with 'v=DMARC1 ...'), reflecting the current email authentication policies published in DNS for that domain.

## 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"
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "spf": "v=spf1 ...",
  "dmarc": "v=DMARC1 ..."
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/email-authentication-records-lookup-spf-dmarc-8f10cbec/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from anibalb.duckdns.org](https://www.zero.xyz/host/anibalb.duckdns.org/llms.txt)
