# RelAI Short URL Creator (Solana)

> RelAI Short URL Creator (Solana) is a paid API for AI agents from api.relai.fi, paid per call via x402, $0.0001/call, status down (last checked 2026-10-12).

Creates shortened URLs via the RelAI platform, paid via Solana/x402 protocol

## Facts

- Endpoint: POST https://api.relai.fi/relay/1769864284196/shorturl?utm_source=zero.xyz
- Price: $0.0001/call
- Payment: x402
- Status: down
- Last checked: 2026-10-12
- Activations on Zero: 3
- Tags: x402
- Canonical page: https://www.zero.xyz/c/relai-short-url-creator-solana-5a9e41fd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Uk8iu-sLvjao1tQqVMWGH

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 relai-short-url-creator-solana-5a9e41fd -d '<json body>'
```

Example prompt: Can you shorten this URL for me so I can share it more easily: https://www.example.com/some/very/long/path?with=lots&of=query&parameters=yes

## When to prefer this

Use this endpoint when you need to create short URLs and are operating within a Solana/x402 payment environment, specifically through the RelAI platform. Prefer this over other URL shorteners when your workflow already uses RelAI services or when you need x402-compatible micropayment-gated link creation.

## Known failure modes

- Invalid or malformed input URL returns an error response
- Network timeout if RelAI service is unavailable
- Payment failure if x402 Solana payment cannot be processed
- URL already shortened or duplicate submission may return an error
- Unsupported URL schemes (e.g. non-http/https) may be rejected

## How this service works

Create short URLs via RelAI

## Output

A shortened URL that redirects to the original long URL, created and hosted by RelAI's short URL service.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/relai-short-url-creator-solana-5a9e41fd/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.relai.fi](https://www.zero.xyz/host/api.relai.fi/llms.txt)
