{"uid":"cap_20sRAZeDaMJ-CWgJyKCu4","slug":"agent402-tools-slugify-33af30f1","name":"agent402.tools Slugify","description":"Turn any text into a URL-safe slug (lowercase, hyphenated, diacritics stripped).","url":"https://agent402.tools/api/slugify","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","description":"Text to slugify"},"separator":{"type":"string","description":"Default -"}}},"responseSchema":{"type":"json","example":{"slug":"hello-world-2024"}},"example":{"request":{"text":"Héllo Wörld: Best Práctices & Tips!","separator":"_"},"response":{"slug":"hello_world_best_practices_tips"}},"exampleRequest":{"text":"Héllo Wörld: Best Práctices & Tips!","separator":"_"},"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ttBL9xu__EjmkZI70CriC","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","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 by lowercasing, replacing spaces with a separator, and stripping diacritics/special characters.","exampleAgentPrompt":"Can you slugify the title 'Héllo Wörld: Best Práctices & Tips!' using underscores as the separator?","exampleUseCases":null,"resultDescription":"Returns a URL-safe slug string derived from the input text, with diacritics stripped, characters lowercased, and words joined by the specified separator (default: hyphen).","failureModes":["Empty text input returns an empty slug or validation error","Unsupported separator characters may cause unexpected output","Very long input strings may be truncated or rejected","Non-string input types may return a 400 error","Network or payment failure returns a 402 or 5xx status"],"whenToPreferThis":"Use this endpoint when you need a reliable, diacritic-stripping, URL-safe slug from arbitrary human-readable text — especially when the text may contain accented characters, punctuation, or mixed case that other naive slug functions would handle poorly. Prefer it over rolling your own regex when correctness across international characters matters.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T07:06:07.037Z","isFirstParty":false}