{"uid":"cap_tQBZ43LGAh2XTfxyf7uGL","slug":"farsi-tools-persian-arabic-data-cleanup-up-to-500-rows-9-c7f36a16","name":"farsi-tools Persian/Arabic Data Cleanup (up to 500 rows, $9)","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-500?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-500","price":"$9","stats":{"digits":"ascii","rows_changed":2,"transliterated":false},"format":"csv","job_id":"cln_00000000000000000000000000000000","filename":"contacts.csv","max_rows":500,"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":"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":"$9/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"9","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"9","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_txOjDgmRy8pgAJNghN_BY","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"9","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Accepts a base64-encoded CSV/TSV/TXT file of Persian or Arabic text and returns a normalized, cleaned version with optional Latin transliteration column — fixed price $9 for files up to 500 rows.","exampleAgentPrompt":"I have a CSV file of Iranian customer contacts with messy Persian text — mixed digit styles and inconsistent characters. Can you clean it up, normalize all digits to ASCII, and add a Latin transliteration column? The file is called contacts.csv and has up to 300 rows.","exampleUseCases":[{"title":"CRM import normalization for Iranian contacts","prompt":"I've got a CSV called customers.csv with about 200 rows of Persian customer names and addresses — the digits are all over the place between Persian and ASCII and some Arabic characters snuck in. Can you normalize everything to ASCII digits and add a Latin transliteration column so our CRM can handle it?"},{"title":"Farsi product catalog cleanup","prompt":"We exported our product catalog to a file called products.tsv — it's got Farsi descriptions but inconsistent encoding. Please clean up all the Persian/Arabic text, keep the digits as Persian (not ASCII), and give me back a normalized version ready to re-import."},{"title":"Persian survey data standardization","prompt":"I have a text file called survey_responses.txt with up to 400 rows of open-ended Farsi survey answers that need to be normalized before analysis — mixed digit styles and inconsistent characters. Can you clean it up with ASCII digits and no transliteration?"}],"resultDescription":"A JSON object containing the cleaned file as a base64-encoded string (output_b64), a download URL for the job result, a unique job ID, the detected format, row and column counts, the maximum rows for this tier, and processing statistics including how many rows were changed, the digit normalization mode applied, and whether transliteration was performed.","failureModes":["File exceeds 5 MB decoded limit — returns an error rejecting the payload","Unsupported file extension (not .csv, .tsv, .txt, or .md) — format detection fails","Invalid base64 encoding in content_b64 — returns a decode error","File contains more than 500 rows — rejected by this tier, upgrade to higher tier required","Missing required query parameters (filename or content_b64) — returns 400 bad request","Payment not completed or insufficient USDC — returns 402 Payment Required"],"whenToPreferThis":"Choose this endpoint when you have a file of up to 500 rows of Persian or Arabic text data (CSV, TSV, or plain text) that needs batch normalization at a fixed price of $9. Prefer it over per-call normalization APIs when the file size fits the tier and you want predictable flat-rate pricing paid in USDC with no signup. If your file exceeds 500 rows, use the higher-tier cleanup endpoint instead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:34:31.077Z","isFirstParty":false,"canonicalSlug":"farsi-tools-persian-arabic-data-cleanup-up-to-500-rows-9-c7f36a16"}