# klymax402 URL Shortener

> klymax402 URL Shortener is a paid API for AI agents from klymax402.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-14).

Shortens a long URL into a compact short link, with an optional custom alias

## Facts

- Endpoint: GET https://klymax402.com/api/url-shortener/api/shorten
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/klymax402-url-shortener-6154de0b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_y9WMBjiZx60cAPLfQs-Sz

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 klymax402-url-shortener-6154de0b
```

Example prompt: Can you shorten this URL for me — https://example.com/some/very/long/path?with=lots&of=query&params=here — and use the custom alias 'mylink' if possible?

## When to prefer this

Choose this endpoint when an AI agent needs to shorten a URL on-demand without managing API keys, paying only $0.003 USDC per call via x402 on Base. It's well-suited for agents that occasionally need URL compression as part of a broader workflow (e.g., content publishing, social sharing, email campaigns) without requiring a dedicated URL shortener account or subscription.

## Known failure modes

- Invalid or malformed input URL — the URL must be a valid, well-formed address
- Custom alias already taken — if the requested alias is in use, an error or conflict response is returned
- Custom alias format violation — alias must be 3-20 alphanumeric characters, other characters may be rejected
- Payment failure — insufficient USDC balance on Base causes a 402 error
- Network timeout or service unavailability — klymax402 platform may be temporarily unreachable

## How this service works

One MCP endpoint gives your AI agent access to 100 APIs -- crypto, DeFi, web, AI, finance and utilities. No API keys, USDC on Base from $0.003/call.

## Output

A shortened URL (compact link) corresponding to the input long URL, optionally using the specified custom alias. The response likely includes the short URL string that redirects to the original address.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "description": "The URL to shorten"
  },
  "custom_alias": {
   "type": "string",
   "description": "Optional custom alias for the short URL (3-20 alphanumeric chars)"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/klymax402-url-shortener-6154de0b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from klymax402.com](https://www.zero.xyz/host/klymax402.com/llms.txt)
