# x402-tools Redirect Trace (redirtrace)

> x402-tools Redirect Trace (redirtrace) is a paid API for AI agents from openclawproductions.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-30).

Traces HTTP redirect chains for a given URL, returning diagnostic data about each hop; requires a $0.02 USDC micropayment via the x402 protocol.

## Facts

- Endpoint: GET https://openclawproductions.com/api/v1/redirtrace?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-tools-redirect-trace-redirtrace-0b4dfb96
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ruD2zYBqmqfBQVHb5_QIs

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 x402-tools-redirect-trace-redirtrace-0b4dfb96
```

Example prompt: Can you trace the full redirect chain for this URL and show me every hop it goes through, including the final destination?

## When to prefer this

Use this endpoint when you need to programmatically trace the full HTTP redirect chain of a URL and need machine-readable hop-by-hop results. It is particularly suited for agents operating in x402 micropayment environments where per-call USDC billing is acceptable. Prefer it over manual browser inspection when redirect chains need to be audited at scale, for SEO analysis, security vetting of unknown links, or verifying affiliate or tracking link destinations.

## Known failure modes

- HTTP 402 returned if payment is not included or the x402 payment token is invalid — includes EIP-3009 payment extras in the response for retry
- Invalid or malformed URL input may return an error or empty trace
- Target URL may be unreachable or time out, returning a network error
- Redirect loop detected may cause early termination of trace
- Facilitator other than OpenX402 will not be accepted

## How this service works

Paid x402 diagnostics. Unpaid paid-SKU requests return HTTP 402 with eip3009 extras. Facilitator: OpenX402 only.

## Output

A JSON object describing the redirect trace, including the SKU identifier ('redirtrace'), a human-readable title, the price paid, and diagnostic details about the redirect hops encountered — such as intermediate URLs, HTTP status codes at each hop, and the final resolved destination.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "sku": "redirtrace",
  "note": "Example paid JSON shape. Not a live settle.",
  "price": "$0.02",
  "title": "Redirect Trace"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-tools-redirect-trace-redirtrace-0b4dfb96/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from openclawproductions.com](https://www.zero.xyz/host/openclawproductions.com/llms.txt)
