cURL
curl --request POST \ --url https://api.qtzl.ai/translate \ --header 'Content-Type: application/json' \ --header 'api-key: <api-key>' \ --data ' { "content": "<string>", "target": "<string>", "format": "text" } '
{ "result": "ok", "message": "Translated successfully", "translation": "<string>" }
Translates text or HTML content to a specified target language
API key authentication. You can obtain your API key by registering on your project dashboard.
The content to be translated
The target language code for translation (e.g., 'es', 'fr', 'de')
The format of the content to be translated
text
html
Content successfully translated
"ok"
"Translated successfully"
The translated content