{"uid":"cap_MojVCukgSLtBupX1dujOi","slug":"x402-arabic-api-dialect-to-msa-converter-163aaf10","name":"x402 Arabic API – Dialect-to-MSA Converter","description":"Arabic-native, Gulf-dialect aware Arabic API for agents: Arabic<->English translation (optional Web3 glossary), Arabic summarization, Saudi/Gulf dialect<->MSA conversion and i18n JSON localization. Keeps 0x addresses, numbers, URLs and code verbatim. Paid per request with x402 (USDC). Lost response: resend the IDENTICAL payment header to the same endpoint within 1 hour to get the same stored response (200, no second charge); any other payment reuse returns 409.","url":"https://arabic-x402-api-base.motaz-crypto.workers.dev/dialect-to-msa?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","maxLength":4000,"minLength":1,"description":"Arabic text: Saudi/Gulf dialect (dialect-msa) or MSA (msa-dialect)."},"dialect":{"enum":["saudi","gulf"],"type":"string","default":"saudi","description":"Dialect of the input (dialect-msa) or target (msa-dialect)."},"direction":{"enum":["dialect-msa","msa-dialect"],"type":"string","default":"dialect-msa","description":"dialect-msa: Saudi/Gulf dialect -> فصحى. msa-dialect: فصحى -> natural Saudi/Gulf dialect."}}},"responseSchema":{"type":"json","example":{"text":"ما رأيك أن نذهب غدًا الساعة 5؟ أريد أن أرى المحفظة الجديدة.","model":"@cf/qwen/qwen3-30b-a3b-fp8","checks":{"retried":false,"verbatim":{"ok":true,"urls":[],"numbers":[],"addresses":[]}},"dialect":"saudi","direction":"dialect-msa"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_isNFVtWOXKkAJdu8Baw1n","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts Arabic text between Saudi/Gulf dialect and Modern Standard Arabic (MSA), preserving numbers, URLs, addresses, and code verbatim, paid per request via x402 USDC.","exampleAgentPrompt":"Convert this Saudi dialect text to Modern Standard Arabic, making sure any numbers and URLs stay exactly as-is: 'وين تبي تروح بكرة؟ أبي أشوف المحفظة الجديدة على https://example.com'","exampleUseCases":[{"title":"Formal document normalization from Saudi dialect","prompt":"I have this informal Saudi Arabic WhatsApp message and need it converted to proper Modern Standard Arabic for an official report — keep any numbers and links unchanged: 'الشركة ودّت تعلن عن الاجتماع الساعة 3 على هذا الرابط https://meet.example.com'"},{"title":"Gulf dialect chatbot response generation","prompt":"I'm building a chatbot for Gulf Arabic users — take this MSA Arabic sentence and convert it to natural Saudi dialect so it sounds friendly and local: 'يسعدنا إبلاغك بأن طلبك قد تمت معالجته بنجاح.'"},{"title":"Content localization from MSA to Gulf dialect","prompt":"Convert this formal Arabic product description to natural Gulf dialect targeting Saudi users — the text is: 'يتميز هذا المنتج بجودة عالية وسعر مناسب.' Use saudi dialect as the target."}],"resultDescription":"A JSON object containing the converted Arabic text, the AI model used (Qwen3-30B), the dialect and direction used, and a verbatim-preservation check confirming that any URLs, numbers, and blockchain addresses in the input were left unchanged in the output.","failureModes":["Payment not included or invalid x402 header → 402 Payment Required","Reusing a payment header for a different request body/endpoint → 409 Conflict","Text exceeds 4000 characters → validation error","Invalid dialect enum value (not 'saudi' or 'gulf') → 400 Bad Request","Invalid direction enum value → 400 Bad Request","Empty or missing text field → 400 Bad Request","Lost response recovery: resending identical payment header within 1 hour returns cached 200 with no second charge; after 1 hour the stored response may no longer be available"],"whenToPreferThis":"Choose this endpoint when you specifically need bidirectional conversion between Saudi/Gulf Arabic dialect and Modern Standard Arabic, especially when verbatim preservation of numbers, URLs, crypto addresses, and code snippets is critical. Prefer it over general Arabic NLP APIs when the Gulf dialect specificity matters, or when building Gulf-region chatbots, localization pipelines, or formal document normalization workflows that require pay-per-use micro-payment billing via x402.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-02T18:32:55.608Z","isFirstParty":false,"canonicalSlug":"x402-arabic-api-dialect-to-msa-converter-163aaf10"}