Skip to content
clusters: prooflayer · edgemarket · edgefinance · synthforge · mediakit · wordmint · webprobe · locale · comppoint
$ man slugify

/slugify

PRICE / CALL
$0.001
USDC · base mainnet · scheme: exact
METHOD
POST
CLUSTER
wordmint
CATEGORY
ai
STATUS
live
NAME
slugify url slug generator / slugifier / canonical-identifier maker / safe-string converter / seo slug builder / filename slug / cache-key normal…
SYNOPSIS
POST https://x402.agentutility.ai/slugify
     Content-Type: application/json
     X-PAYMENT:    <signed-transferWithAuthorization>

     { ... }
↳ first call → 402 Payment Required. Sign USDCtransferWithAuthorization, retry with theX-PAYMENT header.
DESCRIPTION

URL slug generator / slugifier / canonical-identifier maker / safe-string converter / SEO slug builder / filename slug / cache-key normalizer. Takes any string and returns a URL/identifier-safe slug in one of four modes: kebab (lower-kebab-case, default), snake (lower_snake_case), dot (lower.dot.case), or preserve_case (keep original casing). Unicode-aware: strips accents (José → jose), normalizes symbol-to-word for common cases (& → and, % → percent, @ → at, # → hash, + → plus), collapses adjacent separators, strips leading/trailing separators. Optional max_length with word-boundary-aware truncation. Pure compute, no LLM, no upstream. Cheapest endpoint in the catalog at $0.001.

INPUTrequest schema
propertytypedescriptionreq?
textstringSource string to slugify. Max 1000 chars.required
modestringSlug shape: 'kebab' (default), 'snake', 'dot', or 'preserve_case'.optional
replace_symbolsbooleanReplace common symbols with word equivalents (& → and, % → percent, @ → at, # → hash, + → plus). Default true.optional
ascii_onlybooleanStrip Unicode accents and convert to ASCII. When false, allows Unicode letters/numbers through. Default true.optional
max_lengthnumberOptional max slug length. Truncates at the nearest word boundary. 1-500.optional
OUTPUTresponse shape
fieldtypedescription
inputstringEcho of the input text.
slugstringThe generated slug in the requested mode.
modestringEcho of the slug mode used (kebab/snake/dot/preserve_case).
lengthnumberLength of the resulting slug in characters.
tokensarrayArray of individual tokens that were joined to form the slug. Useful when the caller wants to know what survived normalization.
truncatedbooleanTrue when max_length was set and the slug had to be cut to fit.
optionsobjectEcho of the effective options used (replace_symbols, ascii_only, max_length).
EXAMPLEStwo ways to call
EXAMPLE 1 · curl
curl -X POST https://x402.agentutility.ai/slugify \
  -H 'Content-Type: application/json' \
  -d '{ }'
first response = 402 Payment Required with payment requirements; sign + retry with X-PAYMENT.
EXAMPLE 2 · mcp
# MCP packages on npm under
# @agentutility/mcp-*  (one per cluster)
#
# Catalog + install:
# https://mcp.agentutility.ai
#
# Or call slugify directly over HTTP — see above.
MCP server handles payment automatically — your coding agent just calls the tool by name.
METADATA
tags
wordmintslugslugifyurl-slugstring-normalizekebab-case
methods
POST
cluster
wordmint
price
$0.001 USDC per call
ADJACENTother endpoints in wordmint
endpointdescriptionprice
content-simhashSimHash / 64-bit content fingerprint / near-duplicate detection / dedup hashing / locality-sensitive hash.$0.001
hash-stringString hasher / multi-algorithm digest / cache-key generator / content fingerprinter / SHA-256 / SHA-1 / SHA-384 / SHA-512 / MD5.$0.001
text-normalizeText normalize.$0.001
token-countToken count / tokenizer estimate / GPT-4 token count / Claude token count / Gemini token count / context-window pre-flight.$0.001
type-inference-from-jsonType inference from JSON / JSON to TypeScript / JSON to Zod / JSON to JSON Schema / JSON shape inferer / quicktype-style type generator.$0.001
unicode-normalizeUnicode normalize / NFC NFD NFKC NFKD / homoglyph detection / IDN spoof / lookalike chars / invisible characters / zero-width / phishing…$0.001
cron-explainCron expression explainer / cron parser / scheduling translator.$0.002
cron-parseCron parser.$0.002
SEE ALSO
agentutility · wordmint · x402 · mcp · llms.txt · registry.json · bazaar.x402.org