Turn free multilingual text into a URL-safe slug
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.
1000 (raw units)
price
1
calls / 30d
1
unique payers
2026-08-24
updated
Provider
402utils.com · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0xc55A2D530b53CBaD1001e4AfD4720B7E71f9C291",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "1000",
"maxTimeoutSeconds": 60
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"body": {
"text": "Crème Brûlée à la Vanille"
},
"bodyType": "json",
"method": "POST",
"type": "http"
},
"output": {
"example": {
"empty": false,
"slug": "creme-brulee-a-la-vanille",
"truncated": false
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"description": "Text to slugify plus options.",
"properties": {
"lowercase": {
"default": true,
"type": "boolean"
},
"maxLength": {
"description": "Truncate the slug (on a separator boundary where possible).",
"maximum": 1000,
"minimum": 1,
"type": "integer"
},
"separator": {
"default": "-",
"description": "Word separator (max 10 chars).",
"type": "string"
},
"text": {
"description": "The source text.",
"type": "string"
},
"transliterate": {
"default": true,
"description": "Romanise to ASCII (true) or keep any-script letters (false).",
"type": "boolean"
}
},
"required": [
"text"
],
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"properties": {
"empty": {
"description": "True when nothing survived (e.g. an unsupported script).",
"type": "boolean"
},
"slug": {
"type": "string"
},
"truncated": {
"description": "Whether maxLength shortened the slug.",
"type": "boolean"
}
},
"required": [
"slug",
"truncated",
"empty"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
}
}Use it
curl
curl "https://402utils.com/v1/slugify" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://402utils.com/v1/slugify");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://402utils.com/v1/slugify")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/5910.json, and this resource appears in /discovery/resources and /discovery/search.