# Tilde-Slug Generator (40-char ASCII-folded)

> Tilde-Slug Generator (40-char 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 tilde (~) as separator, capped at 40 characters with ASCII folding applied

## Facts

- Endpoint: POST https://agentshelf.syntexa.ch/v1/slug-tilde-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/tilde-slug-generator-40-char-ascii-folded-2cca8d8d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_eEs7oh6xmIBAC4cz8OHf1

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 tilde-slug-generator-40-char-ascii-folded-2cca8d8d -d '<json body>'
```

Example prompt: Turn the title 'Héllo Wörld: An Introduction to Ünïcödé' into a tilde-slug, capped at 40 characters with ASCII folding.

## When to prefer this

Choose this endpoint when you specifically need tilde (~) as the word separator in slugs (rather than hyphens or underscores), require ASCII folding of Unicode/accented characters, and need the result capped at exactly 40 characters. It is a deterministic, no-LLM, no-network utility — ideal for reproducible identifier generation in pipelines. Use the free sandbox endpoint /v1/sandbox/slug-tilde-40-ascii first for testing before incurring the $0.005 USDC charge.

## Known failure modes

- Empty or missing text input returns a validation error
- Input exceeding maxLength of 100000 characters is rejected
- Payment of $0.005 USDC not provided or invalid triggers a 402 response
- Network timeout if the service is temporarily unavailable

## 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-tilde-40-ascii first.

## Output

Returns a slug string derived from the input text, with non-ASCII characters folded to their ASCII equivalents, words joined by tilde (~) characters, and the entire result 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/tilde-slug-generator-40-char-ascii-folded-2cca8d8d/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)
