# Redirect Chain Tracer

> Redirect Chain Tracer is a paid API for AI agents from intel.rallylive.ca, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-13).

Traces the full HTTP redirect chain for a URL, returning every hop with status code and latency, the final destination URL, HTTPS status, and total hop count.

## Facts

- Endpoint: GET https://intel.rallylive.ca/redirect-trace
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/redirect-chain-tracer-8ad687a3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_wf_7iM58PasVfEXk6HC2_

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability redirect-chain-tracer-8ad687a3
```

Example prompt: Can you trace the full redirect chain for https://bit.ly/3xample and tell me every hop, the final URL it lands on, and whether it ends on HTTPS?

## When to prefer this

Choose this endpoint when you need visibility into every intermediate redirect hop with per-hop latency and status codes, rather than just the final resolved URL. Ideal for SEO audits, affiliate/tracking link inspection, HTTP-to-HTTPS migration verification, and debugging redirect loops. Prefer over a simple URL status check when the intermediate hops and HTTPS terminus matter.

## Known failure modes

- URL is unreachable or returns no response — connection error returned
- URL has no redirects — single-hop result with the original URL as final
- Redirect loop detected — chain terminates early with loop error
- Invalid URL format — input validation error
- Very long redirect chains may hit a hop limit before completion

## How this service works

Trace the full HTTP redirect chain for a URL: every hop with status code and latency, the final URL, whether it ends on HTTPS, and total hops. Link checking, affiliate/tracking link inspection, HTTP-to-HTTPS migration checks and SEO redirect audits. $0.01 per URL.

## Output

Returns an ordered list of every redirect hop (URL, HTTP status code, latency in ms), the final destination URL, a boolean indicating whether the chain ends on HTTPS, and the total number of hops.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/redirect-chain-tracer-8ad687a3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from intel.rallylive.ca](https://www.zero.xyz/host/intel.rallylive.ca/llms.txt)
