# Web Probe – Redirect Trace

> Web Probe – Redirect Trace is a paid API for AI agents from web-probe.x402tookit.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-11-02).

Traces a URL's redirect chain hop-by-hop (up to 8 hops), returning the status code and Location header for each hop, the final URL, and detection of redirect loops or HTTP downgrades.

## Facts

- Endpoint: GET https://web-probe.x402tookit.com/redirect-trace?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/web-probe-redirect-trace-fa599852
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_GeIxhHPbYI56NqPOi3xnW

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 web-probe-redirect-trace-fa599852
```

Example prompt: Can you trace all the redirects for https://bit.ly/3xampleLink and show me every hop — status codes, where each one points, and whether it ends up on HTTPS or gets downgraded?

## When to prefer this

Choose this endpoint when you need to fully unpack a redirect chain rather than just resolve a final URL. It is ideal for security vetting of unknown links, debugging broken redirect configurations, detecting redirect loops, or confirming HTTPS integrity across every hop. Prefer it over a simple HEAD request or DNS lookup when the intermediate steps matter, not just the destination.

## Known failure modes

- URL is malformed or missing — returns validation error
- URL requires credentials or is behind auth — redirect chain may be incomplete
- Redirect chain exceeds 8 hops — trace stops at hop 8 and reports partial results
- Target server is unreachable or times out — error returned with partial hops
- Redirect loop detected — flagged in verdict and reasons, trace halted
- HTTP-only URLs not accepted — only full HTTPS URLs are supported as input

## How this service works

Trace a URL's redirects hop by hop (up to 8): status and Location for each, final URL, loops and http downgrades.

## Output

Returns a structured object with: an array of hops each containing URL, HTTP status code, Location header, and content type; total hop count and redirect count; the final URL reached; a boolean indicating whether the final URL was reached; a verdict and summary string; a list of reasons; a flag indicating if the trace was degraded; and the timestamp of the check. Loops and HTTP downgrades are flagged explicitly.

## 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",
     "required": [
      "url"
     ],
     "properties": {
      "url": {
       "type": "string",
       "description": "Full https URL to trace, no credentials"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "asOf": {
       "type": [
        "null",
        "string"
       ]
      },
      "hops": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "object",
        "properties": {
         "url": {
          "type": [
           "null",
           "string"
          ]
         },
         "status": {
          "type": [
           "null",
           "number"
          ]
         },
         "location": {
          "type": [
           "null",
           "string"
          ]
         },
         "contentType": {
          "type": [
           "null",
           "string"
          ]
         }
        }
       }
      },
      "source": {
       "type": [
        "null",
        "string"
       ]
      },
      "reasons": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "summary": {
       "type": [
        "null",
        "string"
       ]
      },
      "verdict": {
       "type": [
        "null",
        "string"
       ]
      },
      "degraded": {
       "type": [
        "boolean",
        "null"
       ]
      },
      "finalUrl": {
       "type": [
        "null",
        "string"
       ]
      },
      "hopCount": {
       "type": [
        "null",
        "number"
       ]
      },
      "startUrl": {
       "type": [
        "null",
        "string"
       ]
      },
      "disclaimer": {
       "type": [
        "null",
        "string"
       ]
      },
      "notChecked": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
    
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/web-probe-redirect-trace-fa599852/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from web-probe.x402tookit.com](https://www.zero.xyz/host/web-probe.x402tookit.com/llms.txt)
