Skip to content
RequestGuard Documentation
Pricing
Email Intelligence Updated Sep 8, 2026

Email Security API

Inspect SPF, DKIM, and DMARC posture for a sending domain.

Use email security checks to inspect whether a domain has the DNS records needed to reduce spoofing and improve mail trust.

An active workspace API key and any Suite or Lookups plan are required. Each request consumes one shared lookup unit. See Authorization for limits and errors.

Endpoint

GET /email/security

Query Parameters

ParameterRequiredDescription
domainYesDomain to inspect.

Example

curl "https://api.requestguard.com/v1/email/security?domain=example.com" \
  -H "Authorization: Bearer rg_sk_live_..."

Response

{
  "domain": "example.com",
  "spf": {
    "found": true,
    "records": ["v=spf1 -all"]
  },
  "dkim": {
    "found": false,
    "selectors_checked": ["default", "google", "selector1", "selector2"],
    "records": []
  },
  "dmarc": {
    "found": true,
    "policy": "reject",
    "records": ["v=DMARC1; p=reject"]
  },
  "sources": [
    {
      "name": "DNS TXT lookup",
      "type": "dataset",
      "matched": true,
      "category": "dns"
    }
  ]
}

For user signup or checkout risk decisions, use Fraud Decisioning so email posture can be combined with IP, device, domain, and behavior signals.