# Check security headers of many websites at once

**Use case:** 

Grade a list of websites A to F on HTTPS redirect, HSTS, Content-Security-Policy, X-Frame-Options, X-Content-Type-Options, Referrer-Policy, Permissions-Policy and cookie flags, with a plain-language list of what is missing. Only the home page and three well-known files are requested per site. $2 per 1,000 sites audited on the free plan; sites that do not respond are free.

## Input

```json
{
  "urls": [
    "github.com",
    "stripe.com",
    "example.com",
    "wordpress.org",
    "wikipedia.org"
  ],
  "maxConcurrency": 5,
  "timeoutSecs": 15
}
```

## Output

```json
{
  "input": {
    "label": "Site",
    "format": "string"
  },
  "success": {
    "label": "Success",
    "format": "boolean"
  },
  "grade": {
    "label": "Grade",
    "format": "string"
  },
  "score": {
    "label": "Score",
    "format": "number"
  },
  "issues": {
    "label": "Issues",
    "format": "array"
  },
  "httpToHttpsRedirect": {
    "label": "HTTP→HTTPS",
    "format": "boolean"
  },
  "securityTxt": {
    "label": "security.txt",
    "format": "boolean"
  },
  "error": {
    "label": "Error"
  }
}
```

## About this Actor

This example demonstrates how to use [Security Headers Checker: Website Audit for CSP & HSTS](https://apify.com/hiver/website-security-headers-audit.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/hiver/website-security-headers-audit.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/hiver/website-security-headers-audit.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
