# Tilde-Prefixed ASCII Slug Generator (24-char cap)

> Tilde-Prefixed ASCII Slug Generator (24-char cap) is a paid API for AI agents from agentshelf.syntexa.ch, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-02).

Converts input text into a URL slug prefixed with '~', ASCII-folded and capped at 24 characters total.

## Facts

- Endpoint: POST https://agentshelf.syntexa.ch/v1/slug-tilde-24-ascii?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/tilde-prefixed-ascii-slug-generator-24-char-cap-c64cfb5e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_X_tuqWabS3A2t8xXY0dT4

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-prefixed-ascii-slug-generator-24-char-cap-c64cfb5e -d '<json body>'
```

Example prompt: Can you generate a tilde-prefixed slug from the text 'Héloïse Dupont 2024' — it should be ASCII-folded and no longer than 24 characters total including the ~?

## When to prefer this

Use this endpoint when you specifically need a tilde-prefixed (~) slug that is ASCII-folded and hard-capped at 24 characters total. Prefer the free sandbox variant (POST /v1/sandbox/slug-tilde-24-ascii) for development or high-volume use; use this paid endpoint when the sandbox is unavailable or rate-limited. Choose over generic slugifiers when the tilde prefix and strict 24-character limit are requirements.

## Known failure modes

- Input text too short (minLength:1 not met) returns validation error
- Input exceeding 100,000 characters rejected
- Payment of $0.003 USDC not provided returns 402 Payment Required
- Network timeout on the paid endpoint (consider free sandbox fallback at POST /v1/sandbox/slug-tilde-24-ascii)

## How this service works

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

## Output

A tilde-prefixed (~), ASCII-folded, URL-safe slug derived from the input text, truncated so the total length does not exceed 24 characters. Non-ASCII characters are transliterated to ASCII equivalents before slugification.

## 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-prefixed-ascii-slug-generator-24-char-cap-c64cfb5e/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)
