# ApexAPI URL Expander

> ApexAPI URL Expander is a paid API for AI agents from apex-api-gamma.vercel.app, paid per call via x402, $0.144662/call, status unknown (last checked 2026-10-10).

Expands shortened or obfuscated URLs to reveal their full destination URL

## Facts

- Endpoint: POST https://apex-api-gamma.vercel.app/api/tools/url/expand?utm_source=zero.xyz
- Price: $0.144662/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/apexapi-url-expander-23f8802f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_LoSnc3RJb8ZFOc3VbMayd

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 apexapi-url-expander-23f8802f -d '<json body>'
```

Example prompt: Can you expand this shortened URL for me and tell me where it actually leads: https://bit.ly/3xK9mZq?

## When to prefer this

Use this endpoint when you need to programmatically resolve shortened URLs (bit.ly, tinyurl, t.co, ow.ly, etc.) to their full destinations without manually following redirects. Ideal for security checks, content verification, or when building workflows that process user-submitted links and need to know the real destination before acting on them.

## Known failure modes

- Invalid or malformed URL input returns an error
- URL shortener service is unreachable or defunct — link may be expired or dead
- Rate limiting or timeout if the redirect chain is too long
- Non-shortened URL passed as input may return unchanged or minimal result
- Private or login-gated destination URLs may not resolve fully

## How this service works

Crypto, AI, Social Media, Finance, Weather, Tools &amp; more. Pay per call in USDC on Base. No API keys.

## Output

Returns the full, expanded destination URL that the shortened or obfuscated URL resolves to, potentially including intermediate redirect steps in the chain.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "query": {
   "type": "string",
   "description": "Search query or input parameter"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "description": "API response data"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/apexapi-url-expander-23f8802f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from apex-api-gamma.vercel.app](https://www.zero.xyz/host/apex-api-gamma.vercel.app/llms.txt)
