# Expand GitHub Short URLs and Redirect Chains

**Use case:** 

Resolve GitHub short URLs to their final destinations. Get details like hop count, latency, and final URLs.

## Input

```json
{
  "urls": [
    "https://github.com/",
    "https://gist.github.com/",
    "https://raw.githubusercontent.com/",
    "https://git.io/abc123",
    "https://git.io/def456"
  ],
  "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.