{"uid":"cap_AsYZ9tgItRR-DUq-6rANC","slug":"textkit-slugify-a4144a36","name":"TextKit Slugify","description":"General-purpose text, Unicode and date utilities for AI agents: homoglyph folding and spoofed-domain detection, Unicode script detection, NFC/NFD normalization, grapheme counting, date description (weekday, ISO week, quarter, leap year), business-day counting, slugify, FNV-1a hashing, Shannon entropy, string format detection (uuid, email, url, ipv4, jwt, iban), byte-encoding detection and human-readable byte sizes. Pay per request in USDC on Base via x402 - no signup, no API key, no KYC.","url":"https://textkit.johnaio281.workers.dev/api/tk/slugify?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["text"],"properties":{"text":{"type":"string"},"lowercase":{"type":"boolean","description":"default true"},"maxLength":{"type":"integer"},"separator":{"type":"string","description":"default -"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"slug":"hello-world-2026","length":15}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_QYtlGIGtOIU9iEMfuRJb2","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","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 configurable separator, case, and maximum length","exampleAgentPrompt":"Can you slugify the title 'Hello, World! 2026' using a hyphen separator and keep it lowercase?","exampleUseCases":[{"title":"Blog post URL generation","prompt":"Take the article title 'The Best Coffee Shops in New York City (2026 Edition)' and turn it into a URL slug with hyphens and lowercase."},{"title":"Product page path creation","prompt":"I need a URL slug for a product called 'Stainless Steel Water Bottle – 32 oz', max 30 characters long, using hyphens as the separator."},{"title":"User-generated content normalization","prompt":"Slugify this user-submitted tag name 'Café & Crêpes — Weekend Special!' so I can use it as a category path in the URL."}],"resultDescription":"Returns a JSON object containing the generated slug string (with special characters removed, spaces replaced by the separator, optionally lowercased and truncated) and the integer length of the resulting slug.","failureModes":["Missing required 'text' query parameter returns an error response","Extremely long input strings may be silently truncated if maxLength is set","Non-ASCII or Unicode characters may be transliterated or dropped depending on normalization behavior","Payment failure via x402 (insufficient USDC balance) will block the request before processing"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, pay-per-call slugification with Unicode awareness and no API key setup. It is ideal for agents handling content pipelines, CMS integrations, or URL generation tasks where spinning up a local library is impractical. Prefer it over generic string-manipulation endpoints when you need configurable separator, case folding, and length capping in a single call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-23T08:21:52.687Z","isFirstParty":false,"canonicalSlug":"textkit-slugify-a4144a36"}