x402
Redirect Trace (x402)
Trace the full HTTP redirect chain for a URL. Shows each hop with status code, location header, server, and latency.
get/x402/v2/redirect-trace
Request
- Base URL: https://api.strale.io
- URL: https://api.strale.io/x402/v2/redirect-trace
- Auth: none required
Query parameters
urlstring required
max_redirectsinteger
Response
Success
Example response
{
"chain": [
{
"url": "https://httpbin.org/redirect/2",
"step": 1,
"server": "gunicorn/19.9.0",
"location": "/relative-redirect/1",
"latency_ms": 17,
"status_code": 302,
"status_text": "FOUND"
},
{
"url": "https://httpbin.org/relative-redirect/1",
"step": 2,
"server": "gunicorn/19.9.0",
"location": "/get",
"latency_ms": 4,
"status_code": 302,
"status_text": "FOUND"
},
{
"url": "https://httpbin.org/get",
"step": 3,
"server": "gunicorn/19.9.0",
"location": null,
"latency_ms": 5,
"status_code": 200,
"status_text": "OK"
}
],
"issues": [],
"final_url": "https://httpbin.org/get",
"uses_https": true,
"same_domain": true,
"original_url": "https://httpbin.org/redirect/2",
"redirect_count": 2,
"total_latency_ms": 26,
"final_status_code": 200
}Changes
No recorded changes to this operation across all 1 revision of this API.