# URL Redirect Resolver

> URL Redirect Resolver is a paid API for AI agents from remarkable-creation-production-8797.up.railway.app, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-13).

Resolves a public URL through its full redirect chain and returns the final destination URL and HTTP status code.

## Facts

- Endpoint: GET https://remarkable-creation-production-8797.up.railway.app/v1/redirect
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/url-redirect-resolver-23914d9e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_8FWB8NE1TevdrbjsyDj-j

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 url-redirect-resolver-23914d9e
```

Example prompt: Can you follow this shortened link and tell me the final URL it resolves to? https://bit.ly/3xAbCdE

## When to prefer this

Use this endpoint when you need to know the final destination of a URL that may go through one or more redirects, especially for link shorteners, affiliate trackers, or legacy redirect systems. Prefer this over fetching full page content when you only need the resolved URL and status, not the page body or metadata.

## Known failure modes

- Target URL is unreachable or times out — returns a network error or timeout response
- URL points to a private/internal address that is blocked — access denied or connection refused
- Infinite redirect loop detected — may return an error or hit a max-redirect limit
- Invalid or malformed URL supplied — returns a validation error
- Non-HTTP(S) scheme provided — rejected as unsupported

## How this service works

Resolve a public URL through its redirect chain and return the final URL and HTTP status.

## Output

Returns the final URL reached after following all HTTP redirects in the chain, along with the final HTTP status code. This allows agents to know exactly where a link lands without manually following each hop.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "target"
     ],
     "properties": {
      "target": {
       "type": "string",
       "description": "Public HTTP(S) URL or hostname, e.g. example.com"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/url-redirect-resolver-23914d9e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from remarkable-creation-production-8797.up.railway.app](https://www.zero.xyz/host/remarkable-creation-production-8797.up.railway.app/llms.txt)
