# NexusAPI URL Shortener

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

Shortens a long URL into a compact, shareable short link

## Facts

- Endpoint: POST https://nexus-api-virid.vercel.app/api/tools/url/shorten
- Price: $0.048953/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/nexusapi-url-shortener-2c9689cc
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_b8bdV3xEKvk-cLWbCVUEI

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-url-shortener-2c9689cc -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=true

## When to prefer this

Use this endpoint when you need to programmatically shorten URLs as part of an automated workflow, content publishing pipeline, or social media posting agent, and want to pay per call without managing API keys. Prefer this over self-hosted shorteners when you need a managed service with no upfront setup.

## Known failure modes

- Invalid or malformed URL input returns an error
- Unsupported URL scheme (non-http/https) may be rejected
- Network timeout if the shortening service is slow
- Rate limiting or payment failure if USDC balance is insufficient

## 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 object containing the compact short link that redirects to the original long URL, ready to be shared or embedded.

## 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-url-shortener-2c9689cc/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)
