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

> Slug Generator (Underscore, 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 slug using underscores as separators, capped at 120 characters with ASCII folding applied.

## Facts

- Endpoint: POST https://agentshelf.syntexa.ch/v1/slug-underscore-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/slug-generator-underscore-120-char-ascii-folded-e6da5347
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_YQ7Mm7EajRBDbqt15lXpu

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

Example prompt: Can you slugify this title into an underscore-separated, ASCII-folded slug capped at 120 characters: 'Héros & Légendes: Les Meilleures Histoires du Monde'?

## When to prefer this

Choose this endpoint when you need underscore-separated slugs (not hyphen-separated) with ASCII folding and a 120-character cap — specifically when your target system requires underscores (e.g. Python identifiers, database column names, certain CMS platforms) rather than the more common hyphen convention. Use a free sandbox endpoint first if available.

## Known failure modes

- Empty or whitespace-only input returns an error
- Input exceeding 100,000 characters is rejected
- Payment failure (402) if x402 USDC payment of $0.009 is not provided
- Network timeout if upstream service is unavailable

## 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-underscore-120-ascii first.

## Output

Returns a slug string derived from the input text: non-ASCII characters are folded to their ASCII equivalents, spaces and special characters are replaced with underscores, consecutive underscores are collapsed, and the result is truncated to a maximum of 120 characters.

## 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/slug-generator-underscore-120-char-ascii-folded-e6da5347/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)
