# HTTP to HTTPS Redirect Chain Analyzer

**Use case:** 

Trace redirect chains for common URLs and verify status codes, final destinations, HTTPS enforcement, and canonical hops.

## Input

```json
{
  "urls": [
    "http://google.com",
    "http://github.com",
    "http://apify.com"
  ],
  "maxRedirects": 20,
  "checkHttpToHttps": true,
  "checkWwwToNonWww": true
}
```

## Output

```json
{
  "url": {
    "label": "Start URL"
  },
  "finalUrl": {
    "label": "Final URL"
  },
  "redirectCount": {
    "label": "Redirects"
  },
  "finalStatusCode": {
    "label": "Final Status"
  },
  "isHttpsRedirect": {
    "label": "HTTPS Redirect"
  },
  "isWwwRedirect": {
    "label": "WWW Redirect"
  },
  "issues": {
    "label": "Issues"
  },
  "totalTimeMs": {
    "label": "Time (ms)"
  },
  "error": {
    "label": "Error"
  }
}
```

## About this Actor

This example demonstrates how to use [Redirect Chain Analyzer](https://apify.com/automation-lab/redirect-chain-analyzer) with a specific input configuration. Visit the [Actor detail page](https://apify.com/automation-lab/redirect-chain-analyzer) to learn more, explore other use cases, and run it yourself.