{"x402Version":2,"kind":"resource-server","name":"farsi-tools","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.","resources":[{"resource":{"url":"https://farsi-tools.johnaio281.workers.dev/api/fa/normalize","description":"Normalize Persian (Farsi) text: convert Arabic letter variants (ي, ك) to their Persian forms, unify ZWNJ and spacing, and map Arabic-Indic digits to Persian digits. Use it before indexing, searching or comparing Persian text so that lookalike spellings match. Returns the normalized string.","mimeType":"application/json","serviceName":"farsi-tools normalize","tags":["persian","farsi","text","nlp","normalize"]},"accepts":[{"scheme":"exact","network":"eip155:8453","amount":"10000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x326F9DBB7027F5aB8be9956353dFF62b6a05Dc29","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","bodyType":"json","body":{"text":"دنيا كوچك ١٢٣"}},"output":{"type":"json","example":{"input_len":15,"output":"دنیا کوچک ۱۲۳"}}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"input":{"type":"object","properties":{"type":{"type":"string","const":"http"},"method":{"type":"string","enum":["POST","PUT","PATCH"]},"bodyType":{"type":"string","enum":["json","form-data","text"]},"body":{"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\"}"}}}},"required":["type","method","bodyType","body"],"additionalProperties":false},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object"}},"required":["type"]}},"required":["input"]}}},"serviceName":"farsi-tools normalize","tags":["persian","farsi","text","nlp","normalize"],"url":"https://farsi-tools.johnaio281.workers.dev/api/fa/normalize","method":"POST","description":"Normalize Persian (Farsi) text: convert Arabic letter variants (ي, ك) to their Persian forms, unify ZWNJ and spacing, and map Arabic-Indic digits to Persian digits. Use it before indexing, searching or comparing Persian text so that lookalike spellings match. Returns the normalized string."},{"resource":{"url":"https://farsi-tools.johnaio281.workers.dev/api/fa/transliterate","description":"Transliterate Persian, Dari or Arabic script into Latin letters, optionally as a URL slug. Use it to index Persian text in a Latin-keyword search engine, to build slugs for Persian titles, or to render Persian names in a Latin-only system. Returns the Latin transliteration and, when asked, the slug.","mimeType":"application/json","serviceName":"farsi-tools transliterate","tags":["persian","farsi","text","nlp","normalize"]},"accepts":[{"scheme":"exact","network":"eip155:8453","amount":"10000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x326F9DBB7027F5aB8be9956353dFF62b6a05Dc29","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","bodyType":"json","body":{"text":"سلام دنیا","slug":true}},"output":{"type":"json","example":{"output":"slam dnya","slug":"slam-dnya"}}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"input":{"type":"object","properties":{"type":{"type":"string","const":"http"},"method":{"type":"string","enum":["POST","PUT","PATCH"]},"bodyType":{"type":"string","enum":["json","form-data","text"]},"body":{"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\"}"},"slug":{"type":"boolean"}}}},"required":["type","method","bodyType","body"],"additionalProperties":false},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object"}},"required":["type"]}},"required":["input"]}}},"serviceName":"farsi-tools transliterate","tags":["persian","farsi","text","nlp","normalize"],"url":"https://farsi-tools.johnaio281.workers.dev/api/fa/transliterate","method":"POST","description":"Transliterate Persian, Dari or Arabic script into Latin letters, optionally as a URL slug. Use it to index Persian text in a Latin-keyword search engine, to build slugs for Persian titles, or to render Persian names in a Latin-only system. Returns the Latin transliteration and, when asked, the slug."},{"resource":{"url":"https://farsi-tools.johnaio281.workers.dev/api/fa/stats","description":"Measure Persian text: character count, word count, line count and the number of ZWNJ half-space characters. Use it to size a Persian document, enforce a length limit, or report text statistics for Persian content. Returns a stats object.","mimeType":"application/json","serviceName":"farsi-tools stats","tags":["persian","farsi","text","nlp","normalize"]},"accepts":[{"scheme":"exact","network":"eip155:8453","amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x326F9DBB7027F5aB8be9956353dFF62b6a05Dc29","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","bodyType":"json","body":{"text":"سلام دنیا"}},"output":{"type":"json","example":{"stats":{"chars":9,"words":2,"lines":1,"zwnj":0}}}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"input":{"type":"object","properties":{"type":{"type":"string","const":"http"},"method":{"type":"string","enum":["POST","PUT","PATCH"]},"bodyType":{"type":"string","enum":["json","form-data","text"]},"body":{"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\"}"}}}},"required":["type","method","bodyType","body"],"additionalProperties":false},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object"}},"required":["type"]}},"required":["input"]}}},"serviceName":"farsi-tools stats","tags":["persian","farsi","text","nlp","normalize"],"url":"https://farsi-tools.johnaio281.workers.dev/api/fa/stats","method":"POST","description":"Measure Persian text: character count, word count, line count and the number of ZWNJ half-space characters. Use it to size a Persian document, enforce a length limit, or report text statistics for Persian content. Returns a stats object."},{"resource":{"url":"https://farsi-tools.johnaio281.workers.dev/api/fa/digits","description":"Convert the digits inside a string between Persian (۰-۹), Arabic-Indic (٠-٩) and ASCII (0-9) numeral systems, leaving the rest of the text untouched. Use it to make Persian text machine-readable or to render an ASCII number in Persian script. Returns the converted string.","mimeType":"application/json","serviceName":"farsi-tools digits","tags":["persian","farsi","text","nlp","normalize"]},"accepts":[{"scheme":"exact","network":"eip155:8453","amount":"3000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x326F9DBB7027F5aB8be9956353dFF62b6a05Dc29","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","bodyType":"json","body":{"text":"۱۲۳ ١٢٣ 123","to":"ascii"}},"output":{"type":"json","example":{"output":"123 123 123"}}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"input":{"type":"object","properties":{"type":{"type":"string","const":"http"},"method":{"type":"string","enum":["POST","PUT","PATCH"]},"bodyType":{"type":"string","enum":["json","form-data","text"]},"body":{"type":"object","required":["text"],"properties":{"text":{"type":"string","description":"text containing digits"},"to":{"type":"string","enum":["ascii","persian"]}}}},"required":["type","method","bodyType","body"],"additionalProperties":false},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object"}},"required":["type"]}},"required":["input"]}}},"serviceName":"farsi-tools digits","tags":["persian","farsi","text","nlp","normalize"],"url":"https://farsi-tools.johnaio281.workers.dev/api/fa/digits","method":"POST","description":"Convert the digits inside a string between Persian (۰-۹), Arabic-Indic (٠-٩) and ASCII (0-9) numeral systems, leaving the rest of the text untouched. Use it to make Persian text machine-readable or to render an ASCII number in Persian script. Returns the converted string."},{"resource":{"url":"https://farsi-tools.johnaio281.workers.dev/api/fa/number-to-words","description":"Write an integer out in Persian words (عدد به حروف), for example 1234 as هزار و دویست و سی و چهار. Use it for Persian invoices, cheque amounts, legal and official forms, and display. Returns the number spelled in Persian words.","mimeType":"application/json","serviceName":"farsi-tools number-to-words","tags":["iran","currency","rial","toman","convert"]},"accepts":[{"scheme":"exact","network":"eip155:8453","amount":"10000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x326F9DBB7027F5aB8be9956353dFF62b6a05Dc29","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","bodyType":"json","body":{"number":1234}},"output":{"type":"json","example":{"words":"یک هزار و دویست و سی و چهار"}}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"input":{"type":"object","properties":{"type":{"type":"string","const":"http"},"method":{"type":"string","enum":["POST","PUT","PATCH"]},"bodyType":{"type":"string","enum":["json","form-data","text"]},"body":{"type":"object","required":["number"],"properties":{"number":{"type":["integer","string"],"description":"integer, string digits, commas or Persian digits"}}}},"required":["type","method","bodyType","body"],"additionalProperties":false},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object"}},"required":["type"]}},"required":["input"]}}},"serviceName":"farsi-tools number-to-words","tags":["iran","currency","rial","toman","convert"],"url":"https://farsi-tools.johnaio281.workers.dev/api/fa/number-to-words","method":"POST","description":"Write an integer out in Persian words (عدد به حروف), for example 1234 as هزار و دویست و سی و چهار. Use it for Persian invoices, cheque amounts, legal and official forms, and display. Returns the number spelled in Persian words."},{"resource":{"url":"https://farsi-tools.johnaio281.workers.dev/api/fa/gregorian-to-jalali","description":"Convert a Gregorian (ISO, Western) calendar date to the Jalali, Solar Hijri, Persian or Shamsi calendar used in Iran. Use it to display a date to Iranian users, to schedule work in the Iranian calendar, or to convert a Gregorian deadline into a Jalali date. Returns the Jalali year, month, day and month name.","mimeType":"application/json","serviceName":"farsi-tools gregorian-to-jalali","tags":["persian","jalali","calendar","date","shamsi"]},"accepts":[{"scheme":"exact","network":"eip155:8453","amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x326F9DBB7027F5aB8be9956353dFF62b6a05Dc29","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","bodyType":"json","body":{"year":2026,"month":10,"day":21}},"output":{"type":"json","example":{"jalali":"1405/07/29","monthName":"مهر","weekday":3}}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"input":{"type":"object","properties":{"type":{"type":"string","const":"http"},"method":{"type":"string","enum":["POST","PUT","PATCH"]},"bodyType":{"type":"string","enum":["json","form-data","text"]},"body":{"type":"object","required":["year","month","day"],"properties":{"year":{"type":"integer"},"month":{"type":"integer","minimum":1,"maximum":12},"day":{"type":"integer","minimum":1,"maximum":31}}}},"required":["type","method","bodyType","body"],"additionalProperties":false},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object"}},"required":["type"]}},"required":["input"]}}},"serviceName":"farsi-tools gregorian-to-jalali","tags":["persian","jalali","calendar","date","shamsi"],"url":"https://farsi-tools.johnaio281.workers.dev/api/fa/gregorian-to-jalali","method":"POST","description":"Convert a Gregorian (ISO, Western) calendar date to the Jalali, Solar Hijri, Persian or Shamsi calendar used in Iran. Use it to display a date to Iranian users, to schedule work in the Iranian calendar, or to convert a Gregorian deadline into a Jalali date. Returns the Jalali year, month, day and month name."},{"resource":{"url":"https://farsi-tools.johnaio281.workers.dev/api/fa/jalali-to-gregorian","description":"Convert a Jalali (Solar Hijri, Persian, Shamsi) calendar date to the Gregorian calendar. Use it to turn a date written in the Iranian calendar back into an ISO 8601 date, to check whether a Jalali date is today, or to compare an Iranian deadline with a Western one. Returns the Gregorian year, month, day and weekday.","mimeType":"application/json","serviceName":"farsi-tools jalali-to-gregorian","tags":["persian","jalali","calendar","date","shamsi"]},"accepts":[{"scheme":"exact","network":"eip155:8453","amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x326F9DBB7027F5aB8be9956353dFF62b6a05Dc29","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","bodyType":"json","body":{"year":1405,"month":7,"day":29}},"output":{"type":"json","example":{"gregorian":"2026-10-21"}}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"input":{"type":"object","properties":{"type":{"type":"string","const":"http"},"method":{"type":"string","enum":["POST","PUT","PATCH"]},"bodyType":{"type":"string","enum":["json","form-data","text"]},"body":{"type":"object","required":["year","month","day"],"properties":{"year":{"type":"integer"},"month":{"type":"integer","minimum":1,"maximum":12},"day":{"type":"integer","minimum":1,"maximum":31}}}},"required":["type","method","bodyType","body"],"additionalProperties":false},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object"}},"required":["type"]}},"required":["input"]}}},"serviceName":"farsi-tools jalali-to-gregorian","tags":["persian","jalali","calendar","date","shamsi"],"url":"https://farsi-tools.johnaio281.workers.dev/api/fa/jalali-to-gregorian","method":"POST","description":"Convert a Jalali (Solar Hijri, Persian, Shamsi) calendar date to the Gregorian calendar. Use it to turn a date written in the Iranian calendar back into an ISO 8601 date, to check whether a Jalali date is today, or to compare an Iranian deadline with a Western one. Returns the Gregorian year, month, day and weekday."},{"resource":{"url":"https://farsi-tools.johnaio281.workers.dev/api/fa/validate-national-id","description":"Validate an Iranian national ID (کد ملی, code melli) by recomputing its check digit. Use it before accepting an identity number from a form, a customer, or an API payload. Returns whether the number is valid, and the parsed digits.","mimeType":"application/json","serviceName":"farsi-tools validate-national-id","tags":["iran","validation","id","checksum","iban"]},"accepts":[{"scheme":"exact","network":"eip155:8453","amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x326F9DBB7027F5aB8be9956353dFF62b6a05Dc29","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","bodyType":"json","body":{"value":"0499370899"}},"output":{"type":"json","example":{"valid":true}}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"input":{"type":"object","properties":{"type":{"type":"string","const":"http"},"method":{"type":"string","enum":["POST","PUT","PATCH"]},"bodyType":{"type":"string","enum":["json","form-data","text"]},"body":{"type":"object","required":["value"],"properties":{"value":{"type":"string","description":"10-digit national ID"}}}},"required":["type","method","bodyType","body"],"additionalProperties":false},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object"}},"required":["type"]}},"required":["input"]}}},"serviceName":"farsi-tools validate-national-id","tags":["iran","validation","id","checksum","iban"],"url":"https://farsi-tools.johnaio281.workers.dev/api/fa/validate-national-id","method":"POST","description":"Validate an Iranian national ID (کد ملی, code melli) by recomputing its check digit. Use it before accepting an identity number from a form, a customer, or an API payload. Returns whether the number is valid, and the parsed digits."},{"resource":{"url":"https://farsi-tools.johnaio281.workers.dev/api/fa/validate-sheba","description":"Validate an Iranian IBAN, called Sheba (شبا), with the ISO 13616 mod-97 check, and return the bank code. Use it before sending or crediting an Iranian bank transfer. Returns validity, the normalized IBAN and the bank identifier.","mimeType":"application/json","serviceName":"farsi-tools validate-sheba","tags":["iran","validation","id","checksum","iban"]},"accepts":[{"scheme":"exact","network":"eip155:8453","amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x326F9DBB7027F5aB8be9956353dFF62b6a05Dc29","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","bodyType":"json","body":{"value":"IR000000000000000000000000"}},"output":{"type":"json","example":{"valid":false,"reason":"mod97"}}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"input":{"type":"object","properties":{"type":{"type":"string","const":"http"},"method":{"type":"string","enum":["POST","PUT","PATCH"]},"bodyType":{"type":"string","enum":["json","form-data","text"]},"body":{"type":"object","required":["value"],"properties":{"value":{"type":"string","description":"IR + 24 digits"}}}},"required":["type","method","bodyType","body"],"additionalProperties":false},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object"}},"required":["type"]}},"required":["input"]}}},"serviceName":"farsi-tools validate-sheba","tags":["iran","validation","id","checksum","iban"],"url":"https://farsi-tools.johnaio281.workers.dev/api/fa/validate-sheba","method":"POST","description":"Validate an Iranian IBAN, called Sheba (شبا), with the ISO 13616 mod-97 check, and return the bank code. Use it before sending or crediting an Iranian bank transfer. Returns validity, the normalized IBAN and the bank identifier."},{"resource":{"url":"https://farsi-tools.johnaio281.workers.dev/api/fa/validate-mobile","description":"Validate and normalize an Iranian mobile phone number, checking the operator prefix (MCI, Irancell, Rightel, Shatel) and the national format 09xxxxxxxxx. Use it to verify a phone number on a sign-up form or before sending an SMS. Returns validity, the normalized number and the operator.","mimeType":"application/json","serviceName":"farsi-tools validate-mobile","tags":["iran","validation","id","checksum","iban"]},"accepts":[{"scheme":"exact","network":"eip155:8453","amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x326F9DBB7027F5aB8be9956353dFF62b6a05Dc29","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","bodyType":"json","body":{"value":"+989121234567"}},"output":{"type":"json","example":{"valid":true,"normalized":"09121234567"}}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"input":{"type":"object","properties":{"type":{"type":"string","const":"http"},"method":{"type":"string","enum":["POST","PUT","PATCH"]},"bodyType":{"type":"string","enum":["json","form-data","text"]},"body":{"type":"object","required":["value"],"properties":{"value":{"type":"string","description":"mobile in any common format"}}}},"required":["type","method","bodyType","body"],"additionalProperties":false},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object"}},"required":["type"]}},"required":["input"]}}},"serviceName":"farsi-tools validate-mobile","tags":["iran","validation","id","checksum","iban"],"url":"https://farsi-tools.johnaio281.workers.dev/api/fa/validate-mobile","method":"POST","description":"Validate and normalize an Iranian mobile phone number, checking the operator prefix (MCI, Irancell, Rightel, Shatel) and the national format 09xxxxxxxxx. Use it to verify a phone number on a sign-up form or before sending an SMS. Returns validity, the normalized number and the operator."},{"resource":{"url":"https://farsi-tools.johnaio281.workers.dev/api/fa/keywords","description":"Extract the frequent keywords from Persian text, filtering Persian and English stopwords and ranking by frequency. Use it to build a search index, an automatic tag list, or a topic summary for a Persian document. Returns the ranked keywords.","mimeType":"application/json","serviceName":"farsi-tools keywords","tags":["persian","farsi","text","nlp","normalize"]},"accepts":[{"scheme":"exact","network":"eip155:8453","amount":"10000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x326F9DBB7027F5aB8be9956353dFF62b6a05Dc29","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","bodyType":"json","body":{"text":"هوش مصنوعی و هوش تجاری","limit":5}},"output":{"type":"json","example":{"keywords":[{"term":"هوش","count":2}]}}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"input":{"type":"object","properties":{"type":{"type":"string","const":"http"},"method":{"type":"string","enum":["POST","PUT","PATCH"]},"bodyType":{"type":"string","enum":["json","form-data","text"]},"body":{"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\"}"},"limit":{"type":"integer","minimum":1,"maximum":50}}}},"required":["type","method","bodyType","body"],"additionalProperties":false},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object"}},"required":["type"]}},"required":["input"]}}},"serviceName":"farsi-tools keywords","tags":["persian","farsi","text","nlp","normalize"],"url":"https://farsi-tools.johnaio281.workers.dev/api/fa/keywords","method":"POST","description":"Extract the frequent keywords from Persian text, filtering Persian and English stopwords and ranking by frequency. Use it to build a search index, an automatic tag list, or a topic summary for a Persian document. Returns the ranked keywords."},{"resource":{"url":"https://farsi-tools.johnaio281.workers.dev/api/fa/sentences","description":"Split Persian text into sentences, handling the Persian question mark ؟, the exclamation mark, ellipsis … and abbreviation boundaries. Use it to chunk Persian text for summarization, translation or per-sentence processing. Returns the list of sentences.","mimeType":"application/json","serviceName":"farsi-tools sentences","tags":["persian","farsi","text","nlp","normalize"]},"accepts":[{"scheme":"exact","network":"eip155:8453","amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x326F9DBB7027F5aB8be9956353dFF62b6a05Dc29","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","bodyType":"json","body":{"text":"سلام. حالت چطوره؟ خوبم!"}},"output":{"type":"json","example":{"sentences":["سلام.","حالت چطوره؟","خوبم!"],"count":3}}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"input":{"type":"object","properties":{"type":{"type":"string","const":"http"},"method":{"type":"string","enum":["POST","PUT","PATCH"]},"bodyType":{"type":"string","enum":["json","form-data","text"]},"body":{"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\"}"}}}},"required":["type","method","bodyType","body"],"additionalProperties":false},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object"}},"required":["type"]}},"required":["input"]}}},"serviceName":"farsi-tools sentences","tags":["persian","farsi","text","nlp","normalize"],"url":"https://farsi-tools.johnaio281.workers.dev/api/fa/sentences","method":"POST","description":"Split Persian text into sentences, handling the Persian question mark ؟, the exclamation mark, ellipsis … and abbreviation boundaries. Use it to chunk Persian text for summarization, translation or per-sentence processing. Returns the list of sentences."},{"resource":{"url":"https://farsi-tools.johnaio281.workers.dev/api/fa/similarity","description":"Measure the similarity of two Persian strings as a trigram Jaccard score from 0 to 1. Use it to detect near-duplicate Persian text, deduplicate a corpus, or rank one Persian string against another. Returns the similarity score.","mimeType":"application/json","serviceName":"farsi-tools similarity","tags":["persian","farsi","text","nlp","normalize"]},"accepts":[{"scheme":"exact","network":"eip155:8453","amount":"10000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x326F9DBB7027F5aB8be9956353dFF62b6a05Dc29","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","bodyType":"json","body":{"a":"سلام دنیا","b":"سلام دنیا"}},"output":{"type":"json","example":{"similarity":1}}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"input":{"type":"object","properties":{"type":{"type":"string","const":"http"},"method":{"type":"string","enum":["POST","PUT","PATCH"]},"bodyType":{"type":"string","enum":["json","form-data","text"]},"body":{"type":"object","required":["a","b"],"properties":{"a":{"type":"string","description":"first string"},"b":{"type":"string","description":"second string"}}}},"required":["type","method","bodyType","body"],"additionalProperties":false},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object"}},"required":["type"]}},"required":["input"]}}},"serviceName":"farsi-tools similarity","tags":["persian","farsi","text","nlp","normalize"],"url":"https://farsi-tools.johnaio281.workers.dev/api/fa/similarity","method":"POST","description":"Measure the similarity of two Persian strings as a trigram Jaccard score from 0 to 1. Use it to detect near-duplicate Persian text, deduplicate a corpus, or rank one Persian string against another. Returns the similarity score."},{"resource":{"url":"https://farsi-tools.johnaio281.workers.dev/api/fa/strip-html","description":"Strip HTML tags and decode HTML entities out of a string, leaving the readable text behind. Use it to clean web pages or scraped content before feeding it to an agent or an index. Returns the plain text.","mimeType":"application/json","serviceName":"farsi-tools strip-html","tags":["persian","farsi","text","nlp","normalize"]},"accepts":[{"scheme":"exact","network":"eip155:8453","amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x326F9DBB7027F5aB8be9956353dFF62b6a05Dc29","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","bodyType":"json","body":{"text":"<p>سلام <b>دنیا</b></p>"}},"output":{"type":"json","example":{"output":"سلام دنیا"}}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"input":{"type":"object","properties":{"type":{"type":"string","const":"http"},"method":{"type":"string","enum":["POST","PUT","PATCH"]},"bodyType":{"type":"string","enum":["json","form-data","text"]},"body":{"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\"}"}}}},"required":["type","method","bodyType","body"],"additionalProperties":false},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object"}},"required":["type"]}},"required":["input"]}}},"serviceName":"farsi-tools strip-html","tags":["persian","farsi","text","nlp","normalize"],"url":"https://farsi-tools.johnaio281.workers.dev/api/fa/strip-html","method":"POST","description":"Strip HTML tags and decode HTML entities out of a string, leaving the readable text behind. Use it to clean web pages or scraped content before feeding it to an agent or an index. Returns the plain text."},{"resource":{"url":"https://farsi-tools.johnaio281.workers.dev/api/fa/fix-rtl","description":"Remove Unicode bidi control characters and repair the spacing around right-to-left punctuation. Use it to clean Persian or Arabic text that renders in the wrong order or shows stray markers. Returns the cleaned string.","mimeType":"application/json","serviceName":"farsi-tools fix-rtl","tags":["persian","farsi","text","nlp","normalize"]},"accepts":[{"scheme":"exact","network":"eip155:8453","amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x326F9DBB7027F5aB8be9956353dFF62b6a05Dc29","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","bodyType":"json","body":{"text":"‫سلام‬"}},"output":{"type":"json","example":{"output":"سلام"}}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"input":{"type":"object","properties":{"type":{"type":"string","const":"http"},"method":{"type":"string","enum":["POST","PUT","PATCH"]},"bodyType":{"type":"string","enum":["json","form-data","text"]},"body":{"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\"}"}}}},"required":["type","method","bodyType","body"],"additionalProperties":false},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object"}},"required":["type"]}},"required":["input"]}}},"serviceName":"farsi-tools fix-rtl","tags":["persian","farsi","text","nlp","normalize"],"url":"https://farsi-tools.johnaio281.workers.dev/api/fa/fix-rtl","method":"POST","description":"Remove Unicode bidi control characters and repair the spacing around right-to-left punctuation. Use it to clean Persian or Arabic text that renders in the wrong order or shows stray markers. Returns the cleaned string."},{"resource":{"url":"https://farsi-tools.johnaio281.workers.dev/api/fa/validate-bank-card","description":"Validate an Iranian bank card number, called a PAN (کارت بانکی), with the Luhn check digit, and return the issuing bank. Use it before charging a card or accepting card details from a customer. Returns validity, the masked number and the bank name.","mimeType":"application/json","serviceName":"farsi-tools validate-bank-card","tags":["iran","validation","id","checksum","iban"]},"accepts":[{"scheme":"exact","network":"eip155:8453","amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x326F9DBB7027F5aB8be9956353dFF62b6a05Dc29","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","bodyType":"json","body":{"value":"6037701689095443"}},"output":{"type":"json","example":{"valid":true,"issuer":"بانک ملی"}}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"input":{"type":"object","properties":{"type":{"type":"string","const":"http"},"method":{"type":"string","enum":["POST","PUT","PATCH"]},"bodyType":{"type":"string","enum":["json","form-data","text"]},"body":{"type":"object","required":["value"],"properties":{"value":{"type":"string","description":"16-digit Iranian bank card number"}}}},"required":["type","method","bodyType","body"],"additionalProperties":false},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object"}},"required":["type"]}},"required":["input"]}}},"serviceName":"farsi-tools validate-bank-card","tags":["iran","validation","id","checksum","iban"],"url":"https://farsi-tools.johnaio281.workers.dev/api/fa/validate-bank-card","method":"POST","description":"Validate an Iranian bank card number, called a PAN (کارت بانکی), with the Luhn check digit, and return the issuing bank. Use it before charging a card or accepting card details from a customer. Returns validity, the masked number and the bank name."},{"resource":{"url":"https://farsi-tools.johnaio281.workers.dev/api/fa/validate-company-id","description":"Validate an Iranian company national ID (شناسه ملی اشخاص حقوقی, the 11-digit legal-entity identifier) by recomputing its check digit. Use it when onboarding a business customer or validating an Iranian legal entity. Returns validity and the parsed digits.","mimeType":"application/json","serviceName":"farsi-tools validate-company-id","tags":["iran","validation","id","checksum","iban"]},"accepts":[{"scheme":"exact","network":"eip155:8453","amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x326F9DBB7027F5aB8be9956353dFF62b6a05Dc29","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","bodyType":"json","body":{"value":"1010123456"}},"output":{"type":"json","example":{"valid":false,"reason":"check digit"}}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"input":{"type":"object","properties":{"type":{"type":"string","const":"http"},"method":{"type":"string","enum":["POST","PUT","PATCH"]},"bodyType":{"type":"string","enum":["json","form-data","text"]},"body":{"type":"object","required":["value"],"properties":{"value":{"type":"string","description":"11-digit legal-entity national ID"}}}},"required":["type","method","bodyType","body"],"additionalProperties":false},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object"}},"required":["type"]}},"required":["input"]}}},"serviceName":"farsi-tools validate-company-id","tags":["iran","validation","id","checksum","iban"],"url":"https://farsi-tools.johnaio281.workers.dev/api/fa/validate-company-id","method":"POST","description":"Validate an Iranian company national ID (شناسه ملی اشخاص حقوقی, the 11-digit legal-entity identifier) by recomputing its check digit. Use it when onboarding a business customer or validating an Iranian legal entity. Returns validity and the parsed digits."},{"resource":{"url":"https://farsi-tools.johnaio281.workers.dev/api/fa/validate-economic-code","description":"Validate an Iranian economic code (کد اقتصادی, the 12-digit taxpayer identifier) by recomputing its check digit. Use it when validating the tax identifier on an Iranian invoice or a supplier record. Returns validity and the parsed digits.","mimeType":"application/json","serviceName":"fa-validate-economic-code","tags":["iran","validation","id","checksum","iban"]},"accepts":[{"scheme":"exact","network":"eip155:8453","amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x326F9DBB7027F5aB8be9956353dFF62b6a05Dc29","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","bodyType":"json","body":{"value":"101010101010"}},"output":{"type":"json","example":{"valid":false,"reason":"check digit"}}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"input":{"type":"object","properties":{"type":{"type":"string","const":"http"},"method":{"type":"string","enum":["POST","PUT","PATCH"]},"bodyType":{"type":"string","enum":["json","form-data","text"]},"body":{"type":"object","required":["value"],"properties":{"value":{"type":"string","description":"12-digit economic code"}}}},"required":["type","method","bodyType","body"],"additionalProperties":false},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object"}},"required":["type"]}},"required":["input"]}}},"serviceName":"fa-validate-economic-code","tags":["iran","validation","id","checksum","iban"],"url":"https://farsi-tools.johnaio281.workers.dev/api/fa/validate-economic-code","method":"POST","description":"Validate an Iranian economic code (کد اقتصادی, the 12-digit taxpayer identifier) by recomputing its check digit. Use it when validating the tax identifier on an Iranian invoice or a supplier record. Returns validity and the parsed digits."},{"resource":{"url":"https://farsi-tools.johnaio281.workers.dev/api/fa/validate-postal-code","description":"Validate an Iranian postal code (کد پستی, the 10-digit code) by recomputing its check digit. Use it before using a postal code for delivery or address validation. Returns validity, the normalized code and its province.","mimeType":"application/json","serviceName":"farsi-tools validate-postal-code","tags":["iran","validation","id","checksum","iban"]},"accepts":[{"scheme":"exact","network":"eip155:8453","amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x326F9DBB7027F5aB8be9956353dFF62b6a05Dc29","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","bodyType":"json","body":{"value":"1639635913"}},"output":{"type":"json","example":{"valid":true,"region":"تهران"}}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"input":{"type":"object","properties":{"type":{"type":"string","const":"http"},"method":{"type":"string","enum":["POST","PUT","PATCH"]},"bodyType":{"type":"string","enum":["json","form-data","text"]},"body":{"type":"object","required":["value"],"properties":{"value":{"type":"string","description":"10-digit postal code"}}}},"required":["type","method","bodyType","body"],"additionalProperties":false},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object"}},"required":["type"]}},"required":["input"]}}},"serviceName":"farsi-tools validate-postal-code","tags":["iran","validation","id","checksum","iban"],"url":"https://farsi-tools.johnaio281.workers.dev/api/fa/validate-postal-code","method":"POST","description":"Validate an Iranian postal code (کد پستی, the 10-digit code) by recomputing its check digit. Use it before using a postal code for delivery or address validation. Returns validity, the normalized code and its province."},{"resource":{"url":"https://farsi-tools.johnaio281.workers.dev/api/fa/validate-landline","description":"Validate and normalize an Iranian landline number with its area code (021 for Tehran and so on) and resolve that area code to a city. Use it to verify a fixed-line contact or to route a support request to the right region. Returns validity, the normalized number, the area code and the city.","mimeType":"application/json","serviceName":"farsi-tools validate-landline","tags":["iran","validation","id","checksum","iban"]},"accepts":[{"scheme":"exact","network":"eip155:8453","amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x326F9DBB7027F5aB8be9956353dFF62b6a05Dc29","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","bodyType":"json","body":{"value":"02112345678"}},"output":{"type":"json","example":{"valid":true,"normalized":"02112345678","areaCode":"021","city":"تهران"}}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"input":{"type":"object","properties":{"type":{"type":"string","const":"http"},"method":{"type":"string","enum":["POST","PUT","PATCH"]},"bodyType":{"type":"string","enum":["json","form-data","text"]},"body":{"type":"object","required":["value"],"properties":{"value":{"type":"string","description":"landline in any common format"}}}},"required":["type","method","bodyType","body"],"additionalProperties":false},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object"}},"required":["type"]}},"required":["input"]}}},"serviceName":"farsi-tools validate-landline","tags":["iran","validation","id","checksum","iban"],"url":"https://farsi-tools.johnaio281.workers.dev/api/fa/validate-landline","method":"POST","description":"Validate and normalize an Iranian landline number with its area code (021 for Tehran and so on) and resolve that area code to a city. Use it to verify a fixed-line contact or to route a support request to the right region. Returns validity, the normalized number, the area code and the city."},{"resource":{"url":"https://farsi-tools.johnaio281.workers.dev/api/fa/iran-province","description":"Look up an Iranian province by its Persian name and return its capital and major cities. Use it to resolve a province in an address, to attach geographic context to a user, or to normalize a location field. Returns the province, its capital and its cities.","mimeType":"application/json","serviceName":"farsi-tools iran-province","tags":["iran","province","city","lookup","geography"]},"accepts":[{"scheme":"exact","network":"eip155:8453","amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x326F9DBB7027F5aB8be9956353dFF62b6a05Dc29","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","bodyType":"json","body":{"name":"خوزستان"}},"output":{"type":"json","example":{"found":true,"province":"خوزستان","capital":"اهواز","cities":["اهواز"]}}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"input":{"type":"object","properties":{"type":{"type":"string","const":"http"},"method":{"type":"string","enum":["POST","PUT","PATCH"]},"bodyType":{"type":"string","enum":["json","form-data","text"]},"body":{"type":"object","properties":{"name":{"type":"string","description":"province name in Persian"},"text":{"type":"string","description":"alias for name"},"value":{"type":"string","description":"alias for name"}}}},"required":["type","method","bodyType","body"],"additionalProperties":false},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object"}},"required":["type"]}},"required":["input"]}}},"serviceName":"farsi-tools iran-province","tags":["iran","province","city","lookup","geography"],"url":"https://farsi-tools.johnaio281.workers.dev/api/fa/iran-province","method":"POST","description":"Look up an Iranian province by its Persian name and return its capital and major cities. Use it to resolve a province in an address, to attach geographic context to a user, or to normalize a location field. Returns the province, its capital and its cities."},{"resource":{"url":"https://farsi-tools.johnaio281.workers.dev/api/fa/iran-city","description":"Look up an Iranian city by its Persian name and return the province it belongs to. Use it to resolve a city in an address or to group a location by region. Returns the city and its province.","mimeType":"application/json","serviceName":"farsi-tools iran-city","tags":["iran","province","city","lookup","geography"]},"accepts":[{"scheme":"exact","network":"eip155:8453","amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x326F9DBB7027F5aB8be9956353dFF62b6a05Dc29","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","bodyType":"json","body":{"name":"شیراز"}},"output":{"type":"json","example":{"found":true,"city":"شیراز","province":"فارس"}}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"input":{"type":"object","properties":{"type":{"type":"string","const":"http"},"method":{"type":"string","enum":["POST","PUT","PATCH"]},"bodyType":{"type":"string","enum":["json","form-data","text"]},"body":{"type":"object","properties":{"name":{"type":"string","description":"city name in Persian"},"text":{"type":"string","description":"alias for name"},"value":{"type":"string","description":"alias for name"}}}},"required":["type","method","bodyType","body"],"additionalProperties":false},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object"}},"required":["type"]}},"required":["input"]}}},"serviceName":"farsi-tools iran-city","tags":["iran","province","city","lookup","geography"],"url":"https://farsi-tools.johnaio281.workers.dev/api/fa/iran-city","method":"POST","description":"Look up an Iranian city by its Persian name and return the province it belongs to. Use it to resolve a city in an address or to group a location by region. Returns the city and its province."},{"resource":{"url":"https://farsi-tools.johnaio281.workers.dev/api/fa/iran-provinces","description":"List all 31 Iranian provinces with their capitals and major cities. Use it to populate a province dropdown, to build a location picker, or to validate a region name. Returns every province.","mimeType":"application/json","serviceName":"farsi-tools iran-provinces","tags":["iran","province","city","lookup","geography"]},"accepts":[{"scheme":"exact","network":"eip155:8453","amount":"3000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x326F9DBB7027F5aB8be9956353dFF62b6a05Dc29","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","bodyType":"json","body":{}},"output":{"type":"json","example":{"count":31,"provinces":[]}}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"input":{"type":"object","properties":{"type":{"type":"string","const":"http"},"method":{"type":"string","enum":["POST","PUT","PATCH"]},"bodyType":{"type":"string","enum":["json","form-data","text"]},"body":{"type":"object","properties":{}}},"required":["type","method","bodyType","body"],"additionalProperties":false},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object"}},"required":["type"]}},"required":["input"]}}},"serviceName":"farsi-tools iran-provinces","tags":["iran","province","city","lookup","geography"],"url":"https://farsi-tools.johnaio281.workers.dev/api/fa/iran-provinces","method":"POST","description":"List all 31 Iranian provinces with their capitals and major cities. Use it to populate a province dropdown, to build a location picker, or to validate a region name. Returns every province."},{"resource":{"url":"https://farsi-tools.johnaio281.workers.dev/api/fa/iran-holidays","description":"Return the official Iranian public holidays for a Jalali (Solar Hijri) year, with each holiday's Gregorian date and name. Use it to plan delivery or support schedules around Iranian holidays, or to flag non-working days. Returns the holiday list.","mimeType":"application/json","serviceName":"farsi-tools iran-holidays","tags":["persian","jalali","calendar","date","shamsi"]},"accepts":[{"scheme":"exact","network":"eip155:8453","amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x326F9DBB7027F5aB8be9956353dFF62b6a05Dc29","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","bodyType":"json","body":{"year":1405}},"output":{"type":"json","example":{"year":1405,"holidays":[]}}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"input":{"type":"object","properties":{"type":{"type":"string","const":"http"},"method":{"type":"string","enum":["POST","PUT","PATCH"]},"bodyType":{"type":"string","enum":["json","form-data","text"]},"body":{"type":"object","required":["year"],"properties":{"year":{"type":"integer","minimum":1300,"maximum":1500}}}},"required":["type","method","bodyType","body"],"additionalProperties":false},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object"}},"required":["type"]}},"required":["input"]}}},"serviceName":"farsi-tools iran-holidays","tags":["persian","jalali","calendar","date","shamsi"],"url":"https://farsi-tools.johnaio281.workers.dev/api/fa/iran-holidays","method":"POST","description":"Return the official Iranian public holidays for a Jalali (Solar Hijri) year, with each holiday's Gregorian date and name. Use it to plan delivery or support schedules around Iranian holidays, or to flag non-working days. Returns the holiday list."},{"resource":{"url":"https://farsi-tools.johnaio281.workers.dev/api/fa/iran-holiday-check","description":"Check whether a given Jalali (Solar Hijri) date is an Iranian public holiday and return the holiday's name if it is. Use it before booking, scheduling or sending a deadline-sensitive action on an Iranian working day. Returns whether it is a holiday and which one.","mimeType":"application/json","serviceName":"farsi-tools iran-holiday-check","tags":["persian","jalali","calendar","date","shamsi"]},"accepts":[{"scheme":"exact","network":"eip155:8453","amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x326F9DBB7027F5aB8be9956353dFF62b6a05Dc29","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","bodyType":"json","body":{"year":1405,"month":1,"day":1}},"output":{"type":"json","example":{"year":1405,"date":"01/01","isHoliday":true,"name":"نوروز"}}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"input":{"type":"object","properties":{"type":{"type":"string","const":"http"},"method":{"type":"string","enum":["POST","PUT","PATCH"]},"bodyType":{"type":"string","enum":["json","form-data","text"]},"body":{"type":"object","required":["year","month","day"],"properties":{"year":{"type":"integer"},"month":{"type":"integer","minimum":1,"maximum":12},"day":{"type":"integer","minimum":1,"maximum":31}}}},"required":["type","method","bodyType","body"],"additionalProperties":false},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object"}},"required":["type"]}},"required":["input"]}}},"serviceName":"farsi-tools iran-holiday-check","tags":["persian","jalali","calendar","date","shamsi"],"url":"https://farsi-tools.johnaio281.workers.dev/api/fa/iran-holiday-check","method":"POST","description":"Check whether a given Jalali (Solar Hijri) date is an Iranian public holiday and return the holiday's name if it is. Use it before booking, scheduling or sending a deadline-sensitive action on an Iranian working day. Returns whether it is a holiday and which one."},{"resource":{"url":"https://farsi-tools.johnaio281.workers.dev/api/fa/amount-to-words","description":"Write an amount of Iranian rial or toman out in Persian words (مبلغ به حروف), as required on Iranian cheques, invoices and contracts. Use it to render a payable amount for a Persian-speaking payer. Returns the amount spelled in Persian words with its unit.","mimeType":"application/json","serviceName":"farsi-tools amount-to-words","tags":["iran","currency","rial","toman","convert"]},"accepts":[{"scheme":"exact","network":"eip155:8453","amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x326F9DBB7027F5aB8be9956353dFF62b6a05Dc29","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","bodyType":"json","body":{"amount":125000,"unit":"toman"}},"output":{"type":"json","example":{"words":"صد و بیست و پنج هزار تومان"}}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"input":{"type":"object","properties":{"type":{"type":"string","const":"http"},"method":{"type":"string","enum":["POST","PUT","PATCH"]},"bodyType":{"type":"string","enum":["json","form-data","text"]},"body":{"type":"object","required":["amount"],"properties":{"amount":{"type":["number","string"]},"number":{"type":["number","string"]},"unit":{"type":"string","enum":["toman","rial"]}}}},"required":["type","method","bodyType","body"],"additionalProperties":false},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object"}},"required":["type"]}},"required":["input"]}}},"serviceName":"farsi-tools amount-to-words","tags":["iran","currency","rial","toman","convert"],"url":"https://farsi-tools.johnaio281.workers.dev/api/fa/amount-to-words","method":"POST","description":"Write an amount of Iranian rial or toman out in Persian words (مبلغ به حروف), as required on Iranian cheques, invoices and contracts. Use it to render a payable amount for a Persian-speaking payer. Returns the amount spelled in Persian words with its unit."},{"resource":{"url":"https://farsi-tools.johnaio281.workers.dev/api/fa/rial-toman","description":"Convert an amount between Iranian rial and toman, where 1 toman equals 10 rial. Use it when a price is given in one unit and must be shown or billed in the other. Returns the converted amount.","mimeType":"application/json","serviceName":"farsi-tools rial-toman","tags":["iran","currency","rial","toman","convert"]},"accepts":[{"scheme":"exact","network":"eip155:8453","amount":"3000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x326F9DBB7027F5aB8be9956353dFF62b6a05Dc29","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","bodyType":"json","body":{"amount":10000,"unit":"rial"}},"output":{"type":"json","example":{"input":10000,"unit":"rial","output":1000,"outputUnit":"toman"}}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"input":{"type":"object","properties":{"type":{"type":"string","const":"http"},"method":{"type":"string","enum":["POST","PUT","PATCH"]},"bodyType":{"type":"string","enum":["json","form-data","text"]},"body":{"type":"object","required":["amount"],"properties":{"amount":{"type":["number","string"]},"number":{"type":["number","string"]},"unit":{"type":"string","enum":["rial","toman"]}}}},"required":["type","method","bodyType","body"],"additionalProperties":false},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object"}},"required":["type"]}},"required":["input"]}}},"serviceName":"farsi-tools rial-toman","tags":["iran","currency","rial","toman","convert"],"url":"https://farsi-tools.johnaio281.workers.dev/api/fa/rial-toman","method":"POST","description":"Convert an amount between Iranian rial and toman, where 1 toman equals 10 rial. Use it when a price is given in one unit and must be shown or billed in the other. Returns the converted amount."},{"resource":{"url":"https://farsi-tools.johnaio281.workers.dev/api/fa/cleanup-50","description":"Clean a Persian/Arabic CSV, TSV or text file of up to 50 rows and get the normalized file back. One flat price for the whole file, not per row: Arabic yeh and kaf become their Persian forms, the ZWNJ half-space is normalised, digits are unified to ASCII, and whitespace and line endings are cleaned. Optionally appends a Latin transliteration column. Send the file base64-encoded in content_b64; the file never leaves this worker's origin beyond the payment check.","mimeType":"application/json","serviceName":"farsi-tools cleanup-50","tags":["persian","farsi","csv","cleanup","data"]},"accepts":[{"scheme":"exact","network":"eip155:8453","amount":"900000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x326F9DBB7027F5aB8be9956353dFF62b6a05Dc29","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","bodyType":"json","body":{"filename":"contacts.csv","content_b64":"bmFtZSxjaXR5LG5vdGUK2LnZhNmKLNiq2YfYsdin2YYsb2sK"}},"output":{"type":"json","example":{"job_id":"cln_00000000000000000000000000000000","tier":"cleanup-50","price":"$0.90","filename":"contacts.csv","output_filename":"contacts.cleaned.csv","rows":2,"cols":3,"max_rows":50,"format":"csv","output_bytes":0,"output_b64":"","stats":{"rows_changed":2,"digits":"ascii","transliterated":false},"download_url":"/api/fa/cleanup/job/cln_00000000000000000000000000000000"}}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"input":{"type":"object","properties":{"type":{"type":"string","const":"http"},"method":{"type":"string","enum":["POST","PUT","PATCH"]},"bodyType":{"type":"string","enum":["json","form-data","text"]},"body":{"type":"object","required":["filename","content_b64"],"properties":{"filename":{"type":"string","description":"Original file name. The extension selects the format: .csv, .tsv, .txt, .md. Max 5 MB decoded."},"content_b64":{"type":"string","description":"The file bytes, base64 encoded. Max 5 MB decoded (about 6.7 MB on the wire)."},"options":{"type":"object","description":"Optional: {\"digits\":\"ascii\"|\"persian\"|\"keep\",\"transliterate\":true}. digits defaults to \"ascii\"; transliterate appends a Latin column."}}}},"required":["type","method","bodyType","body"],"additionalProperties":false},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object"}},"required":["type"]}},"required":["input"]}}},"serviceName":"farsi-tools cleanup-50","tags":["persian","farsi","csv","cleanup","data"],"url":"https://farsi-tools.johnaio281.workers.dev/api/fa/cleanup-50","method":"POST","description":"Clean a Persian/Arabic CSV, TSV or text file of up to 50 rows and get the normalized file back. One flat price for the whole file, not per row: Arabic yeh and kaf become their Persian forms, the ZWNJ half-space is normalised, digits are unified to ASCII, and whitespace and line endings are cleaned. Optionally appends a Latin transliteration column. Send the file base64-encoded in content_b64; the file never leaves this worker's origin beyond the payment check."},{"resource":{"url":"https://farsi-tools.johnaio281.workers.dev/api/fa/cleanup-500","description":"Clean a Persian/Arabic CSV, TSV or text file of up to 500 rows and get the normalized file back. One flat price for the whole file, not per row: Arabic yeh and kaf become their Persian forms, the ZWNJ half-space is normalised, digits are unified to ASCII, and whitespace and line endings are cleaned. Optionally appends a Latin transliteration column. Send the file base64-encoded in content_b64; the file never leaves this worker's origin beyond the payment check.","mimeType":"application/json","serviceName":"farsi-tools cleanup-500","tags":["persian","farsi","csv","cleanup","data"]},"accepts":[{"scheme":"exact","network":"eip155:8453","amount":"9000000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x326F9DBB7027F5aB8be9956353dFF62b6a05Dc29","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","bodyType":"json","body":{"filename":"contacts.csv","content_b64":"bmFtZSxjaXR5LG5vdGUK2LnZhNmKLNiq2YfYsdin2YYsb2sK"}},"output":{"type":"json","example":{"job_id":"cln_00000000000000000000000000000000","tier":"cleanup-500","price":"$9","filename":"contacts.csv","output_filename":"contacts.cleaned.csv","rows":2,"cols":3,"max_rows":500,"format":"csv","output_bytes":0,"output_b64":"","stats":{"rows_changed":2,"digits":"ascii","transliterated":false},"download_url":"/api/fa/cleanup/job/cln_00000000000000000000000000000000"}}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"input":{"type":"object","properties":{"type":{"type":"string","const":"http"},"method":{"type":"string","enum":["POST","PUT","PATCH"]},"bodyType":{"type":"string","enum":["json","form-data","text"]},"body":{"type":"object","required":["filename","content_b64"],"properties":{"filename":{"type":"string","description":"Original file name. The extension selects the format: .csv, .tsv, .txt, .md. Max 5 MB decoded."},"content_b64":{"type":"string","description":"The file bytes, base64 encoded. Max 5 MB decoded (about 6.7 MB on the wire)."},"options":{"type":"object","description":"Optional: {\"digits\":\"ascii\"|\"persian\"|\"keep\",\"transliterate\":true}. digits defaults to \"ascii\"; transliterate appends a Latin column."}}}},"required":["type","method","bodyType","body"],"additionalProperties":false},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object"}},"required":["type"]}},"required":["input"]}}},"serviceName":"farsi-tools cleanup-500","tags":["persian","farsi","csv","cleanup","data"],"url":"https://farsi-tools.johnaio281.workers.dev/api/fa/cleanup-500","method":"POST","description":"Clean a Persian/Arabic CSV, TSV or text file of up to 500 rows and get the normalized file back. One flat price for the whole file, not per row: Arabic yeh and kaf become their Persian forms, the ZWNJ half-space is normalised, digits are unified to ASCII, and whitespace and line endings are cleaned. Optionally appends a Latin transliteration column. Send the file base64-encoded in content_b64; the file never leaves this worker's origin beyond the payment check."},{"resource":{"url":"https://farsi-tools.johnaio281.workers.dev/api/fa/cleanup-5000","description":"Clean a Persian/Arabic CSV, TSV or text file of up to 5000 rows and get the normalized file back. One flat price for the whole file, not per row: Arabic yeh and kaf become their Persian forms, the ZWNJ half-space is normalised, digits are unified to ASCII, and whitespace and line endings are cleaned. Optionally appends a Latin transliteration column. Send the file base64-encoded in content_b64; the file never leaves this worker's origin beyond the payment check.","mimeType":"application/json","serviceName":"farsi-tools cleanup-5000","tags":["persian","farsi","csv","cleanup","data"]},"accepts":[{"scheme":"exact","network":"eip155:8453","amount":"25000000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x326F9DBB7027F5aB8be9956353dFF62b6a05Dc29","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","bodyType":"json","body":{"filename":"contacts.csv","content_b64":"bmFtZSxjaXR5LG5vdGUK2LnZhNmKLNiq2YfYsdin2YYsb2sK"}},"output":{"type":"json","example":{"job_id":"cln_00000000000000000000000000000000","tier":"cleanup-5000","price":"$25","filename":"contacts.csv","output_filename":"contacts.cleaned.csv","rows":2,"cols":3,"max_rows":5000,"format":"csv","output_bytes":0,"output_b64":"","stats":{"rows_changed":2,"digits":"ascii","transliterated":false},"download_url":"/api/fa/cleanup/job/cln_00000000000000000000000000000000"}}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"input":{"type":"object","properties":{"type":{"type":"string","const":"http"},"method":{"type":"string","enum":["POST","PUT","PATCH"]},"bodyType":{"type":"string","enum":["json","form-data","text"]},"body":{"type":"object","required":["filename","content_b64"],"properties":{"filename":{"type":"string","description":"Original file name. The extension selects the format: .csv, .tsv, .txt, .md. Max 5 MB decoded."},"content_b64":{"type":"string","description":"The file bytes, base64 encoded. Max 5 MB decoded (about 6.7 MB on the wire)."},"options":{"type":"object","description":"Optional: {\"digits\":\"ascii\"|\"persian\"|\"keep\",\"transliterate\":true}. digits defaults to \"ascii\"; transliterate appends a Latin column."}}}},"required":["type","method","bodyType","body"],"additionalProperties":false},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object"}},"required":["type"]}},"required":["input"]}}},"serviceName":"farsi-tools cleanup-5000","tags":["persian","farsi","csv","cleanup","data"],"url":"https://farsi-tools.johnaio281.workers.dev/api/fa/cleanup-5000","method":"POST","description":"Clean a Persian/Arabic CSV, TSV or text file of up to 5000 rows and get the normalized file back. One flat price for the whole file, not per row: Arabic yeh and kaf become their Persian forms, the ZWNJ half-space is normalised, digits are unified to ASCII, and whitespace and line endings are cleaned. Optionally appends a Latin transliteration column. Send the file base64-encoded in content_b64; the file never leaves this worker's origin beyond the payment check."}],"attestation":{"type":"none"},"docs":"https://farsi-tools.johnaio281.workers.dev/","contact":"johnaio281@gmail.com","updated":"2026-10-21T00:00:00Z"}