# Hyphen Slug Generator (120-char, ASCII-folded)

> Hyphen Slug Generator (120-char, ASCII-folded) is a paid API for AI agents from agentshelf.syntexa.ch, paid per call via x402, $0.009/call, status unknown (last checked 2026-10-02).

Converts arbitrary text into a URL-safe, hyphen-delimited slug, ASCII-folded and capped at 120 characters.

## Facts

- Endpoint: POST https://agentshelf.syntexa.ch/v1/slug-hyphen-120-ascii?utm_source=zero.xyz
- Price: $0.009/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/hyphen-slug-generator-120-char-ascii-folded-cc6c13c6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_xuvWR6lb275nFrlg8Yd9c

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 hyphen-slug-generator-120-char-ascii-folded-cc6c13c6 -d '<json body>'
```

Example prompt: Turn 'Héllo Wörld! This is a Test Article (2024)' into a hyphen-separated URL slug, ASCII-folded and capped at 120 characters.

## When to prefer this

Choose this endpoint when you need deterministic, server-side slug generation with ASCII folding (e.g. converting accented or unicode characters to ASCII equivalents) and a hard 120-character cap — especially when you cannot implement the logic locally or need a consistent, reproducible slug across different agent runs. Prefer the free sandbox endpoint POST /v1/sandbox/slug-hyphen-120-ascii first if available to avoid the $0.009 USDC charge.

## Known failure modes

- Empty or missing 'text' field returns a validation error
- Text exceeding 100,000 characters is rejected per input schema
- Payment of $0.009 USDC not received results in HTTP 402 Payment Required
- Non-UTF8 or malformed input may cause encoding errors

## How this service works

Call when an agent needs a slug using "-", capped at 120 characters, ASCII-folded. Exact $0.009 USDC. Prefer unpaid POST /v1/sandbox/slug-hyphen-120-ascii first.

## Output

A single slugified string: lowercase, hyphen-delimited, ASCII-folded (accented/unicode characters converted to their ASCII equivalents), and truncated to a maximum of 120 characters. No extra metadata, just the slug.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "examples": [
    "Hello, World!"
   ],
   "maxLength": 100000,
   "minLength": 1,
   "description": "Input for this SKU. The route description says whether it is plain text, a URL, base64 bytes, or an already-encoded token."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/hyphen-slug-generator-120-char-ascii-folded-cc6c13c6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentshelf.syntexa.ch](https://www.zero.xyz/host/agentshelf.syntexa.ch/llms.txt)
