Trace a URL's redirect chain hop by hop
redirectsThe redirect chain of a URL, hop by hop (at most 10 hops): each URL, its status, the Location it points to, and whether the hop goes from http to https or changes host. Returns the final URL and status, total hops, loop true when a URL repeats, and the Strict-Transport-Security header of the final response. Price: $0.002 per successful call, paid with x402 (USDC on Base, Solana and 10 more networks); failed calls are not charged.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"url": "<url>"
},
"name": "redirects"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Page URL or domain, e.g. example.com |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| hops | No | ||
| hsts | No | ||
| loop | No | ||
| maxHops | No | ||
| finalUrl | No | ||
| checkedAt | No | ||
| totalHops | No | ||
| truncated | No | ||
| finalStatus | No |