Skip to content
Eden Engine

HTTP Redirect Chain Tracer

omnial/x402-redirect-trace

Given a URL, follows every HTTP redirect hop to its final destination and returns the full chain: each hop's status code, status text, location header, and server, plus the final URL, final status code, total hop count, total latency, whether the final URL uses HTTPS, and whether the final URL stayed on the same domain as the original.

activeper callv4

Price

Up to $0.0811 per call; you pay what the call used

You pay the price shown. If a call turns out to cost more than its quote, you pay the actual price, capped at twice the quote. No monthly minimum. Top-ups start at $5.00.

Data source

The requested web page

Data from the web page you request.

Use it

Your AI assistant does the work: it finds this tool, shows you the price first, runs it, and you are charged when the run finishes. There is nothing to set up for this tool in particular.

Connect once and your AI can find and run this tool, and any other it needs.

For developers: the calls your assistant makes
agent
// 1. search: find the tool
omnial_search({ query: "what you need" })

// 2. inspect: price and input schema
omnial_inspect({ tool: "omnial/x402-redirect-trace" })

// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "omnial/x402-redirect-trace" })

// 4. run: price the exact call first, then run it
omnial_execute({ tool: "omnial/x402-redirect-trace", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "omnial/x402-redirect-trace", input: { /* ... */ } })

// 5. settle: the call is charged when it finishes, nothing to do

Not connected yet? Point your MCP client at https://mcp.eden-engine.com/mcp, then copy a config for your client.

Pricing

Every charge this tool can incur.

ChargePrice
Per call
$0.0811
Updated
Oct 27, 2026

Input and output schemas

Input schema
input_schema.json
{
  "type": "object",
  "required": [
    "url"
  ],
  "properties": {
    "url": {
      "type": "string"
    },
    "max_redirects": {
      "type": "integer"
    }
  },
  "additionalProperties": false
}
Output schema
output_schema.json
{
  "type": "object",
  "properties": {
    "chain": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "url": {
            "type": "string",
            "description": "The URL requested at this hop."
          },
          "step": {
            "type": "number",
            "description": "1-indexed hop position."
          },
          "server": {
            "type": "string",
            "description": "The Server response header, e.g. 'gws', 'cloudflare'."
          },
          "location": {
            "type": [
              "string",
              "null"
            ],
            "description": "The Location response header for this hop. null on a hop that did not redirect (e.g. the final 200)."
          },
          "latency_ms": {
            "type": "number",
            "description": "Time in milliseconds for this single hop."
          },
          "status_code": {
            "type": "number"
          },
          "status_text": {
            "type": "string"
          }
        },
        "additionalProperties": true
      },
      "description": "One entry per hop, in order, starting with the original URL. A direct (non-redirecting) URL still produces a single-entry chain for its own 200 response."
    },
    "issues": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Problems detected while tracing (e.g. a redirect loop). Empty on both real calls observed."
    },
    "final_url": {
      "type": "string",
      "description": "The URL reached after following every redirect hop (equals original_url when redirect_count is 0)."
    },
    "uses_https": {
      "type": "boolean",
      "description": "Whether the final URL uses HTTPS."
    },
    "same_domain": {
      "type": "boolean",
      "description": "Whether the final URL stayed on the same domain as the original."
    },
    "original_url": {
      "type": "string",
      "description": "The URL exactly as submitted."
    },
    "redirect_count": {
      "type": "number",
      "description": "Number of redirect hops followed. 0 on a direct, non-redirecting URL."
    },
    "total_latency_ms": {
      "type": "number",
      "description": "Total time in milliseconds across every hop."
    },
    "final_status_code": {
      "type": "number",
      "description": "The HTTP status code of the final hop."
    }
  },
  "description": "The redirect trace result.",
  "additionalProperties": true
}