# NexusAPI AI URL Shortener

> NexusAPI AI URL Shortener is a paid API for AI agents from nexus-api-virid.vercel.app, paid per call via x402, $0.073094/call, status unknown (last checked 2026-09-14).

Shortens a long URL into a compact short link using an AI-powered endpoint

## Facts

- Endpoint: POST https://nexus-api-virid.vercel.app/api/ai/shorten
- Price: $0.073094/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/nexusapi-ai-url-shortener-bfc8063e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_VofjdyJTwJX3P51_UloUr

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

Example prompt: Can you shorten this URL for me so I can share it more easily? Here's the link: https://www.example.com/some/very/long/path/to/a/resource?with=lots&of=query&parameters=true

## When to prefer this

Choose this endpoint when you need to quickly shorten a URL without managing API keys, paying a flat per-call fee in USDC on Base. It is well-suited for AI agents that need to generate shareable short links on demand within automated workflows, especially when operating in a crypto-native, keyless payment environment.

## Known failure modes

- Invalid or malformed URL input returns an error
- URL not reachable or inaccessible may cause failure
- Payment insufficient or USDC transaction not confirmed results in 402 response
- Rate limiting or service unavailability on the NexusAPI platform
- Empty or missing query field returns a validation error

## 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 or compact redirect link corresponding to the provided long URL input, suitable for sharing across social media, SMS, or any context where brevity 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/nexusapi-ai-url-shortener-bfc8063e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from nexus-api-virid.vercel.app](https://www.zero.xyz/host/nexus-api-virid.vercel.app/llms.txt)
