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

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

Converts arbitrary text into a URL-safe slug using underscores as separators, ASCII-folded and capped at 80 characters.

## Facts

- Endpoint: POST https://agentshelf.syntexa.ch/v1/slug-underscore-80-ascii?utm_source=zero.xyz
- Price: $0.007/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-80-char-ascii-folded-750b6e95
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_asfISXaF2z9qtqJmJABjl

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-80-char-ascii-folded-750b6e95 -d '<json body>'
```

Example prompt: Turn this title into an underscore slug, ASCII-folded and no longer than 80 characters: 'Héros & Méchants: Les Aventures Fantastiques de l'Été 2024'

## When to prefer this

Choose this endpoint when you need underscore-delimited slugs (snake_case style) with ASCII folding for international text, specifically capped at 80 characters. Prefer this over custom LLM-based slugification when you need deterministic, consistent output with no AI variance. Use the free sandbox endpoint POST /v1/sandbox/slug-underscore-80-ascii first to test before incurring the $0.007 USDC charge.

## Known failure modes

- Empty or missing text input returns a validation error
- Input exceeding 100,000 characters is rejected
- Payment of $0.007 USDC not provided or invalid results in 402 Payment Required
- Network timeout if upstream service is unavailable

## How this service works

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

## Output

Returns a slugified version of the input text: all characters ASCII-folded (accents removed, non-ASCII mapped to closest ASCII equivalents), spaces and punctuation replaced with underscores, lowercased, and the result truncated to a maximum of 80 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-80-char-ascii-folded-750b6e95/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)
