Translate Text
PythonCommunicationPOST api.upapi.io/translate-text.getTranslate 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
| Field | Type | Description |
|---|---|---|
textreq | string | Text to translate (<=500 chars) |
source | string | Source language code (or 'auto')· default: "auto" |
targetreq | string | Target language code (e.g. en, fr, de, ja, es) |
Response schema
| Field | Type | Description |
|---|---|---|
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.
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.