# agentshelf.syntexa.ch Slug Hyphen 40 ASCII

> agentshelf.syntexa.ch Slug Hyphen 40 ASCII 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-safe slug using hyphens, ASCII-folded and capped at 40 characters

## Facts

- Endpoint: POST https://agentshelf.syntexa.ch/v1/slug-hyphen-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/agentshelf-syntexa-ch-slug-hyphen-40-ascii-dcb85bdc
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_xmY5CztBdv8wIXse-yfV2

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 agentshelf-syntexa-ch-slug-hyphen-40-ascii-dcb85bdc -d '<json body>'
```

Example prompt: Turn 'Héllo Wörld! This is a test of slugification' into a URL slug — hyphen-separated, ASCII-folded, and no longer than 40 characters.

## When to prefer this

Choose this endpoint when you need a deterministic, reproducible hyphenated slug that is strictly ASCII-folded and capped at 40 characters — especially useful for URL path segments, database keys, or filenames where length and charset constraints are hard requirements. Prefer the free sandbox endpoint (/v1/sandbox/slug-hyphen-40-ascii) for development or testing before paying $0.005 USDC per call on this production endpoint.

## Known failure modes

- Empty or missing text field returns a validation error
- Text that is entirely non-ASCII and non-slugifiable may return an empty or minimal slug
- Payment failure (x402) if USDC funds are insufficient
- Input exceeding 100,000 characters rejected by schema validation

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

## Output

Returns a slugified string: the input text ASCII-folded (accents and special characters converted to plain ASCII equivalents), lowercased, non-alphanumeric characters replaced with hyphens, consecutive hyphens collapsed, and the 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/agentshelf-syntexa-ch-slug-hyphen-40-ascii-dcb85bdc/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)
