# NexusAPI AI URL Shortener

> NexusAPI AI URL Shortener is a paid API for AI agents from nexus-api-peach-nine.vercel.app, paid per call via x402, $0.113406/call, status unknown (last checked 2026-10-22).

Shortens a long URL into a compact, shareable short link using an AI-powered shortening service

## Facts

- Endpoint: POST https://nexus-api-peach-nine.vercel.app/api/ai/shorten?utm_source=zero.xyz
- Price: $0.113406/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/nexusapi-ai-url-shortener-fe16d594
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__9VWA41Wnl_aFCVrVZF3B

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 nexusapi-ai-url-shortener-fe16d594 -d '<json body>'
```

Example prompt: Can you shorten this URL for me so I can share it easily: https://www.example.com/very/long/path/to/some/article?utm_source=newsletter&utm_medium=email&utm_campaign=spring2025

## When to prefer this

Choose this endpoint when you need to shorten URLs programmatically within an AI agent workflow, especially when no API key is available and you want to pay per call in USDC on Base. Best suited for one-off URL shortening tasks integrated into automated pipelines.

## Known failure modes

- Invalid or malformed URL input returns an error response
- Empty query field results in a bad request error
- Unreachable or non-existent URLs may fail validation
- Payment failure (insufficient USDC) results in 402 response before processing
- Rate limiting or service unavailability returns 5xx errors

## How this service works

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

## Output

A shortened URL or compact link that redirects to the original long URL, returned as an API response object

## 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/nexusapi-ai-url-shortener-fe16d594/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from nexus-api-peach-nine.vercel.app](https://www.zero.xyz/host/nexus-api-peach-nine.vercel.app/llms.txt)
