Skip to content

Email header analysis

POST /api/v1/header-analysis

Parses a raw email header: Received hops with time deltas, Authentication-Results (SPF/DKIM/DMARC), key sender fields and a From/Return-Path alignment hint. Body: raw header as text/plain, or JSON {“raw”: ”…”}. Maximum size 64 KiB. Privacy: processing is ephemeral, nothing is stored or passed on; the response is sent with Cache-Control: no-store.

FieldTypeRequiredDescription
rawstringyes-
StatusTypeDescription
200HeaderAnalysisResultParsed header (Cache-Control: no-store)
400objectError
405objectError
413objectError
429objectError
FieldTypeRequiredDescription
apistringno-
hopsobject[]noReceived hops, oldest first
authobjectnoResults from the first Authentication-Results header
fieldsobjectno-
alignmentobjectno-
Terminal window
curl -X POST "https://dns-doctor.com/api/v1/header-analysis" \
-H "Authorization: Bearer $REGFISH_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"raw": "string"
}'

Fill in values - the call below updates as you type. Nothing is sent: the API does not currently allow browser requests from this domain (CORS). The API key is not stored.