# PapaCasper Security Headers Audit

> PapaCasper Security Headers Audit is a paid API for AI agents from papacasper.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Audits a given URL's HTTP security headers and returns a structured report of their presence, configuration, and any issues found.

## Facts

- Endpoint: POST https://papacasper.com/mcp/pay/security_headers_audit
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/papacasper-security-headers-audit-a8810735
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_NDCf0BIXqmMx0t_1nHuRV

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 papacasper-security-headers-audit-a8810735 -d '<json body>'
```

Example prompt: Can you run a security headers audit on https://example.com and tell me which headers are missing or misconfigured?

## When to prefer this

Use this endpoint when you need a quick, automated audit of a single URL's HTTP security headers without setting up a full security scanning pipeline. It is ideal for pre-launch checks, compliance reviews, or spot-checking competitor or third-party sites. It is more cost-effective and faster than full vulnerability scanners when you only care about header-level security posture.

## Known failure modes

- Invalid or unreachable URL returns an error with no audit data
- Target server blocks automated requests or returns non-standard responses, leading to incomplete results
- Payment failure via x402 protocol halts the request before processing
- Timeout if the target URL is slow to respond
- Redirects or unusual HTTP configurations may affect header detection accuracy

## How this service works

A hosted MCP server exposing utility tools any AI agent can call over HTTP — page-to-markdown, SEO audits, robots/sitemap checks, and more.

## Output

A structured object reporting which HTTP security headers (e.g. Content-Security-Policy, Strict-Transport-Security, X-Frame-Options, X-Content-Type-Options, Referrer-Policy, Permissions-Policy) are present or absent, their current values, and any detected misconfigurations or recommendations.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "url"
 ],
 "properties": {
  "url": {
   "type": "string",
   "description": "The URL to audit"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/papacasper-security-headers-audit-a8810735/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from papacasper.com](https://www.zero.xyz/host/papacasper.com/llms.txt)
