Translate Text

PythonCommunication
POST api.upapi.io/translate-text.get

Translate short text (<=500 chars) between language codes via MyMemory Translated. Free tier is 5,000 words/day shared across callers; no auth required.

translatei18nlanguagepython
AuthAPI key
Cost1 unit
Timeout15s
Cache86400s

Request schema

FieldTypeDescription
textreq
stringText to translate (<=500 chars)
source
stringSource language code (or 'auto')· default: "auto"
targetreq
stringTarget language code (e.g. en, fr, de, ja, es)

Response schema

FieldTypeDescription
textreq
string
matchesreq
array
qualityreq
number
fetchedAtreq
string
sourceLangreq
string
targetLangreq
string
translationreq
string

Try it

Try it

Text to translate (<=500 chars)

Target language code (e.g. en, fr, de, ja, es)

Source language code (or 'auto')

Run this endpoint live

Jump in as a guest — no signup — and run translate-text.get with your own inputs. Create a free account anytime to get your own API key.

Sign in

Code examples

curl -X POST https://api.upapi.io/translate-text.get \
  -H 'Content-Type: application/json' \
  -H 'x-api-key: YOUR_API_KEY' \
  -d '{ "text": "Hello, world", "source": "auto", "target": "en" }'

Developer tools

OpenAPI specImport the spec or collection into Postman, Insomnia, or any codegen tool.