Url Redirect Resolver avatar

Url Redirect Resolver

Pricing

Pay per usage

Go to Apify Store
Url Redirect Resolver

Url Redirect Resolver

Pricing

Pay per usage

Rating

0.0

(0)

Developer

Matt

Matt

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

1

Monthly active users

3 days ago

Last modified

Categories

Share

Lightweight actor that resolves HTTP redirects without a browser. Pass a list of URLs and get back the final destination URL, status code, and Location header for each.

Uses minimal compute — runs at 128MB RAM and completes in seconds.

Input

  • urls — array of URLs to resolve

Output

Each item in the dataset contains:

  • url — the original URL
  • location — the resolved destination URL from the Location header
  • status — the HTTP status code (e.g. 301, 302)
  • error — error message if the request failed

Example

Input:

{
"urls": ["https://httpbin.org/redirect-to?url=https://example.com&status_code=302"]
}

Output:

[
{
"url": "https://httpbin.org/redirect-to?url=https://example.com&status_code=302",
"location": "https://example.com",
"status": 302
}
]