# ProfitCollector Security Headers Checker

> ProfitCollector Security Headers Checker is a paid API for AI agents from api.bakhour.ca, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-15).

Fetches and returns the HTTP security headers present on a given URL

## Facts

- Endpoint: GET https://api.bakhour.ca/security/headers
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/profitcollector-security-headers-checker-cf2943e2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_elM_otKXQWT-XBlEKexF5

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 profitcollector-security-headers-checker-cf2943e2
```

Example prompt: Can you check what HTTP security headers openai.com returns? I want to see if they have HSTS and other security-related headers set.

## When to prefer this

Use this endpoint when you need a quick, programmatic lookup of HTTP security headers for any public URL, especially in security audits, compliance checks, or pre-deployment validation workflows. Prefer it over manual browser inspection or curl commands when the task is automated or agent-driven. It is best suited for single-URL, on-demand header extraction rather than bulk crawling.

## Known failure modes

- Target URL is unreachable or times out — may return an error or empty headers
- Invalid or malformed URL provided — validation error
- URL uses non-HTTP/HTTPS scheme — unsupported protocol error
- Target server blocks automated requests — may return incomplete or no headers
- Network errors or DNS resolution failures for the target host

## How this service works

Decision-grade security/due-diligence outcome reports ($20-$100) plus deterministic paid utilities ($0.001+) for software agents and automated workflows.

## Output

A JSON object containing the target URL and a dictionary of HTTP security headers returned by that URL, for example {"url": "https://openai.com", "headers": {"strict-transport-security": "max-age=31536000"}}. Returns only the headers present in the response.

## 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",
      "HEAD",
      "DELETE"
     ],
     "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://openai.com",
  "headers": {
   "strict-transport-security": "max-age=31536000"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/profitcollector-security-headers-checker-cf2943e2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.bakhour.ca](https://www.zero.xyz/host/api.bakhour.ca/llms.txt)
