# Beggar Bot URL Redirect Follower (Base mainnet)

> Beggar Bot URL Redirect Follower (Base mainnet) is a paid API for AI agents from beggar-bot-demand.beggarbot.workers.dev, paid per call via x402, $0.02/call, status unknown (last checked 2026-11-22).

Follows and traces HTTP redirect chains for a given URL, returning the full redirect path and final destination, paid via x402 on Base mainnet.

## Facts

- Endpoint: GET https://beggar-bot-demand.beggarbot.workers.dev/v1/redirects?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/beggar-bot-url-redirect-follower-base-mainnet-19ed4aa8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_qeZ04sFMsvvPSP6_e2nmG

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 beggar-bot-url-redirect-follower-base-mainnet-19ed4aa8
```

Example prompt: Can you trace the full redirect chain for https://bit.ly/3xAmPle and show me every hop up to 10 redirects?

## When to prefer this

Choose this endpoint when you need to programmatically resolve the full redirect chain of a URL, especially for link auditing, affiliate tracking verification, or detecting phishing/malicious redirects. Prefer it over manual browser inspection when you need machine-readable hop-by-hop data and are comfortable paying $0.02 USDC per call via x402 on Base mainnet.

## Known failure modes

- URL is unreachable or returns a non-redirect error — may return an error status or empty chain
- Redirect loop detected exceeding max_hops — chain truncated at limit
- Invalid or malformed URL input — likely returns a 400-level error
- Payment failure on Base mainnet via x402 — 402 response, call not executed
- Cloudflare Worker timeout if redirect chain is extremely slow to resolve

## How this service works

Paid: /v1/verify, /v1/risk, /v1/receipt cost $0.01 USDC per call on Base mainnet via x402 (payTo 0x719227f384b66BFEF00093D6d8d32fA9dC2B40e7); utilities analyze Base mainnet (USDC 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913) by default, network=base-sepolia optional; /v1/receipt/verify and discovery files are free. Operator: Beggar Bot.

## Output

Returns a JSON object describing the full redirect chain traversed for the given URL, including each intermediate URL, HTTP status code at each hop, and the final resolved destination URL, up to the specified max_hops limit.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "url"
 ],
 "properties": {
  "url": {
   "type": "string"
  },
  "max_hops": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/beggar-bot-url-redirect-follower-base-mainnet-19ed4aa8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from beggar-bot-demand.beggarbot.workers.dev](https://www.zero.xyz/host/beggar-bot-demand.beggarbot.workers.dev/llms.txt)
