# HTTP Security Headers Analyzer

> HTTP Security Headers Analyzer is a paid API for AI agents from domain-email-intel.laboutique.workers.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-18).

Fetches and grades a website's HTTP security headers, returning a score, letter grade, and actionable findings about missing or misconfigured headers.

## Facts

- Endpoint: GET https://domain-email-intel.laboutique.workers.dev/headers?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/http-security-headers-analyzer-6da6b6d2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_GEAgFZjU0oHT3zk1IQKsE

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 http-security-headers-analyzer-6da6b6d2
```

Example prompt: Can you audit the security headers for https://example.com and tell me what grade it gets, what's missing, and what I should fix first?

## When to prefer this

Use this endpoint when you need a fast, structured security header grade and actionable findings for any public URL — especially useful for pre-launch audits, vendor assessments, or compliance checks. Prefer this over manual curl inspection when you need a scored, categorized report with per-header advice rather than raw header dumps.

## Known failure modes

- Unreachable or invalid URL returns an error or non-200 status
- Sites with strict bot-blocking may return incomplete header data
- Paywalled or authentication-gated URLs may only reflect the login page headers
- Redirect chains may cause unexpected final URL analysis
- Rate limiting or network timeouts for slow external servers

## How this service works

Pay-per-call domain, email and website intelligence for AI agents (x402, USDC on Base). Free demos under /demo/<endpoint>.

## Output

A JSON object containing the checked URL, a letter grade (e.g. 'C'), a numeric score (0–100), HTTP status code, a list of findings with per-header advice and presence status, any cookie security issues, detected version leaks in headers, and whether HTTP redirects to HTTPS.

## 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"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "url"
     ],
     "properties": {
      "url": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "url": "https://example.com/",
  "grade": "C",
  "score": 60,
  "status": 200,
  "findings": [
   {
    "advice": "Define a Content-Security-Policy to limit script sources.",
    "header": "content-security-policy",
    "status": "missing",
    "present": false
   }
  ],
  "cookieIssues": [],
  "versionLeaks": [],
  "httpRedirectsToHttps": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/http-security-headers-analyzer-6da6b6d2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from domain-email-intel.laboutique.workers.dev](https://www.zero.xyz/host/domain-email-intel.laboutique.workers.dev/llms.txt)
