---
name: unwrap.use.x402atlas.com
description: unwrap.use.x402atlas.com exposes a single skill that resolves shortened or wrapped URLs by following their full HTTP redirect chain using HEAD requests. It returns each intermediate hop, the final destination URL, total redirect count, and any security warnings such as HTTPS-to-HTTP downgrades or redirect loops.
host: unwrap.use.x402atlas.com
---

# unwrap.use.x402atlas.com

This host is a narrow, single-purpose URL resolution utility. It serves agents that need to safely inspect where a URL leads before visiting, citing, or forwarding it — without fetching any page content. It is distinct from web scrapers or content fetchers; it only traces redirect chains via HEAD requests and surfaces metadata about the path taken.

## When to use this host

Use this host when an agent needs to determine the true destination of a shortened or wrapped URL before acting on it — for example, before citing a link, passing it to a downstream tool, or deciding whether to fetch its content. It is the right choice for detecting HTTPS-to-HTTP downgrades, redirect loops, or suspicious redirect chains. Do not use it for fetching page content, HTML scraping, or extracting structured data from a page — those tasks require a separate web-fetch or scraping host. Do not use it for URLs pointing to IP literals, localhost, or reserved hostnames (.local, .internal, .lan, .test), as these are explicitly unsupported.

## Capabilities

### Redirect Chain Resolution

Resolves a shortened, wrapped, or opaque URL to its final destination by replaying each HTTP redirect hop and surfacing security-relevant metadata such as protocol downgrades, loop detection, and blocked targets.

- **`unwrap-redirect-chain`** — Follows the full HTTP redirect chain of a shortened or wrapped URL using HEAD requests and returns each hop, the final destination, redirect count, and security warnings.

## Skill reference

### `unwrap-redirect-chain`

**URL Unwrap** — Follows the full HTTP redirect chain of a shortened or wrapped URL using HEAD requests and returns each hop, the final destination, redirect count, and security warnings.

*Use when:* Use when an agent needs to resolve a shortened, wrapped, or suspicious URL to its final destination before visiting, citing, or passing it downstream — especially to detect HTTPS→HTTP downgrades, redirect loops, or blocked targets.

*Not for:* Do not use for fetching page content or scraping — this traces redirects via HEAD requests only and does not return response bodies. Not suitable for IP literals, localhost, or reserved hostnames (.local, .internal, .lan, .test).

**Inputs:**

- `url` (string, required) — Absolute URL to trace. Scheme must be http or https; host must be a public hostname (not an IP literal, not localhost, not a reserved suffix). Explicit ports must be the scheme default or allowlisted.

**Returns:** Returns the full redirect chain as a hops array with per-hop status codes and Location headers, the final_url, redirect_count, and a warnings array noting any HTTPS→HTTP downgrades or other anomalies.

**Example:** `GET https://unwrap.use.x402atlas.com/?url=https%3A%2F%2Fbit.ly%2Fexample`

---
