# URL Redirect Chain Tracer

> URL Redirect Chain Tracer is a paid API for AI agents from api.vextorium.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-12).

Follows and inspects the full redirect chain of any URL (up to 10 hops), revealing status codes, hop timings, final destination, domain changes, and HTTPS-to-HTTP downgrades.

## Facts

- Endpoint: POST https://api.vextorium.com/redirecciones-url-pago?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/url-redirect-chain-tracer-cd9c9301
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_8V_L2ScqC_fXWaFwLglHb

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 url-redirect-chain-tracer-cd9c9301 -d '<json body>'
```

Example prompt: Can you trace the full redirect chain for http://bit.ly/3xampleLink and tell me where it ultimately lands, how many hops there are, and whether it ever downgrades from HTTPS to HTTP?

## When to prefer this

Choose this endpoint when you need to inspect the complete redirect path of a URL rather than just fetching its final content — especially for unmasking short links, affiliate links, or suspicious URLs. It is the right choice when you need per-hop timing, status codes, domain-change detection, or HTTPS downgrade detection across the full chain. Prefer it over simple HEAD/GET requests when redirect transparency and security auditing are the goal.

## Known failure modes

- Invalid or malformed URL returns an error
- URLs that require authentication or cookies may not resolve correctly
- Redirect chains exceeding 10 hops are truncated at the limit
- Servers with very long response times may cause timeouts
- Some servers block automated requests and return unexpected status codes

## How this service works

Follow the redirect chain of a URL (up to 10 hops): status code and time of each hop, final URL, domain changes and HTTPS-to-HTTP downgrades. Unmask short and affiliate links before visiting them.

## Output

A JSON object with: the starting URL, the final destination URL, the total number of redirects, total elapsed time in milliseconds, the final HTTP status code, a boolean indicating whether any HTTPS-to-HTTP downgrade occurred, a boolean indicating whether the domain changed across hops, and an array of hop objects each containing the URL, HTTP status code, destination of that hop, and time taken in milliseconds.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "required": [
      "url"
     ],
     "properties": {
      "url": {
       "type": "string"
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": [
      "object",
      "null"
     ],
     "properties": {
      "final": {
       "type": [
        "string",
        "null"
       ]
      },
      "inicio": {
       "type": [
        "string",
        "null"
       ]
      },
      "saltos": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": [
         "null",
         "object"
        ],
        "properties": {
         "ms": {
          "type": [
           "null",
           "number"
          ]
         },
         "url": {
          "type": [
           "null",
           "string"
          ]
         },
         "codigo": {
          "type": [
           "null",
           "number"
          ]
         },
         "destino": {
          "type": [
           "string",
           "null"
          ]
         }
        }
       }
      },
      "baja_a_http": {
       "type": [
        "boolean",
        "null"
       ]
      },
      "codigo_final": {
       "type": [
        "number",
        "null"
       ]
      },
      "redirecciones": {
       "type": [
        "number",
        "null"
       ]
      },
      "tiempo_total_ms": {
       "type": [
        "number",
        "null"
       ]
      },
      "cambia_de_dominio": {
       "type": [
        "boolean",
        "null"
       ]
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "final": "https://github.com/",
  "inicio": "http://github.com",
  "saltos": [
   {
    "ms": 101,
    "url": "http://github.com",
    "codigo": 301,
    "destino": "https://github.com/"
   },
   {
    "ms": 158,
    "url": "https://github.com/",
    "codigo": 200
   }
  ],
  "baja_a_http": false,
  "codigo_final": 200,
  "redirecciones": 1,
  "tiempo_total_ms": 273,
  "cambia_de_dominio": false
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/url-redirect-chain-tracer-cd9c9301/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.vextorium.com](https://www.zero.xyz/host/api.vextorium.com/llms.txt)
