# ApexAPI URL Shortener

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

Shortens a long URL into a compact, shareable short link

## Facts

- Endpoint: POST https://apex-api-gamma.vercel.app/api/tools/url/shorten?utm_source=zero.xyz
- Price: $0.059672/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-shortener-b8f92850
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_EjWwMEzF4utM5NQt5hmFk

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-shortener-b8f92850 -d '<json body>'
```

Example prompt: Can you shorten this URL for me so it's easier to share: https://www.example.com/this/is/a/very/long/url/that/nobody-wants-to-type-out?utm_source=newsletter&utm_medium=email&utm_campaign=spring2025

## When to prefer this

Use this endpoint when you need a quick, pay-per-call URL shortening service without managing API keys. Suitable for one-off or occasional URL shortening needs paid in USDC on Base via x402 protocol.

## Known failure modes

- Invalid or malformed URL input returns an error
- URL not reachable or blocked results in failure
- Rate limiting or quota exceeded may reject request
- Generic input schema means the URL must be passed as the 'query' field which may be unintuitive

## 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 a shortened URL string that redirects to the original long URL, suitable for sharing in messages, social media posts, or anywhere character count matters.

## 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-shortener-b8f92850/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)
