{"uid":"cap_bTB_dMy8ZD_npQMmW2DUP","slug":"preplayer-ai-slugify-b48ae10f","name":"PrepLayer.ai Slugify","description":"URL-safe slug from arbitrary text. NFKD-decomposes unicode (é -> e), lowercases, replaces every non-[a-z0-9] run with a separator, strips leading/trailing separators, truncates on separator boundaries (never mid-word).","url":"https://api.maximusmediahouse.com/v1/slugify?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","description":"Source text (1-10000 chars)."},"separator":{"type":"string","default":"-","description":"Separator character or short run (e.g. '-', '_', '..')."},"max_length":{"type":"integer","default":80,"maximum":500,"minimum":1,"description":"Maximum slug length."},"transliterate":{"type":"boolean","default":true,"description":"Strip combining marks (NFKD). Disable to keep unicode."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_4oDoJfzEY-8MdJSKk9cJK","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts arbitrary text into a URL-safe slug with NFKD unicode normalization, configurable separator, and word-boundary-aware truncation.","exampleAgentPrompt":"Turn this blog post title into a URL slug: 'Héllo Wörld! 10 Tips for Better SEO in 2025' — use hyphens as separators and keep it under 80 characters.","exampleUseCases":[{"title":"CMS blog post URL generation","prompt":"I'm publishing a new article titled 'Crème Brûlée: A Baker's Guide to Perfection' — can you slugify that into a URL-safe path with hyphens and a max length of 60 characters?"},{"title":"E-commerce product URL canonicalization","prompt":"We have a product called 'Ångström Pro 3000 — Ultra-Fine Drill Bits (¼\")' and need a clean URL slug for it, using hyphens and keeping it under 100 characters with unicode stripped."},{"title":"User-generated content URL safety","prompt":"A user just submitted a username '日本語テスト!!!' for their profile page — slugify it using underscores as separators so we can safely embed it in a URL, with transliteration enabled."}],"resultDescription":"Returns a URL-safe slug string derived from the input text: unicode NFKD-decomposed and stripped of combining marks (if transliterate is enabled), lowercased, non-alphanumeric character runs replaced with the specified separator, leading/trailing separators stripped, and truncated at a word boundary to fit within max_length.","failureModes":["Input text exceeds 10000 character limit — returns validation error","max_length below minimum of 1 — returns schema validation error","Separator is too long or contains invalid characters — returns error","All characters normalize away (e.g. pure emoji with transliterate=true) — may return empty slug","Network timeout or service unavailability — HTTP 5xx response"],"whenToPreferThis":"Choose this endpoint when you need deterministic, linguistically-aware slug generation that handles unicode correctly via NFKD decomposition, especially for multilingual content pipelines. It is preferable to a regex-only approach when you need guaranteed word-boundary truncation (never cutting mid-word), configurable separators, and consistent behavior across accented characters, ligatures, and mixed scripts.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T12:37:33.841Z","isFirstParty":false,"canonicalSlug":"preplayer-ai-slugify-b48ae10f"}