Docs menu

DKIM signature verifier

Paste a whole message or upload an .eml file to verify every DKIM and ARC signature on it.

POST /v1/dkim-verify

Price
Free; any API key works and nothing is charged. What you paste is processed in memory and never stored.
Cache
Never cached; every call runs again.
MCP tool
verify_dkim_signature

Run it in the browser

Request body

Request body fields
NameTypeDescription
messagestring or nullThe whole message as received, headers and body, exactly as "Show original" shows it.
message_base64string or nullThe .eml file, base64-encoded. Send either this or the pasted message, not both.
verify_arcbooleanAlso verify the ARC chain that forwarders and mailing lists add.

Response

Response fields
NameTypeDescription
tool (required)string
target (required)string
status (required)"ok" | "partial" | "error"
fetched_atstring
cachedboolean
credits_usedintegerCredits this call took from your balance. 0 for free tools, for a replay of an earlier call, and for a free check run on the website without signing in
summary (required)string
scoreinteger or null
findingsarray of object
credits_remaining (required)integerYour balance after this call. It can be below zero after a refund; free tools still work then
data (required)objectThis tool's result
data.message_bytes (required)integer
data.line_endings_converted (required)boolean
data.from_domain (required)string or null
data.signatures (required)array of object
data.unverified_signatures (required)integer
data.arc (required)object or null
data.aligned_pass (required)boolean

Errors

  • 400 Invalid domain, URL or parameter, a TLD this tool can't check, or an X-Request-Id already used for another call (`invalid_domain`, `invalid_url`, `invalid_request`, `unsupported_tld`)
  • 401 Missing, unknown or revoked API key, or one whose creator is no longer a member of the account (`unauthorized`)
  • 403 Account suspended, the key's creator is over the plan's seats, or an anonymous check without a valid proof-of-work or for a tool that needs an account, or bulk checks before a first purchase (`account_suspended`, `plan_limit`, `challenge_required`, `sign_in_required`, `bulk_locked`)
  • 429 Too many requests, today's free checks are used up, or too many website scans at once; wait for the number of seconds in the Retry-After header (`rate_limited`, `free_limit_reached`, `too_many_jobs`). Not charged
  • 500 Unexpected error (`internal_error`)

Example

curl

curl
curl -X POST "https://api.dnssuper.com/v1/dkim-verify" \
  -H "Authorization: Bearer $DNSSUPER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'

Python

Python (httpx)
import os

import httpx

client = httpx.Client(
    base_url="https://api.dnssuper.com",
    headers={"Authorization": f"Bearer {os.environ['DNSSUPER_API_KEY']}"},
    timeout=60,
)
response = client.post("/v1/dkim-verify", json={})
response.raise_for_status()
result = response.json()
print(result["summary"], result["credits_used"])

TypeScript

TypeScript (fetch)
const response = await fetch("https://api.dnssuper.com/v1/dkim-verify", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.DNSSUPER_API_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({}),
});
if (!response.ok) throw new Error((await response.json()).error.message);
const result = await response.json();
console.log(result.summary, result.credits_used);
Example response
Example response
{
  "tool": "dkim-verifier",
  "target": "",
  "status": "ok",
  "fetched_at": "2026-11-14T10:00:00Z",
  "cached": false,
  "credits_used": 0,
  "summary": "2 of 2 DKIM signatures verified, including one that aligns with the From domain example.com.",
  "findings": [
    {
      "id": "arc.none",
      "severity": "info",
      "title": "No ARC headers",
      "detail": "",
      "fix": "Nothing to do; ARC is added only by forwarders and mailing lists."
    },
    {
      "id": "dkim_signature.verified",
      "severity": "pass",
      "title": "A DKIM signature verified",
      "detail": "d=example.com s=ed; d=example.com s=rsa2048",
      "fix": "Nothing to do."
    }
  ],
  "data": {
    "message_bytes": 1309,
    "line_endings_converted": false,
    "from_domain": "example.com",
    "signatures": [
      {
        "index": 0,
        "domain": "example.com",
        "selector": "ed",
        "algorithm": "ed25519-sha256",
        "canonicalization": "relaxed/relaxed",
        "signed_headers": [
          "from",
          "to",
          "subject",
          "date",
          "message-id",
          "mime-version",
          "content-type"
        ],
        "identity_domain": "example.com",
        "signed_at": "2025-11-14T09:00:00Z",
        "expires_at": "2099-01-01T00:00:00Z",
        "key": {
          "record_name": "ed._domainkey.example.com",
          "status": "found",
          "key_type": "ed25519",
          "key_bits": 256,
          "testing": false
        },
        "body_hash_ok": true,
        "signature_ok": true,
        "result": "pass",
        "reason": "Verified with the key at ed._domainkey.example.com.",
        "aligned_with_from": true
      },
      {
        "index": 1,
        "domain": "example.com",
        "selector": "rsa2048",
        "algorithm": "rsa-sha256",
        "canonicalization": "relaxed/relaxed",
        "signed_headers": [
          "from",
          "to",
          "subject",
          "date",
          "message-id",
          "mime-version",
          "content-type"
        ],
        "identity_domain": "example.com",
        "signed_at": "2025-11-14T09:00:00Z",
        "expires_at": "2099-01-01T00:00:00Z",
        "key": {
          "record_name": "rsa2048._domainkey.example.com",
          "status": "found",
          "key_type": "rsa",
          "key_bits": 2048,
          "testing": false
        },
        "body_hash_ok": true,
        "signature_ok": true,
        "result": "pass",
        "reason": "Verified with the key at rsa2048._domainkey.example.com.",
        "aligned_with_from": true
      }
    ],
    "unverified_signatures": 0,
    "arc": {
      "chain": "none",
      "structure_ok": true,
      "sets": []
    },
    "aligned_pass": true
  },
  "credits_remaining": 498
}

MCP

MCP tool call
{
  "tool": "verify_dkim_signature",
  "arguments": {}
}
Compact MCP output
2 of 2 DKIM signatures verified, including one that aligns with the From domain example.com.
From domain: example.com (an aligned signature passed)
d=example.com s=ed ed25519-sha256: pass (aligned)
d=example.com s=rsa2048 rsa-sha256: pass (aligned)
- info: No ARC headers
1 check passed
Free | checked 2026-11-14 10:00 UTC