ProductsTranslation API

Translation API

Translate text between more than 100 languages with neural machine translation (NMT) or the Translation LLM.

500,000 characters of NMT translation free every month

Features

Translation that fits your workload

The Translation API dynamically translates text using Neural Machine Translation (NMT) for speed and broad language coverage, or the Translation LLM for more fluent, natural results. It is compatible with the Google Cloud Translation v2 and v3 REST interfaces.

Neural Machine Translation

Fast, consistent translations with the broadest language coverage, built for high-volume workloads.

Translation LLM

More fluent, natural-sounding translations for marketing copy, help articles and other text where tone matters.

Automatic language detection

Leave out the source language and the API detects it, or call the detect endpoint on its own.

HTML support

Translate HTML content while keeping its tags and structure intact.

Batch requests

Send many strings in a single request to cut round trips and keep related text together.

100+ languages

Translate between more than 100 languages, from Afrikaans to Zulu.

Use cases

Where teams use the Translation API

Website and app localization

Ship interfaces, help centers and release notes in the language of every market.

User-generated content

Make reviews, comments and community posts readable for every user.

E-commerce catalogs

Translate product titles, descriptions and attributes across thousands of listings.

Customer support

Answer tickets and chats in your customers' language while agents work in theirs.

Quickstart

Translate your first sentence

Create an API key in the Vionex Console, then call the API from any language.

Base URL https://api.vionexlimited.com
Authentication X-Api-Key: YOUR_API_KEY header or ?key=YOUR_API_KEY
Compatible with Google Cloud Translation v2 and v3 REST
  1. Translate text (v2)

    Send one or more strings in q and a target language. Leave out source to detect it automatically.

    Prefer a query parameter? POST https://api.vionexlimited.com/language/translate/v2?key=YOUR_API_KEY works too.

    curl -X POST "https://api.vionexlimited.com/language/translate/v2" \
      -H "X-Api-Key: YOUR_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{"q": ["Hello, world"], "target": "zh-CN"}'
    
    Response
    {
      "data": {
        "translations": [
          {
            "translatedText": "你好,世界",
            "detectedSourceLanguage": "en"
          }
        ]
      }
    }
    
  2. Use the Translation LLM (v3)

    The v3-compatible endpoint takes contents and a targetLanguageCode. Set model to general/translation-llm to use the Translation LLM.

    curl -X POST "https://api.vionexlimited.com/v3/projects/YOUR_PROJECT_ID:translateText" \
      -H "X-Api-Key: YOUR_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{
        "contents": ["Hello"],
        "targetLanguageCode": "ja",
        "model": "general/translation-llm"
      }'
    
  3. Detect the language

    Send text to /language/translate/v2/detect to identify its language.

    curl -X POST "https://api.vionexlimited.com/language/translate/v2/detect" \
      -H "X-Api-Key: YOUR_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{"q": ["Bonjour tout le monde"]}'
    

API endpoints

Translation API endpoints
MethodEndpointDescription
POST/language/translate/v2Translate text (Cloud Translation v2 compatible)
POST/language/translate/v2/detectDetect the language of text
POST/v3/projects/{project}:translateTextTranslate text with NMT or the Translation LLM (Cloud Translation v3 compatible)

Languages

133 supported languages

Use these codes for the source and target languages of your requests.

Show all 133 languages and codes
  • Afrikaansaf
  • Albaniansq
  • Amharicam
  • Arabicar
  • Armenianhy
  • Assameseas
  • Aymaraay
  • Azerbaijaniaz
  • Bambarabm
  • Basqueeu
  • Belarusianbe
  • Bengalibn
  • Bhojpuribho
  • Bosnianbs
  • Bulgarianbg
  • Catalanca
  • Cebuanoceb
  • Chinese (Simplified)zh-CN
  • Chinese (Traditional)zh-TW
  • Corsicanco
  • Croatianhr
  • Czechcs
  • Danishda
  • Dhivehidv
  • Dogridoi
  • Dutchnl
  • Englishen
  • Esperantoeo
  • Estonianet
  • Eweee
  • Filipino (Tagalog)fil
  • Finnishfi
  • Frenchfr
  • Frisianfy
  • Galiciangl
  • Georgianka
  • Germande
  • Greekel
  • Guaranign
  • Gujaratigu
  • Haitian Creoleht
  • Hausaha
  • Hawaiianhaw
  • Hebrewhe
  • Hindihi
  • Hmonghmn
  • Hungarianhu
  • Icelandicis
  • Igboig
  • Ilocanoilo
  • Indonesianid
  • Irishga
  • Italianit
  • Japaneseja
  • Javanesejv
  • Kannadakn
  • Kazakhkk
  • Khmerkm
  • Kinyarwandarw
  • Konkanigom
  • Koreanko
  • Kriokri
  • Kurdish (Kurmanji)ku
  • Kurdish (Sorani)ckb
  • Kyrgyzky
  • Laolo
  • Latinla
  • Latvianlv
  • Lingalaln
  • Lithuanianlt
  • Lugandalg
  • Luxembourgishlb
  • Macedonianmk
  • Maithilimai
  • Malagasymg
  • Malayms
  • Malayalamml
  • Maltesemt
  • Maorimi
  • Marathimr
  • Meiteilon (Manipuri)mni-Mtei
  • Mizolus
  • Mongolianmn
  • Myanmar (Burmese)my
  • Nepaline
  • Norwegianno
  • Nyanja (Chichewa)ny
  • Odia (Oriya)or
  • Oromoom
  • Pashtops
  • Persianfa
  • Polishpl
  • Portuguesept
  • Punjabipa
  • Quechuaqu
  • Romanianro
  • Russianru
  • Samoansm
  • Sanskritsa
  • Scots Gaelicgd
  • Sepedinso
  • Serbiansr
  • Sesothost
  • Shonasn
  • Sindhisd
  • Sinhalasi
  • Slovaksk
  • Sloveniansl
  • Somaliso
  • Spanishes
  • Sundanesesu
  • Swahilisw
  • Swedishsv
  • Tajiktg
  • Tamilta
  • Tatartt
  • Telugute
  • Thaith
  • Tigrinyati
  • Tsongats
  • Turkishtr
  • Turkmentk
  • Twi (Akan)ak
  • Ukrainianuk
  • Urduur
  • Uyghurug
  • Uzbekuz
  • Vietnamesevi
  • Welshcy
  • Xhosaxh
  • Yiddishyi
  • Yorubayo
  • Zuluzu

Pricing

Pay per character

Graduated monthly pricing in US dollars.

Translation API prices in USD
Monthly usage Price (USD)
Translation NMT: text translation and language detectionFirst 500,000 characters per month are free
0 – 500,000 characters / month Free
Over 500,000 characters / month $20.00 per 1M characters
Translation LLM: input characters
All usage $10.00 per 1M characters
Translation LLM: output characters
All usage $10.00 per 1M characters

Characters are counted as Unicode code points, including whitespace. Language detection is billed as NMT usage.

Over 1 billion characters per month?

Contact us for volume pricing

Start building with Vionex

Create an account in minutes and pay only for what you use.