{"uid":"cap_5R497VoukdO9JjZnbyK2E","slug":"arabic-pipeline-api-text-normalize-06d5eedd","name":"Arabic Pipeline API – Text Normalize","description":"Nine micro-capabilities for Arabic-language work, sold per call over x402 in USDC on Base. No API key, no account, no subscription for the buyer: the first request returns a 402 payment challenge, the client pays it and retries. Text utilities are pure computation and cost nothing to serve.","url":"https://arabic-pipeline.arabic-pipeline.workers.dev/text/normalize?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"mode":{"enum":["light","search","index"],"type":"string"},"text":{"type":"string","description":"The Arabic text to normalize."}}},"responseSchema":{"type":"json","example":{"mode":"search","text":"مرحبا بالعالم","applied":[],"changed":false,"cost_usd":0.005,"endpoint":"POST /text/normalize","after_chars":12,"before_chars":12}},"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_-k_PKEwR2MIpKxcF0Pveu","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":"Normalizes Arabic text by standardizing diacritics, letter forms, whitespace, and encoding inconsistencies","exampleAgentPrompt":"Can you normalize this Arabic text for me — clean up the letter forms, diacritics, and any encoding quirks: 'مرحبًا بِكُم في العالَمِ العَربِيّ'?","exampleUseCases":[{"title":"Pre-processing Arabic NLP pipeline","prompt":"I have a batch of Arabic customer reviews scraped from different websites and the encoding and diacritics are all over the place — can you normalize this text so it's consistent before I run sentiment analysis: 'هَذَا المُنتَجُ رَائِعٌ جِدًّا وَأَنصَحُ بِهِ'?"},{"title":"Cleaning Arabic social media content","prompt":"I'm building a dataset from Arabic tweets and the text has inconsistent hamza, alef variations, and stray diacritics — please normalize this Arabic string so all letter forms are canonical: 'أنا أُحِبُّ الإبداعَ وَالتَّميُّز في كُلِّ شَيء'"},{"title":"Standardizing Arabic document archive","prompt":"We're archiving old Arabic documents and need consistent text encoding — can you normalize this Arabic passage to a clean standard form: 'إِنَّ اللغةَ العربيةَ مِن أجمَلِ اللُّغَاتِ وَأكثَرِهَا انتِشَارًا'?"}],"resultDescription":"Returns a JSON object containing the normalized Arabic text with standardized letter forms, consistent hamza representation, stripped or unified diacritics, and cleaned whitespace and encoding artifacts, ready for downstream NLP processing or storage.","failureModes":["Empty or missing 'text' field returns an error response","Non-Arabic or mixed-script input may produce unexpected normalization","Payment challenge (HTTP 402) returned on first request — client must pay $0.005 USDC on Base and retry","Network timeout if the Cloudflare Worker is cold-starting","Malformed JSON body returns a 400-level error"],"whenToPreferThis":"Choose this endpoint when you need lightweight, pay-per-use Arabic text normalization with no API key or subscription overhead. Ideal for sporadic or low-volume Arabic NLP preprocessing tasks where setting up a full NLP library or managed service is overkill. Best suited for agents that already support x402 micropayment flows on Base and need a stateless, pure-computation text cleaning step.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-02T00:33:44.198Z","isFirstParty":false,"canonicalSlug":"arabic-pipeline-api-text-normalize-06d5eedd"}