{"uid":"cap_Y5ujh6X-mBc6B4Lg0e6-t","slug":"irantools-slugify-4d185b65","name":"IranTools Slugify","description":"Persian and Iranian utilities for AI agents, plus general text/Unicode tooling. Jalali (Solar Hijri) calendar conversion, Iranian national ID / SHEBA / bank card / postal code / economic code validation, province and city lookup, official public holidays, Persian text normalization, keyword extraction, sentence splitting, similarity, HTML stripping, RTL fixing, Unicode homoglyph folding, script detection, NFC/NFD normalization, grapheme counting, date description, business-day counting, slugify, FNV-1a hashing, Shannon entropy, format and encoding detection, byte sizes. Pay per call in USDC on Base via x402 - no signup, no API key, no KYC. The same tools are also exposed as MCP tools at /mcp.","url":"https://irantools.johnaio281.workers.dev/api/iran/slugify?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["text"],"properties":{"text":{"type":"string"},"lowercase":{"type":"string"},"maxLength":{"type":"string"},"separator":{"type":"string"}}},"responseSchema":{"type":"object","additionalProperties":true},"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_AgMi1cZQLFQKD--A9JQ_f","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 Persian or Latin text into a URL-safe slug with configurable separator, case, and maximum length","exampleAgentPrompt":"Slugify this Persian product title for a URL: 'کفش ورزشی مردانه' — use hyphens as the separator and keep it lowercase.","exampleUseCases":[{"title":"Persian blog post permalink generation","prompt":"I need a URL slug for my Persian blog post titled 'آشپزی سنتی ایرانی' — use hyphens as the separator and make it all lowercase."},{"title":"E-commerce Persian product URL","prompt":"Turn this Persian product name 'گوشی هوشمند سامسونگ' into a clean URL slug with underscores as separators and a max length of 50 characters."},{"title":"Persian category slug for CMS","prompt":"Slugify the Persian category label 'فرهنگ و هنر ایران' so I can use it as a URL path segment — lowercase, hyphen-separated."}],"resultDescription":"Returns a JSON object containing the slugified version of the input text, with Persian/Arabic script characters transliterated or removed to produce a URL-safe string, respecting the configured separator, case preference, and maximum length.","failureModes":["Missing required 'text' field returns a 400-level error","Empty string input may return an empty or minimal slug","Unsupported Unicode characters may be silently stripped","maxLength too small may produce a very truncated or empty slug","Non-string values for separator or lowercase flag may cause unexpected behavior"],"whenToPreferThis":"Choose this endpoint when you need to slugify Persian (Farsi) or mixed Persian-Latin text into URL-safe strings, especially for Iranian web applications, CMS platforms, or e-commerce sites. It handles RTL script and Persian Unicode correctly, which generic English-only slugify libraries do not. Prefer it over generic slug libraries when your content is primarily in Persian or contains Persian characters.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-23T08:21:52.688Z","isFirstParty":false,"canonicalSlug":"irantools-slugify-4d185b65"}