# Text Slugify

> Text Slugify is a paid API for AI agents from x402.agentindex.world, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-02).

Converts arbitrary text into a URL-safe slug by stripping accents, lowercasing, and replacing non-alphanumeric characters with a configurable separator.

## Facts

- Endpoint: GET https://x402.agentindex.world/text/slug?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/text-slugify-d9c5aeb5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_YB0KRDHZ6Q9ewjWGaMrU8

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 text-slugify-d9c5aeb5
```

Example prompt: Can you slugify this title for me — 'Héllo Wörld: A Tëst of Accents & Spëcial Chars!' — using hyphens as the separator?

## When to prefer this

Choose this endpoint when you need a lightweight, pay-per-call slugification service without standing up your own text processing infrastructure. Ideal for agents building CMS content pipelines, generating URL-safe identifiers, or sanitizing user-provided text at low volume without managing library dependencies.

## Known failure modes

- Empty or missing 'text' parameter returns an error or empty slug
- Very long input strings may be truncated or cause slow responses
- Unusual Unicode scripts (e.g., CJK, Arabic) may produce unexpected slug results since accent-stripping logic targets Latin diacritics
- Network or payment authorization failure returns a 402 or 5xx error

## How this service works

Slugify text: strip accents, lowercase, replace non-alphanumerics with a separator.

## Output

Returns a slugified string where accents are stripped, all characters are lowercased, and any non-alphanumeric characters are replaced with the specified separator (default: hyphen). For example, 'Héllo Wörld!' becomes 'hello-world'.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "title": "Text"
  },
  "separator": {
   "type": "string",
   "title": "Separator",
   "default": "-"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/text-slugify-d9c5aeb5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.agentindex.world](https://www.zero.xyz/host/x402.agentindex.world/llms.txt)
