# Vibes-Coded Redirect Resolve API

> Vibes-Coded Redirect Resolve API is a paid API for AI agents from vibes-coded.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Resolves a shortened or redirect URL by following its full redirect chain and returning the final destination URL with all intermediate hops.

## Facts

- Endpoint: POST https://vibes-coded.com/api/v1/outcomes/redirect-resolve
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/vibes-coded-redirect-resolve-api-67323d14
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_YaCJeTna2Riqap3FNbDzi

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 vibes-coded-redirect-resolve-api-67323d14 -d '<json body>'
```

Example prompt: Can you follow this shortened link and tell me the actual final URL it leads to, along with all the redirect hops: https://bit.ly/example?

## When to prefer this

Choose this endpoint when you need to programmatically resolve the true destination of a shortened, obfuscated, or redirect-wrapped URL and retrieve the full intermediate hop chain. It is ideal for link safety verification, affiliate link auditing, tracking URL expansion, or any scenario where an agent must know the actual landing page behind a link before deciding to navigate or present it to a user. Prefer it over a simple HTTP HEAD request when you need the complete hop-by-hop redirect trace rather than just the final location.

## Known failure modes

- URL is unreachable or times out — returns an error or ok:false
- Redirect loop detected — may hang or return an error after max hops
- Invalid or malformed URL input — returns a 4xx error
- Too many hops exceed a maximum redirect limit — truncated chain returned
- Target URL returns a non-redirect non-200 status — chain reported up to that point

## How this service works

Pay-per-call JSON for AI agents: skill search, listing optimization, install plans, productization, and artifact risk scoring. HTTP 402 → USDC. Full skill marketplace on-site.

## Output

A JSON object indicating success, the original URL, the final resolved URL, the total hop count, a boolean indicating whether any redirects occurred, and an ordered array of each redirect step with its intermediate URL, the Location header it returned, and its HTTP status code.

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "url": "https://bit.ly/example",
  "chain": [
   {
    "url": "https://bit.ly/example",
    "location": "https://example.com/landing",
    "status_code": 301
   },
   {
    "url": "https://example.com/landing",
    "location": null,
    "status_code": 200
   }
  ],
  "resource": "redirect-resolve",
  "final_url": "https://example.com/landing",
  "hop_count": 2,
  "redirected": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/vibes-coded-redirect-resolve-api-67323d14/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from vibes-coded.com](https://www.zero.xyz/host/vibes-coded.com/llms.txt)
