{"uid":"cap_itHiBQa8BF96Bif7q6p1M","slug":"farsi-tools-persian-arabic-data-cleanup-5000-row-tier-af349a98","name":"farsi-tools Persian/Arabic Data Cleanup (5000-row tier)","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/cleanup-5000?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":["filename","content_b64"],"properties":{"options":{"type":"object","description":"Optional: {\"digits\":\"ascii\"|\"persian\"|\"keep\",\"transliterate\":true}. digits defaults to \"ascii\"; transliterate appends a Latin column."},"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)."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"cols":3,"rows":2,"tier":"cleanup-5000","price":"$25","stats":{"digits":"ascii","rows_changed":2,"transliterated":false},"format":"csv","job_id":"cln_00000000000000000000000000000000","filename":"contacts.csv","max_rows":5000,"output_b64":"","download_url":"/api/fa/cleanup/job/cln_00000000000000000000000000000000","output_bytes":0,"output_filename":"contacts.cleaned.csv"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"25","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":"$25/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"25","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"25","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_6wuqVzoP-i3phePhxiTl3","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"25","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Normalizes and optionally transliterates Persian/Arabic text in a CSV, TSV, or text file (up to 5,000 rows) for a flat $25 USDC fee, returning a cleaned file encoded in base64.","exampleAgentPrompt":"Please clean up my contacts.csv file — it has messy Persian/Arabic text with mixed digit styles — normalize all digits to ASCII and add a Latin transliteration column. The file is up to 5,000 rows.","exampleUseCases":[{"title":"CRM contact list normalization","prompt":"I have a CSV of Iranian customer contacts called clients.csv with mixed Persian and Arabic characters and inconsistent digit formats. Can you normalize everything to standard Persian text with ASCII digits and add a transliteration column so our English-speaking team can read the names?"},{"title":"E-commerce product catalog cleanup","prompt":"My products.tsv file has about 3,000 rows of Farsi product descriptions scraped from multiple sources — the encoding is all over the place. Please clean it up so the Persian text is normalized, and keep the digits in Persian format."},{"title":"Survey data preprocessing for NLP","prompt":"I need to preprocess a text file of Farsi survey responses before feeding it into a model — it's under 5,000 rows. Normalize the Persian/Arabic text and convert any Arabic-Indic digits to ASCII, but don't add transliteration. The file is called survey_responses.txt."}],"resultDescription":"A JSON object containing: a base64-encoded cleaned output file, an output filename (e.g. contacts.cleaned.csv), a download URL path, a unique job ID, the number of rows and columns processed, how many rows were changed, the digit normalization mode applied, whether transliteration was added, and the pricing tier confirmation ($25, up to 5,000 rows).","failureModes":["File exceeds 5 MB decoded size limit — request rejected with size error","Unsupported file extension (not .csv, .tsv, .txt, or .md) — format error returned","Invalid base64 encoding in content_b64 — decoding error","File has more than 5,000 rows — tier mismatch error (use higher tier)","Payment not completed or insufficient USDC balance — 402 Payment Required","Malformed options JSON — invalid parameter error"],"whenToPreferThis":"Choose this endpoint when you need to clean a single Persian/Arabic data file with up to 5,000 rows at a predictable flat price ($25). It is ideal when you want a fixed-cost, no-subscription approach with optional Latin transliteration output and digit normalization control. Prefer the lower-tier endpoints (cleanup-500 at $0.90 or cleanup-1000 at $9) for smaller files to save cost. Use this tier when your file is between roughly 1,001 and 5,000 rows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:30:24.927Z","isFirstParty":false,"canonicalSlug":"farsi-tools-persian-arabic-data-cleanup-5000-row-tier-af349a98"}