# Affiliate Link Redirect Chain Auditor

**Use case:** 

Analyze affiliate short links for redirect paths. Get a detailed report on each URL's final destination, latency, and intermediate hops.

## Input

```json
{
  "urls": [
    "https://amzn.to/3xKpLmN",
    "https://amzn.to/2YdFgHi",
    "https://amzn.to/3aRsTeV",
    "https://amzn.to/37wUvWx",
    "https://amzn.to/3CbDeFg"
  ],
  "maxResults": 1000,
  "sortBy": "input",
  "maxRedirects": 15,
  "maxConcurrency": 20,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

## Output

```json
{
  "originalUrl": {
    "label": "Original URL",
    "format": "string"
  },
  "finalUrl": {
    "label": "Final URL",
    "format": "string"
  },
  "isShortened": {
    "label": "Is Shortened",
    "format": "boolean"
  },
  "hopCount": {
    "label": "Hop Count",
    "format": "integer"
  },
  "statusCode": {
    "label": "Final Status Code",
    "format": "integer"
  },
  "totalLatencyMs": {
    "label": "Total Latency (ms)",
    "format": "integer"
  },
  "resolvedAt": {
    "label": "Resolved At",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [Bulk URL Unshortener — Redirect Chain Resolver](https://apify.com/logiover/bulk-url-unshortener) with a specific input configuration. Visit the [Actor detail page](https://apify.com/logiover/bulk-url-unshortener) to learn more, explore other use cases, and run it yourself.