Translation API Docs

Welcome to our translation API! We use the most advanced AI language processing technology to create an API that automatically detects input languages and processes multiple languages translations at the same time. Our API returns the same JSON object with language codes as keys for easy-to-use responses. This allows you to send a result from your API directly as input to this API, no formatting required!


Getting Started

We offer a JavaScript library for quick/easy implementations HERE.


JavaScript API

Load this script in your application or API. Please note this is an asynchronous JavaScript API, so you must await each method in order to see the JSON response.

/translate.js

Once the script is loaded, call the "translate" method (example below)

let translation = await translate('es, ja', jsonObj);

API Methods

The "translate" method returns one large JSON object containing all of your translations with language codes as keys.

let translation = await translate('en, es, ja', jsonObj);

API Limits - per account


Recommended Pricing

Pricing is token based. A token is approximately 4 english characters. The total tokens property in the result will tell you exactly how many tokens were used for the input plus the output. By using a custom/optimized implementation, it costs 12.5% less than Google Translate.

Expenses (100+ languages) - Optimized Translation Accuracy > Google Translate

Expenses - using Google Translate

Expenses (200+ languages) - Extreme Translation Accuracy


Translation Accuracy

You can measure translation accuracy using the BLEU (bilingual evaluation understudy) score algorithm. The BLEU score was created in 2002, scores range from 0-1. A score of 1 is a perfect translation, which never happens. Even human translators can only reach 0.6-0.7 points. At the time, the best translation system scored about 0.25 points. For comparision, Google translate scores up to a max of 0.53 and varies greatly depending on the language (Google Translate)

In our limited testing, we achieved up to a BLEU score of 0.68 points, almost on par with some of the best human translators!

We highly recommend running your own tests and reviewing your results with a translator to determine if the translations are suitable for your language and use case as it would be prohibitively expensive to run every test on every language to accurately access each language translation.


Supported Languages

  1. Afrikaans (af)
  2. Albanian (sq)
  3. Amharic (am)
  4. Arabic (ar)
  5. Armenian (hy)
  6. Azerbaijani (az)
  7. Basque (eu)
  8. Belarusian (be)
  9. Bengali (bn)
  10. Bosnian (bs)
  11. Bulgarian (bg)
  12. Burmese (my)
  13. Catalan (ca)
  14. Cebuano (ceb)
  15. Chinese (Simplified) (zh)
  16. Chinese (Traditional) (zh-TW)
  17. Croatian (hr)
  18. Czech (cs)
  19. Danish (da)
  20. Dutch (nl)
  21. English (en)
  22. Esperanto (eo)
  23. Estonian (et)
  24. Filipino (fil)
  25. Finnish (fi)
  26. French (fr)
  27. Galician (gl)
  28. Georgian (ka)
  29. German (de)
  30. Greek (el)
  31. Gujarati (gu)
  32. Haitian Creole (ht)
  33. Hausa (ha)
  34. Hebrew (he)
  35. Hindi (hi)
  36. Hmong (hmn)
  37. Hungarian (hu)
  38. Icelandic (is)
  39. Igbo (ig)
  40. Indonesian (id)
  41. Irish (ga)
  42. Italian (it)
  43. Japanese (ja)
  44. Javanese (jv)
  45. Kannada (kn)
  46. Kazakh (kk)
  47. Khmer (km)
  48. Kinyarwanda (rw)
  49. Korean (ko)
  50. Kurdish (ku)
  51. Kyrgyz (ky)
  52. Lao (lo)
  53. Latin (la)
  54. Latvian (lv)
  55. Lithuanian (lt)
  56. Luxembourgish (lb)
  57. Macedonian (mk)
  58. Malagasy (mg)
  59. Malay (ms)
  60. Malayalam (ml)
  61. Maltese (mt)
  62. Maori (mi)
  63. Marathi (mr)
  64. Mongolian (mn)
  65. Nepali (ne)
  66. Norwegian (no)
  67. Nyanja (ny)
  68. Odia (or)
  69. Pashto (ps)
  70. Persian (fa)
  71. Polish (pl)
  72. Portuguese (pt)
  73. Punjabi (pa)
  74. Romanian (ro)
  75. Russian (ru)
  76. Samoan (sm)
  77. Scots Gaelic (gd)
  78. Serbian (sr)
  79. Sesotho (st)
  80. Shona (sn)
  81. Sindhi (sd)
  82. Sinhala (si)
  83. Slovak (sk)
  84. Slovenian (sl)
  85. Somali (so)
  86. Spanish (es)
  87. Sundanese (su)
  88. Swahili (sw)
  89. Swedish (sv)
  90. Tajik (tg)
  91. Tamil (ta)
  92. Tatar (tt)
  93. Telugu (te)
  94. Thai (th)
  95. Turkish (tr)
  96. Turkmen (tk)
  97. Ukrainian (uk)
  98. Urdu (ur)
  99. Uyghur (ug)
  100. Uzbek (uz)
  101. Vietnamese (vi)
  102. Welsh (cy)
  103. Western Frisian (fy)
  104. Xhosa (xh)
  105. Yiddish (yi)
  106. Yoruba (yo)
  107. Zulu (zu)