# 402utils Slugify

> 402utils Slugify is a paid API for AI agents from 402utils.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Converts multilingual text into a URL-safe ASCII slug with configurable separator, casing, max length, and transliteration of Latin diacritics, Cyrillic, and Greek.

## Facts

- Endpoint: POST https://402utils.com/v1/slugify
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/402utils-slugify-b4813cb7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_DddXO5Vv2oRqkj_TDxx3A

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 402utils-slugify-b4813cb7 -d '<json body>'
```

Example prompt: Slugify this article title for the URL: "Déjà Vu en Été" — use an underscore separator, keep it lowercase, and cap it at 30 characters.

## When to prefer this

Choose this endpoint when you need deterministic, reproducible URL slugs from multilingual text containing Latin diacritics (é, ü, ñ), Cyrillic, or Greek — particularly when you need consistent output for SEO permalinks, file names, or database keys. Prefer it over client-side libraries when you need a hosted, language-agnostic, pay-per-call solution without dependency management.

## Known failure modes

- Input text contains only CJK, Arabic, or Hebrew characters — those scripts are dropped, resulting in an empty slug
- maxLength too short to fit even one word segment
- separator longer than 10 characters returns a validation error
- Missing required 'text' field returns a 400-level error
- Text with mixed CJK and Latin produces partial slug with only the Latin/transliterable portions

## How this service works

Turn free multilingual text into a URL-safe slug. Transliterates Latin (all diacritics: é→e, ü→u), Cyrillic and Greek to ASCII; deterministic. Options: separator (default '-'), lowercase (default true), maxLength (cuts on a word boundary), transliterate (default true; false keeps letters of any script as a Unicode slug). Complex scripts (CJK, Arabic, Hebrew) are NOT romanised and are dropped.

## Output

Returns a URL-safe ASCII slug derived from the input text, with Latin diacritics, Cyrillic, and Greek transliterated to ASCII, words joined by the specified separator, optionally lowercased and truncated at a word boundary to maxLength.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "description": "The source text."
  },
  "lowercase": {
   "type": "boolean",
   "default": true
  },
  "maxLength": {
   "type": "integer",
   "maximum": 1000,
   "minimum": 1,
   "description": "Truncate the slug (on a separator boundary where possible)."
  },
  "separator": {
   "type": "string",
   "default": "-",
   "description": "Word separator (max 10 chars)."
  },
  "transliterate": {
   "type": "boolean",
   "default": true,
   "description": "Romanise to ASCII (true) or keep any-script letters (false)."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/402utils-slugify-b4813cb7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 402utils.com](https://www.zero.xyz/host/402utils.com/llms.txt)
