# domain.hugen.tokyo Redirect Chain Analyzer

> domain.hugen.tokyo Redirect Chain Analyzer is a paid API for AI agents from domain.hugen.tokyo, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Follows HTTP redirect chains up to 10 hops, reporting per-hop status codes, timing, TLS status, detecting downgrade attacks and loops, with an A-F security grade

## Facts

- Endpoint: GET https://domain.hugen.tokyo/domain/redirect
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/domain-hugen-tokyo-502e8792
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-uyYFOIdj1WrkouL_QfA-

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 domain-hugen-tokyo-502e8792
```

Example prompt: Can you trace the full redirect chain for https://example.com and tell me how many hops there are, whether HTTPS is maintained throughout, and what security grade it gets?

## When to prefer this

Use this endpoint when you need detailed per-hop redirect analysis including timing, TLS integrity verification, loop detection, and a security grade — rather than just checking if a URL redirects at all. Ideal for security audits, SEO redirect chain validation, or diagnosing broken redirect configurations. SSRF-safe design makes it appropriate for processing untrusted user-supplied URLs.

## Known failure modes

- URL is unreachable or times out — returns error with no chain data
- Redirect loop detected — returns partial chain up to loop point with loop flag set
- Chain exceeds 10 hops — truncated at 10 with excessive-chain flag
- SSRF-blocked target (private IP range) — request rejected for security
- Invalid URL input — returns validation error
- Target server rate-limits or blocks the probe — partial or empty chain

## How this service works

Redirect chain analysis — follows up to 10 hops (301/302/303/307/308) with per-hop timing, status codes, TLS status. Detects HTTPS-to-HTTP TLS downgrade, redirect loops, excessive chains. A-F grade. SSRF-safe. Accepts USDC payments on Base and Solana

## Output

Returns a list of up to 10 redirect hops each with HTTP status code (301/302/303/307/308), destination URL, per-hop latency in milliseconds, and TLS status. Also flags HTTPS-to-HTTP downgrade, redirect loops, and excessive chain length. Provides an overall A-F security grade for the redirect chain.

## Example request

```json
{
 "url": "https://example.com"
}
```

## Request schema (JSON Schema)

```json
{
 "properties": {
  "input": {
   "required": [
    "method"
   ]
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/domain-hugen-tokyo-502e8792/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from domain.hugen.tokyo](https://www.zero.xyz/host/domain.hugen.tokyo/llms.txt)
