# Strale Redirect Trace

> Strale Redirect Trace is a paid API for AI agents from api.strale.io, paid per call via x402, $0.054/call, status unknown (last checked 2026-09-15).

Follows and records all HTTP redirects for a given URL, returning the full redirect chain with cryptographic audit record

## Facts

- Endpoint: GET https://api.strale.io/x402/v2/redirect-trace
- Price: $0.054/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/strale-redirect-trace-4ef4a713
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_mBpFR9L_27ysYQ4HFnkhE

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 strale-redirect-trace-4ef4a713
```

Example prompt: Can you trace all the redirects for https://bit.ly/3xK9pqR using a GET request and tell me every hop it takes before the final destination?

## When to prefer this

Choose this endpoint when you need a verifiable, audited record of an HTTP redirect chain — not just the final destination. It is especially useful in security, compliance, or fraud-detection contexts where a cryptographic audit trail matters. Prefer it over simple curl-based redirect following when you need structured hop-by-hop data with immutable audit hashing across GET, HEAD, or DELETE methods.

## Known failure modes

- URL is unreachable or returns a connection error — endpoint may return a network error status
- Redirect loop detected beyond max_redirects limit — returns truncated chain up to the limit
- Invalid or malformed URL input — returns validation error
- Target server returns non-redirect non-200 status on first hop — chain terminates early
- DNS resolution failure for the target URL

## How this service works

The trust layer for AI agents — 250+ independently tested data capabilities across 27 countries. Execute capabilities via REST, MCP, A2A, or x402 micropayments. Every call returns an audit record with cryptographic chain hashing.

## Output

A structured response containing the full ordered sequence of redirect hops (each with URL, HTTP status code, and headers), the final resolved destination URL, total number of hops, and a cryptographic audit record with chain hash for tamper-evident logging.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/strale-redirect-trace-4ef4a713/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.strale.io](https://www.zero.xyz/host/api.strale.io/llms.txt)
