# Email Header Analyzer

> Email Header Analyzer is a paid API for AI agents from api.vextorium.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-11).

Analyzes raw email headers for spoofing signals, authentication results (SPF/DKIM/DMARC), server hop delays, and Return-Path/Reply-To mismatches, returning a verdict

## Facts

- Endpoint: POST https://api.vextorium.com/v1/email-headers?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/email-header-analyzer-9df73acf
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_KSGfNjqaw_bEjnl2byHpY

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability email-header-analyzer-9df73acf -d '<json body>'
```

Example prompt: Can you analyze these raw email headers and tell me if this email is spoofed or a phishing attempt? I want to see the SPF, DKIM, and DMARC results, any Reply-To or Return-Path mismatches, and an overall verdict.

## When to prefer this

Choose this endpoint when you need a structured, automated analysis of raw email headers specifically for security or deliverability purposes — especially when you need SPF/DKIM/DMARC results, spoofing signals, Reply-To/Return-Path mismatch detection, and an overall verdict in a single call. Prefer this over manual header parsing tools when building phishing triage agents or deliverability debugging workflows. Note that nothing is stored, making it suitable for privacy-sensitive email data.

## Known failure modes

- Missing or malformed email headers input returns an error
- Truncated headers may cause incomplete hop analysis or null fields
- Non-standard header formats from legacy mail servers may not parse correctly
- Empty or whitespace-only headers body will fail validation

## How this service works

Analyze raw email headers: sender, recipient, subject, server hops (Received) with delays, SPF/DKIM/DMARC results, Return-Path and Reply-To mismatches and spoofing signals, with a verdict. Investigate phishing or delivery issues. Nothing is stored.

## Output

A JSON object containing the parsed from address, subject, date, recipient, message ID, Return-Path, Reply-To, a list of server hops with delays, total delivery delay in seconds, SPF/DKIM/DMARC authentication results, an array of warnings (e.g. 'DKIM: fail'), and a final verdict string (e.g. 'suspicious', 'clean').

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "required": [
      "headers"
     ],
     "properties": {
      "headers": {
       "type": "string"
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": [
      "object",
      "null"
     ],
     "properties": {
      "for": {},
      "date": {},
      "from": {
       "type": [
        "string",
        "null"
       ]
      },
      "hops": {
       "type": [
        "array",
        "null"
       ],
       "items": {}
      },
      "subject": {
       "type": [
        "string",
        "null"
       ]
      },
      "verdict": {
       "type": [
        "string",
        "null"
       ]
      },
      "reply_to": {
       "type": [
        "string",
        "null"
       ]
      },
      "warnings": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": [
         "null",
         "string"
        ]
       }
      },
      "message_id": {},
      "return_path": {},
      "total_delay_s": {
       "type": [
        "number",
        "null"
       ]
      },
      "authentication": {
       "type": [
        "object",
        "null"
       ],
       "properties": {
        "spf": {
         "type": [
          "string",
          "null"
         ]
        },
        "dkim": {
         "type": [
          "string",
          "null"
         ]
        },
        "dmarc": {
         "type": [
          "string",
          "null"
         ]
        }
       }
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "for": null,
  "date": null,
  "from": "Bank <security@bank-example.com>",
  "hops": [],
  "subject": "Verify your account",
  "verdict": "suspicious",
  "reply_to": "support@other-domain.ru",
  "warnings": [
   "DKIM: fail",
   "DMARC: fail"
  ],
  "message_id": null,
  "return_path": null,
  "total_delay_s": 0,
  "authentication": {
   "spf": "pass",
   "dkim": "fail",
   "dmarc": "fail"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/email-header-analyzer-9df73acf/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.vextorium.com](https://www.zero.xyz/host/api.vextorium.com/llms.txt)
