Email API · Free

SPF Record Checker
API

Look up the SPF record for a domain, validate syntax, and count void/total DNS lookups against the RFC 7208 limit of 10. Flags common issues.

Free. No API key. CORS-enabled. Rate-limited per IP.

GEThttps://api.domainee.dev/v1/tools/spf-record-checker?domain=domainee.dev

Look up the SPF record for a domain, validate syntax, and count void/total DNS lookups against the RFC 7208 limit of 10. Flags common issues.

Free. No API key required. CORS-enabled. Rate-limited per IP at 30/min and 500/day.

Parameters

NameInTypeDescription
domainrequiredquerystring
Domain to check the SPF record for.
example: domainee.dev

Example request

curl
curl -s "https://api.domainee.dev/v1/tools/spf-record-checker?domain=domainee.dev" | jq

Example response

response.json
{
  "ok": true,
  "data": {
    "domain": "domainee.dev",
    "record": "v=spf1 include:_spf.google.com ~all",
    "mechanisms": [
      {
        "kind": "include",
        "value": "_spf.google.com"
      },
      {
        "kind": "all",
        "qualifier": "~"
      }
    ],
    "lookupCount": 4,
    "withinLimit": true,
    "issues": []
  }
}

Other languages

fetch.js
const res = await fetch("https://api.domainee.dev/v1/tools/spf-record-checker?domain=domainee.dev");
const { ok, data } = await res.json();
requests.py
import requests
r = requests.get(
    "https://api.domainee.dev/v1/tools/spf-record-checker",
    params={"domain":"domainee.dev"},
)
data = r.json()["data"]

Rate limits & errors

  • 30 requests/minute and 500 requests/day per IP. Exceeding either returns HTTP 429 with a Retry-After header.
  • All responses are JSON with the envelope { "ok": true, "data": {...} } on success or { "ok": false, "error": { "code", "message" } } on failure.
  • code values are stable; safe to switch on programmatically. message is human-friendly and may change.
Prefer a UI?

Try the spf record checker in your browser →

No code, no curl. Type a domain, get a result.

Full reference

Documentation for /v1/tools/spf-record-checker

All parameters, error codes, edge cases.

Need more than free?

Domainee's full platform: Custom Domains API, MCP for AI agents, Buy-a-Domain API, and 50 customer domains free forever. The same engineering team that built these free APIs.