{"uid":"cap_JnskQvPGpgFHaxyN98SDV","slug":"x402-arabic-api-arabic-english-translation-667eb36b","name":"x402 Arabic API – Arabic↔English Translation","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/translate-ar?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","maxLength":4000,"minLength":1,"description":"Text to translate (Arabic incl. Saudi/Gulf dialect, or English)."},"glossary":{"enum":["web3"],"type":"string","description":"Apply a fixed Arabic Web3 terminology list (wallet, gas, smart contract, staking, bridge, DEX, seed phrase...). Reviewed by Nouf 2026-10-31; 91 terms with accepted Arabic forms."},"direction":{"enum":["auto","ar-en","en-ar"],"type":"string","default":"auto","description":"auto detects from script."}}},"responseSchema":{"type":"json","example":{"model":"@cf/qwen/qwen3-30b-a3b-fp8","checks":{"retried":false,"glossary":"web3","verbatim":{"ok":true,"urls":[],"numbers":[],"addresses":[]},"glossaryMissing":[]},"direction":"en-ar","translation":"أرسل 25 USDC إلى 0x5cb7Cc71c117675ef36102eaed7a5Aa78A29B29a واحتفظ بعبارة الاسترداد دون اتصال بالإنترنت."}},"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_6J0e70huZ9yVjXSGuidWF","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":"Translates text between Arabic (including Saudi/Gulf dialect) and English, with optional Web3 glossary enforcement and verbatim preservation of addresses, numbers, and URLs, billed per-request via x402 USDC micropayments.","exampleAgentPrompt":"Translate this English crypto instruction to Arabic and use the Web3 glossary so terms like 'seed phrase', 'gas', and 'wallet' are rendered correctly: 'Send 25 USDC to 0x5cb7Cc71c117675ef36102eaed7a5Aa78A29B29a and keep your seed phrase offline.'","exampleUseCases":[{"title":"Web3 onboarding content in Arabic","prompt":"Translate this DeFi tutorial paragraph from English to Arabic using the Web3 glossary so terms like 'staking', 'bridge', and 'DEX' use accepted Arabic forms, and make sure the contract address 0xAbCd1234... stays exactly as-is."},{"title":"Saudi dialect customer message triage","prompt":"I have a customer support message written in Saudi Gulf dialect — can you translate it to English so I can understand what they're asking? Here's the text: 'وش الفرق بين المحفظة الباردة والساخنة؟'"},{"title":"Localize app UI strings to Arabic","prompt":"Translate these English UI labels to Arabic for our crypto wallet app, keeping any URLs, version numbers, and token symbols verbatim: 'Connect Wallet', 'Gas Fee', 'Confirm Transaction', 'Seed Phrase Backup'."}],"resultDescription":"A JSON object containing the translated text, the detected or specified direction (e.g. 'en-ar'), the model used, a verbatim-preservation check listing any addresses/URLs/numbers found and whether they survived intact, the glossary applied, any glossary terms that were missing coverage, and whether the response was served from a cached retry.","failureModes":["Text exceeds 4000-character limit — request rejected with validation error","Payment header missing or malformed — 402 response requiring x402 USDC payment","Reused payment header for a different request within the window — 409 conflict","Unsupported direction enum value — schema validation error","Ambiguous script that auto-detect cannot resolve — may produce incorrect direction","Glossary terms present in source but not in the 91-term list — reported in glossaryMissing array"],"whenToPreferThis":"Choose this endpoint when you need Arabic↔English translation that is Gulf-dialect-aware, enforces a curated Web3/crypto terminology glossary, and guarantees verbatim pass-through of blockchain addresses, numbers, and URLs. It is the right choice for crypto or DeFi applications targeting Arabic-speaking audiences in the Gulf region, where MSA-only translators would produce unnatural or inconsistent crypto terminology. Prefer it over generic translation APIs when terminology consistency and address integrity are non-negotiable.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-02T18:30:11.004Z","isFirstParty":false,"canonicalSlug":"x402-arabic-api-arabic-english-translation-667eb36b"}