The Email Header Analyser API provides deep inspection and forensic analysis of email message headers. Security professionals, incident responders, and email administrators use this tool to identify spoofing attempts, trace message routing, validate authentication protocols (SPF, DKIM, DMARC), and detect malicious headers.
Email headers contain critical metadata that reveals the true origin of messages, intermediate mail servers, and authentication status. This API parses raw headers and extracts actionable intelligence for phishing investigations, compliance audits, and email security operations.
Ideal users include SOC analysts, email security teams, incident response professionals, forensic investigators, and organizations requiring email authentication verification and threat intelligence capabilities.
json
{
"header": "Received: from mail.example.com (mail.example.com [192.0.2.1]) by mx.targetdomain.com with SMTP id abc123; Wed, 15 Jan 2025 10:30:45 +0000\nFrom: sender@example.com\nTo: recipient@targetdomain.com\nSubject: Security Analysis\nAuthentication-Results: targetdomain.com; spf=pass smtp.mailfrom=sender@example.com; dkim=pass header.d=example.com; dmarc=pass\nReturn-Path: <sender@example.com>\nDate: Wed, 15 Jan 2025 10:30:45 +0000"
}
json
{
"sender_ip": "192.0.2.1",
"sender_domain": "mail.example.com",
"from_address": "sender@example.com",
"to_address": "recipient@targetdomain.com",
"received_servers": [
{
"hostname": "mail.example.com",
"ip": "192.0.2.1",
"timestamp": "2025-01-15T10:30:45Z"
},
{
"hostname": "mx.targetdomain.com",
"ip": null,
"timestamp": null
}
],
"authentication": {
"spf": "pass",
"dkim": "pass",
"dmarc": "pass"
},
"subject": "Security Analysis",
"date": "2025-01-15T10:30:45Z",
"return_path": "sender@example.com",
"suspicious_indicators": []
}
Analyzes a raw email header to extract authentication, routing, and security metadata.
Method: POST
Path: /analyze-header
Request Parameters:
ParameterTypeRequiredDescriptionheaderstringYesRaw email header text containing one or more Received headers, authentication headers, and message metadata.
Response Schema:
The response contains extracted header analysis including:
FieldTypeDescriptionsender_ipstringIP address of the originating mail server.sender_domainstringHostname of the originating mail server.from_addressstringEmail address in the From header.to_addressstringEmail address in the To header.received_serversarrayList of mail servers in the routing path with hostname, IP, and timestamp.authenticationobjectAuthentication protocol results (spf, dkim, dmarc status).subjectstringEmail subject line.datestringMessage date in ISO 8601 format.return_pathstringReturn-Path header value.suspicious_indicatorsarrayList of detected anomalies or security concerns.
Status Codes:
PlanCalls/DayCalls/MonthPriceFree550FreeDeveloper20500$39/moProfessional2005,000$99/moEnterprise100,0001,000,000$299/mo
ToolWeb.in - 200+ security APIs, CISSP & CISM, platforms: Pay-per-run, API Gateway, MCP Server, OpenClaw, RapidAPI, YouTube.