{"uid":"cap_p_ojKp0eUOwJXUKfumXdW","slug":"irantools-persian-keyword-extraction-a991df1f","name":"IranTools Persian Keyword Extraction","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/persian_keywords?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["text"],"properties":{"text":{"type":"string"},"limit":{"type":"string"}}},"responseSchema":{"type":"object","additionalProperties":true},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Xmm9nwM9ptcPl-SON05gC","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts the most important Persian/Farsi keywords from a given text string","exampleAgentPrompt":"Extract the top 5 keywords from this Persian article text: 'دولت ایران در نشست امروز درباره توسعه اقتصادی و برنامه‌های زیرساختی بحث کرد و تصمیماتی در زمینه بودجه گرفت.'","exampleUseCases":[{"title":"Tag Persian blog posts automatically","prompt":"I have this Persian blog post and need to tag it — can you pull out the 8 most relevant keywords from it? Here's the text: 'صنعت گردشگری ایران در سال‌های اخیر رشد چشمگیری داشته و بازدیدکنندگان خارجی به شهرهای تاریخی مانند اصفهان و شیراز جذب شده‌اند.'"},{"title":"Index Farsi news articles by topic","prompt":"I'm building a search index for Farsi news articles — extract the top 10 keywords from this article so I can categorize it: 'وزیر بهداشت در سخنرانی امروز اعلام کرد که واکسیناسیون عمومی در تمام استان‌ها آغاز خواهد شد.'"},{"title":"Persian content SEO keyword research","prompt":"I want to do SEO for a Persian-language website — pull out the most important keywords from this product description so I know what terms to target: 'این دستگاه تصفیه هوا با فیلتر HEPA هوای آلوده را پاک می‌کند و برای خانه‌های کوچک مناسب است.'"}],"resultDescription":"Returns a list of the most important Persian keywords extracted from the input text, ranked or filtered to the requested limit count.","failureModes":["Missing required 'text' field returns a validation error","Non-Persian or empty text may return an empty keyword list or unexpected results","Overly short texts may yield no meaningful keywords","Invalid 'limit' value (non-numeric string) may cause unexpected behavior or be ignored","Payment failure (insufficient USDC) results in HTTP 402 response"],"whenToPreferThis":"Choose this endpoint when you specifically need keyword extraction from Persian/Farsi text, particularly in an Iranian content pipeline. It is purpose-built for Persian NLP and handles RTL script, Persian morphology, and Farsi stop words correctly — unlike general-purpose English keyword extractors. Prefer it over generic NLP APIs when working with Persian-language documents, news articles, social media, or SEO content.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:41:36.454Z","isFirstParty":false,"canonicalSlug":"irantools-persian-keyword-extraction-a991df1f"}