# Delx Commerce — Security Headers Score

> Delx Commerce — Security Headers Score is a paid API for AI agents from commerce.delx.ai, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-01).

Analyzes a set of HTTP response headers and returns a security score with details on which headers are present, missing, and advisory notes.

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/security-headers-score?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-commerce-security-headers-score-3c310344
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_S016MnQ-5gLWU06Y8rzNR

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 delx-commerce-security-headers-score-3c310344 -d '<json body>'
```

Example prompt: Can you score the security headers for my site? Here are the response headers it currently returns: Content-Security-Policy, Strict-Transport-Security, and X-Frame-Options — I want to know what's missing and how they rate overall.

## When to prefer this

Choose this endpoint when you need a quick, structured, pay-per-result security score for a specific set of HTTP response headers without standing up a full security scanner. Ideal for CI/CD pipelines, agent-driven audits, or lightweight compliance checks where a numeric score and missing-header list are sufficient. Prefer alternatives if you need full OWASP ZAP-level scanning, cookie attribute analysis, or TLS certificate inspection.

## Known failure modes

- Missing or empty 'headers' field returns a validation error or zero score
- Malformed header values may be accepted but scored poorly
- No network-level fetch performed — only analyzes headers supplied by the caller
- Payment failure or insufficient USDC balance results in HTTP 402 and no result

## How this service works

Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.

## Output

Returns a JSON object containing a numeric security score (0–100), a list of security headers that are present, a list of headers that are missing, a schema version identifier, and an advisory note warning that header presence does not guarantee correct policy configuration.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "headers": {
   "type": "object",
   "description": "Input field: headers."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "score": 40,
  "schema": "delx/util-security-headers-score/v1",
  "missing": [
   "permissions-policy",
   "referrer-policy",
   "x-content-type-options"
  ],
  "present": [
   "content-security-policy",
   "strict-transport-security"
  ],
  "advisory": "Header presence does not prove policy correctness."
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-security-headers-score-3c310344/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from commerce.delx.ai](https://www.zero.xyz/host/commerce.delx.ai/llms.txt)
