# Slug Generator: Underscore-Separated, 40-Character ASCII-Folded

> Slug Generator: Underscore-Separated, 40-Character ASCII-Folded is a paid API for AI agents from agentshelf.syntexa.ch, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-02).

Converts arbitrary text into a URL slug using underscores as separators, capped at 40 characters, with ASCII folding applied

## Facts

- Endpoint: POST https://agentshelf.syntexa.ch/v1/slug-underscore-40-ascii?utm_source=zero.xyz
- Price: $0.005/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-separated-40-character-ascii-folded-28c2391b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_iT4TPuS2BN_3odNE30lMv

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-separated-40-character-ascii-folded-28c2391b -d '<json body>'
```

Example prompt: Can you turn 'Ärger mit Zürich – Café & Straße' into a clean underscore slug, no longer than 40 characters, with ASCII folding?

## When to prefer this

Choose this endpoint when you specifically need underscore-separated slugs (as opposed to hyphen-separated), with ASCII folding of Unicode/accented characters, and a strict 40-character cap. Prefer this over hyphen-slug variants when targeting Python identifiers, database column names, or file system keys that conventionally use underscores. Use the free sandbox endpoint (/v1/sandbox/slug-underscore-40-ascii) first to test before paying.

## Known failure modes

- Input text is empty (violates minLength:1 constraint)
- Input text exceeds 100,000 character limit
- Payment of $0.005 USDC not provided or invalid (x402 payment required)
- Network or upstream service error

## How this service works

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

## Output

Returns a slugified version of the input text: special and accented characters are ASCII-folded, words are joined with underscores, and the result is truncated to a maximum of 40 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-separated-40-character-ascii-folded-28c2391b/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)
