{"uid":"cap_rXGdNVXMEQDqBbma_NZXJ","slug":"farsi-tools-strip-html-15fb121b","name":"Farsi Tools – Strip HTML","description":"Persian (Farsi) and Iranian utility API for AI agents. Text normalization, transliteration, Jalali (Solar Hijri) calendar conversion, Persian digits and number-to-words, Iranian national ID / Sheba (IBAN) / mobile / landline / postal code / bank card (Luhn PAN) / company ID / economic code validators, Iranian provinces and cities, official Jalali holidays, Rial-Toman conversion. Also a FIXED-PRICE deliverable SKU: Persian/Arabic data cleanup at $0.90, $9 or $25 flat per file (not per call) - upload a CSV, TSV or text file and get it back normalized, with an optional Latin transliteration column. Pay per request in USDC on Base via x402 - no signup, no API key, no KYC.","url":"https://farsi-tools.johnaio281.workers.dev/api/fa/strip-html?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","description":"Persian (Farsi) text or value to process. Max 100000 characters."},"options":{"type":"object","description":"optional, e.g. {\"digits\":\"ascii\"}"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"output":"سلام دنیا"}},"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_gg4-pyAgKcv46wk2tlxuy","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":"Removes HTML tags from Persian (Farsi) text, returning clean plain text","exampleAgentPrompt":"Strip the HTML tags from this Persian text for me: '<p>سلام <b>دنیا</b></p>' and give me just the clean Farsi plain text.","exampleUseCases":[{"title":"Clean scraped Farsi article content","prompt":"I scraped a Persian news article and the text is full of HTML tags like <p>, <span>, and <a href>. Can you strip all the HTML out and give me just the clean Farsi text?"},{"title":"Sanitize Persian user-generated input","prompt":"A user submitted a comment in Farsi that contains HTML markup — something like '<div>نظر من اینجاست</div>'. Strip the HTML so I can safely store and display the plain text."},{"title":"Prepare Farsi text for NLP pipeline","prompt":"Before I run my Persian text analysis, I need to remove all the HTML tags from this Farsi content: '<h1>عنوان مقاله</h1><p>متن اصلی اینجاست.</p>'. Can you clean it up?"}],"resultDescription":"A JSON object with an 'output' field containing the cleaned Persian text with all HTML tags removed, e.g. {\"output\": \"سلام دنیا\"}","failureModes":["Missing required 'text' query parameter returns an error","Text exceeding 100,000 characters may be rejected","Payment failure via x402 (insufficient USDC balance) results in 402 response","Malformed or non-UTF-8 encoded text may produce unexpected output","Non-Persian text is processed but results may be less predictable"],"whenToPreferThis":"Choose this endpoint when you specifically need to strip HTML from Persian (Farsi) text and want a lightweight, pay-per-call microservice without needing a full NLP platform. It is ideal for preprocessing Farsi content scraped from the web, sanitizing user-generated Farsi HTML input, or cleaning Persian text before feeding it into analysis pipelines.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T00:30:15.665Z","isFirstParty":false,"canonicalSlug":"farsi-tools-strip-html-15fb121b"}