# HSTS Header Generator

> HSTS Header Generator is a paid API for AI agents from kihustle.tech, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-22).

Generates HTTP Strict Transport Security (HSTS) header values with configurable max-age and subdomain settings

## Facts

- Endpoint: POST https://kihustle.tech/agents/api/v1/hsts-header-generator?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/hsts-header-generator-ff9a9560
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_LbJZkdGofz2LhKhijxLcO

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 hsts-header-generator-ff9a9560 -d '<json body>'
```

Example prompt: Generate an HSTS header for my site with a max-age of 31536000 seconds and include subdomains.

## When to prefer this

Use this endpoint when you need to programmatically generate a correctly formatted HSTS header string without manually constructing it, especially in automated deployment pipelines or security auditing workflows. Prefer this over manual header construction to avoid syntax errors in security-critical configurations.

## Known failure modes

- Invalid max_age value (non-integer or negative) returns an error
- Missing required fields may return a malformed or default response
- Network timeout if the service is unavailable
- Unexpected response shape if the endpoint returns a generic stub rather than a real header value

## How this service works

Kostenlose Guides, Solo-Playbooks und Artikel zu KI, Automation und Side Hustles — für Menschen, die mit echten Systemen online Einkommen aufbauen wollen. Transparent finanziert über faire Affiliate-Links.

## Output

Returns a JSON object with a 'result' field containing the generated HSTS header value or directive string, and a 'status' field confirming successful processing.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "max_age": {
   "type": "integer"
  },
  "include_subdomains": {
   "type": "boolean"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": "processed",
  "status": "success"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/hsts-header-generator-ff9a9560/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from kihustle.tech](https://www.zero.xyz/host/kihustle.tech/llms.txt)
