{"uid":"cap_C9khbtK7OtaUyPO8zx23O","slug":"farsi-tools-persian-arabic-data-cleanup-50-row-tier-6f24dc5d","name":"farsi-tools Persian/Arabic Data Cleanup (50-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-50?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-50","price":"$0.90","stats":{"digits":"ascii","rows_changed":2,"transliterated":false},"format":"csv","job_id":"cln_00000000000000000000000000000000","filename":"contacts.csv","max_rows":50,"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":"0.9","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.9/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.9","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.9","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_XcyTGdxP149ItKZ9eFug0","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.9","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Normalizes a Persian/Arabic CSV, TSV, or text file (up to 50 rows) — fixing text, digits, and encoding — and returns the cleaned file base64-encoded with optional Latin transliteration, for a flat $0.90 USDC fee.","exampleAgentPrompt":"Clean up my Persian contacts file — it's a CSV called contacts.csv, I'll give you the base64 content — normalize all digits to ASCII and add a Latin transliteration column alongside the Farsi text.","exampleUseCases":[{"title":"CRM Persian contact list cleanup","prompt":"I have a CSV of Iranian customer contacts with messy Persian text and mixed digit formats — can you clean it up, standardize digits to ASCII, and add a transliterated Latin column? The file is contacts.csv and here's the base64 content."},{"title":"Farsi product catalog normalization","prompt":"My product catalog TSV has Persian descriptions with inconsistent Arabic/Persian characters and digits — please normalize everything and give me back a clean file. It's products.tsv, up to 50 rows, digits should be ASCII."},{"title":"Persian survey data standardization","prompt":"I exported survey responses from Iranian respondents as a text file — the Farsi text needs normalizing and I'd like the digits converted to ASCII. File is survey_responses.txt, here's the base64-encoded content, no transliteration needed."}],"resultDescription":"A JSON object containing the cleaned file as a base64-encoded string (output_b64), a download URL for the job, the job ID, output filename (e.g. contacts.cleaned.csv), format detected, number of rows/columns processed, rows changed, digit normalization mode applied, whether transliteration was performed, and the tier/price metadata.","failureModes":["File exceeds 50-row limit — returns error indicating row count exceeded for this tier","File size exceeds 5 MB decoded limit — rejected before processing","Unsupported file extension — only .csv, .tsv, .txt, .md are accepted","Invalid base64 encoding in content_b64 — parse error returned","Missing required query parameters (filename or content_b64) — 400 error","Payment not received or USDC balance insufficient — 402 payment required response"],"whenToPreferThis":"Choose this endpoint when you have a small Persian/Arabic structured data file (≤50 rows) that needs text normalization, digit standardization, or Latin transliteration in a single flat-fee call. It is ideal for one-off or low-volume data cleaning tasks where you want predictable $0.90 pricing without API key setup. For larger files, use the higher-tier cleanup endpoints ($9 or $25 tiers) from the same service.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:35:55.217Z","isFirstParty":false,"canonicalSlug":"farsi-tools-persian-arabic-data-cleanup-50-row-tier-6f24dc5d"}