{"uid":"cap_OdFqrNpgwOasZLX3xzsy1","slug":"hsts-header-generator-531f402c","name":"HSTS Header Generator","description":"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.","url":"https://kihustle.tech/nexus/api/v1/hsts-header-generator?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"max_age":{"type":"integer"},"include_subdomains":{"type":"boolean"}}},"responseSchema":{"type":"json","example":{"result":"processed","status":"success"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_4DLowksvHpPIjGpOLBJQK","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates HTTP Strict-Transport-Security (HSTS) header configuration values given a max-age and optional includeSubDomains flag","exampleAgentPrompt":"Generate an HSTS header for me with a max-age of 31536000 seconds and include subdomains.","exampleUseCases":[{"title":"Enforce HTTPS for new web app","prompt":"I'm launching a new site and want to enforce HTTPS everywhere — can you generate an HSTS header with a max-age of one year that also covers all subdomains?"},{"title":"Minimal HSTS for testing environment","prompt":"I need a basic HSTS header for my staging server — set the max-age to 300 seconds and don't include subdomains, I just want to test it first."},{"title":"Production security hardening","prompt":"We're hardening our production web server security headers. Generate an HSTS header with max-age 63072000 and includeSubDomains turned on for our main domain."}],"resultDescription":"Returns a JSON object with a 'result' field containing the generated HSTS header value or configuration, and a 'status' field indicating 'success'. The generated output can be directly applied to a web server configuration.","failureModes":["Invalid or negative max_age integer — may return an error or unexpected header","Missing required max_age field — endpoint may fail or return a default","Non-boolean value for include_subdomains — type mismatch error","Network timeout or server error returning unexpected JSON structure"],"whenToPreferThis":"Use this endpoint when you need a quick programmatic way to generate correctly formatted HSTS header strings without manually constructing them — especially useful in automated DevOps pipelines, security auditing workflows, or when configuring web servers at scale. It is particularly suited to agents that need to emit ready-to-use HTTP header values on demand.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T06:46:56.201Z","isFirstParty":false,"canonicalSlug":"hsts-header-generator-531f402c"}